powerfit icon indicating copy to clipboard operation
powerfit copied to clipboard

Installing powerfit in a Centos 8 machine

Open clacri opened this issue 4 years ago • 2 comments

Hi, I am trying to install powerfit into a new centos 8 machine, and after running successfully the install script within a conda environment that I specifically created for this purpose, when trying to execute powerfit, I get the following error:

ImportError: /my/home/anaconda3/envs/emlearning/lib/python3.6/site-packages/powerfit-2.0.0-py3.6-linux-x86_64.egg/powerfit/_extensions.cpython-36m-x86_64-linux-gnu.so: undefined symbol: Py_InitModule

the conda list command is as follows

packages in environment at /..../emlearning:

Name Version Build Channel

_libgcc_mutex 0.1 main
blas 1.0 mkl
ca-certificates 2020.10.14 0
certifi 2020.6.20 pyhd3eb1b0_3
intel-openmp 2020.2 254
ld_impl_linux-64 2.33.1 h53a641e_7
libedit 3.1.20191231 h14c3975_1
libffi 3.3 he6710b0_2
libgcc-ng 9.1.0 hdf63c60_0
libgfortran-ng 7.3.0 hdf63c60_0
libstdcxx-ng 9.1.0 hdf63c60_0
mkl 2020.2 256
mkl-service 2.3.0 py36he904b0f_0
mkl_fft 1.2.0 py36h23d657b_0
mkl_random 1.1.1 py36h0573a6f_0
ncurses 6.2 he6710b0_1
numpy 1.19.2 py36h54aff64_0
numpy-base 1.19.2 py36hfa32c7d_0
openssl 1.1.1h h7b6447c_0
pip 20.2.4 py36h06a4308_0
powerfit 2.0.0 pypi_0 pypi python 3.6.12 hcff3b4d_2
readline 8.0 h7b6447c_0
scipy 1.5.4 pypi_0 pypi setuptools 50.3.1 py36h06a4308_1
six 1.15.0 py_0
sqlite 3.33.0 h62c20be_0
tk 8.6.10 hbc83047_0
wheel 0.35.1 py_0
xz 5.2.5 h7b6447c_0
zlib 1.2.11 h7b6447c_3

It seems it can be a Python 2 / 3 issue related problem, but I am not sure on how to proceed, so I am hoping you can have some useful advice. Please let me know if there is any extra information you need.

clacri avatar Nov 12 '20 17:11 clacri

Python 2/3 issue indeed.

Check the requirements on https://github.com/haddocking/powerfit

So create a python2.7 environment with conda and then install it

amjjbonvin avatar Nov 12 '20 18:11 amjjbonvin

Thank you! Claudia Millán

El jue., 12 nov. 2020 a las 18:41, Alexandre Bonvin (< [email protected]>) escribió:

Python 2/3 issue indeed.

Check the requirements on https://github.com/haddocking/powerfit

So create a python2.7 environment with conda and then install it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haddocking/powerfit/issues/13#issuecomment-726264799, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACTLMBCZ4GXNZWU35PV57HDSPQT6HANCNFSM4TTSC6GA .

clacri avatar Nov 13 '20 13:11 clacri