-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare release v2.4.0 #119
Conversation
Harmonize program description with README
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes to the code look good to me. Although I cannot get it to install with pip install like I have been doing previously. The error is coming form the installation of the pyahocorasick import.
Error is: ERROR: Failed building wheel for pyahocorasick
Long error:
ERROR: Command errored out with exit status 1:
command: /home/darian/miniconda3/envs/test_biohansel_3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-eu51szt8 --python-tag cp36
cwd: /tmp/pip-install-0ayjx838/pyahocorasick/
Complete output (9 lines):
running bdist_wheel
running build
running build_ext
building 'ahocorasick' extension
creating build
creating build/temp.linux-x86_64-3.6
gcc -pthread -B /home/darian/miniconda3/envs/test_biohansel_3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DAHOCORASICK_UNICODE= -I/home/darian/miniconda3/envs/test_biohansel_3.6/include/python3.6m -c pyahocorasick.c -o build/temp.linux-x86_64-3.6/pyahocorasick.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyahocorasick
Running setup.py clean for pyahocorasick
Successfully built bio-hansel
Failed to build pyahocorasick
Installing collected packages: numpy, six, python-dateutil, pytz, pandas, pyahocorasick, attrs, bio-hansel
Running setup.py install for pyahocorasick ... error
ERROR: Command errored out with exit status 1:
command: /home/darian/miniconda3/envs/test_biohansel_3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bxq46fsm/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-0ayjx838/pyahocorasick/
Complete output (9 lines):
running install
running build
running build_ext
building 'ahocorasick' extension
creating build
creating build/temp.linux-x86_64-3.6
gcc -pthread -B /home/darian/miniconda3/envs/test_biohansel_3.6/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DAHOCORASICK_UNICODE= -I/home/darian/miniconda3/envs/test_biohansel_3.6/include/python3.6m -c pyahocorasick.c -o build/temp.linux-x86_64-3.6/pyahocorasick.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/darian/miniconda3/envs/test_biohansel_3.6/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0ayjx838/pyahocorasick/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-bxq46fsm/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Same error for both python 3.6 and 3.7.
Let me know if there is a different way that I am now supposed to install it and I'll test it thoroughly again
@DarianHole If you're running Ubuntu, you might need to install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @peterk87, for the advice there. I just set-up a new computer and don't have much in the way of debugging time at the moment.
As for the code, I am now able to run everything and it works as expected!
Thanks @DarianHole for having a look and verifying that things work for you! Time to merge into master and create a new release. |
setup.py
so that project description is rendered properly on PyPI