Created
August 17, 2023 21:56
-
-
Save dacarlin/bac823ef62aef6d3df7261ad8dd6d76a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> pip install -e . (biotite-dev) | |
Obtaining file:///Users/alex/Documents/biotite | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... error | |
ERROR: Command errored out with exit status 1: | |
command: /Users/alex/Documents/software/miniconda3/envs/biotite-dev/bin/python /Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/tmp17py970l | |
cwd: /Users/alex/Documents/biotite | |
Complete output (98 lines): | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
if num < 10**length: | |
# Normal decimal representation | |
return str(num) | |
# Subtract the amount of values | |
# represented by decimal representation | |
num -= 10**length | |
^ | |
------------------------------------------------------------ | |
src/biotite/structure/io/pdb/hybrid36.pyx:53:4: Cannot assign type 'double' to 'int' | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
# 10**4 have been suubtracted previously -> num = 0 | |
# But first hybrid-36 string is 'A000' | |
# 'A000' in base-36 is 10 * 36**3 | |
# Hence 10 * 36**3 is added to the num | |
# to transform 10000 to 'A000' | |
num += 10 * 36**(length-1) | |
^ | |
------------------------------------------------------------ | |
src/biotite/structure/io/pdb/hybrid36.pyx:63:8: Cannot assign type 'double' to 'int' | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
# to transform 10000 to 'A000' | |
num += 10 * 36**(length-1) | |
return _encode_base36(num, length, _ASCII_FIRST_LETTER_UPPER) | |
# Subtract the amount of values | |
# represented by upper case hybrid-36 representation | |
num -= 26 * 36**(length-1) | |
^ | |
------------------------------------------------------------ | |
src/biotite/structure/io/pdb/hybrid36.pyx:67:4: Cannot assign type 'double' to 'int' | |
Error compiling Cython file: | |
------------------------------------------------------------ | |
... | |
# Subtract the amount of values | |
# represented by upper case hybrid-36 representation | |
num -= 26 * 36**(length-1) | |
if num < 26 * 36**(length-1): | |
# Lower case hybrid-36 representation | |
num += 10 * 36**(length-1) | |
^ | |
------------------------------------------------------------ | |
src/biotite/structure/io/pdb/hybrid36.pyx:70:8: Cannot assign type 'double' to 'int' | |
Compiling src/biotite/sequence/align/banded.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/kmeralphabet.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/kmersimilarity.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/kmertable.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/localgapped.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/localungapped.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/multiple.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/pairwise.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/align/tracetable.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/codec.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/phylo/nj.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/phylo/tree.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/sequence/phylo/upgma.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/bonds.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/celllist.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/charges.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/io/mmtf/convertarray.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/io/mmtf/convertfile.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/io/mmtf/decode.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/io/mmtf/encode.pyx because it depends on /private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Includes/cpython/type.pxd. | |
Compiling src/biotite/structure/io/pdb/hybrid36.pyx because it changed. | |
Compiling src/biotite/structure/sasa.pyx because it changed. | |
[ 1/22] Cythonizing src/biotite/structure/io/pdb/hybrid36.pyx | |
Traceback (most recent call last): | |
File "/Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module> | |
main() | |
File "/Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main | |
json_out['return_val'] = hook(**hook_input['kwargs']) | |
File "/Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 117, in get_requires_for_build_wheel | |
return hook(config_settings) | |
File "/private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel | |
return self._get_build_requires(config_settings, requirements=['wheel']) | |
File "/private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires | |
self.run_setup() | |
File "/private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 341, in run_setup | |
exec(code, locals()) | |
File "<string>", line 35, in <module> | |
File "/private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize | |
cythonize_one(*args) | |
File "/private/var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/pip-build-env-gzt6clxb/overlay/lib/python3.9/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one | |
raise CompileError(None, pyx_file) | |
Cython.Compiler.Errors.CompileError: src/biotite/structure/io/pdb/hybrid36.pyx | |
---------------------------------------- | |
WARNING: Discarding file:///Users/alex/Documents/biotite. Command errored out with exit status 1: /Users/alex/Documents/software/miniconda3/envs/biotite-dev/bin/python /Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/tmp17py970l Check the logs for full command output. | |
ERROR: Command errored out with exit status 1: /Users/alex/Documents/software/miniconda3/envs/biotite-dev/bin/python /Users/alex/Documents/software/miniconda3/envs/biotite-dev/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/17/bwqs57x94hqfddnbzbhc2gzr0000gn/T/tmp17py970l Check the logs for full command output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment