Installation error: undefined symbol: PyFPE_jbuf
See original GitHub issueOn an up to date Centos 7 installation, I can’t do anything to make this error go away. I understand that it shouldn’t effect our ability to run the software, but the error remains.
[root@slurm-01 cutadapt-1.9.1]# find . -name "*.pyc" -exec rm -rf {} \;
[root@slurm-01 cutadapt-1.9.1]#
[root@slurm-01 cutadapt-1.9.1]# /usr/bin/python2.7 setup.py build_ext -i
running build_ext
[root@slurm-01 cutadapt-1.9.1]# bin/cutadapt --help
ERROR: A required extension module could not be imported because it is
incompatible with your system. A quick fix is to recompile the extension
modules with the following command:
/usr/bin/python setup.py build_ext -i
See the documentation for alternative ways of installing the program.
The original error message follows.
Traceback (most recent call last):
File "bin/cutadapt", line 9, in <module>
from cutadapt.scripts import cutadapt
File "/config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/scripts/cutadapt.py", line 62, in <module>
check_importability()
File "/config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/__init__.py", line 9, in check_importability
import cutadapt._align
ImportError: /config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/_align.so: undefined symbol: PyFPE_jbuf
[root@slurm-01 cutadapt-1.9.1]# python2.7 bin/cutadapt --help
ERROR: A required extension module could not be imported because it is
incompatible with your system. A quick fix is to recompile the extension
modules with the following command:
/usr/bin/python2.7 setup.py build_ext -i
See the documentation for alternative ways of installing the program.
The original error message follows.
Traceback (most recent call last):
File "bin/cutadapt", line 9, in <module>
from cutadapt.scripts import cutadapt
File "/config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/scripts/cutadapt.py", line 62, in <module>
check_importability()
File "/config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/__init__.py", line 9, in check_importability
import cutadapt._align
ImportError: /config/binaries/cutadapt/cutadapt-1.9.1/cutadapt/_align.so: undefined symbol: PyFPE_jbuf
[root@slurm-01 cutadapt-1.9.1]#
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
numpy undefined symbol: PyFPE_jbuf - python - Stack Overflow
7 environment I went to install a particular package Ta-lib via pip, but then had this same Question's import error relating to numpy...
Read more >undefined symbol: PyFPE_jbuf #7542 - scikit-learn ... - GitHub
I uninstalled numpy and scipy and then reinstalled from conda-forge however I'm still getting this error. numpy.__path__ gives the conda path.
Read more >crm print undefined symbol: PyFPE_jbuf | Support - SUSE
After installing the recent updates, crm print the following error: ha3:~ # crm status Fatal error: ...
Read more >Ubuntu 17.10 undefined symbol: PyFPE_jbuf - Google Groups
Hello there, I am having fresh Ubuntu 17.10 installation. This is what happens:
Read more >ImportError: rknn/api/rknn_base.cpython-35m-x86_64-linux ...
After I installed rknn toolkit successfully on my PC (ubuntu 18.04 LTS), try to import rknn.api the ... undefined symbol: PyFPE_jbuf.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah! I ended up setting up with
python setup.py install --prefix=
andpython3 setup.py install --prefix=
, then having two modulefiles.The important part in the modulefiles, to avoid this error
is to
setenv PYTHONPATH=$path/lib64/python[x]/site-packages/
and where necessaryset-alias python '/usr/bin/python3'
You can try
pip3 install
instead to get a cutadapt with multi-core support. (Which is only available on Python 3.)