Skip to content
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

Installation error cause of pyGaussDCA #12

Open
hyojin0912 opened this issue Nov 10, 2023 · 4 comments
Open

Installation error cause of pyGaussDCA #12

hyojin0912 opened this issue Nov 10, 2023 · 4 comments

Comments

@hyojin0912
Copy link

Hello, I got these error during installation of pconsc4.
Could anyone can help me?

========Installation info======

pip3 install numpy==1.17.4
pip install --upgrade keras==2.3.1
pip install torch==1.3.0
conda install pytorch==1.3.0
pip install torch_geometric==1.3.2

pip3 install Cython pythran==0.9.5

pip install tensorflow==1.14.0
pip install beniget==0.2.1
pip install gast==0.3.3

pip3 install pconsc4==0.4

Collecting pconsc4==0.4
Using cached pconsc4-0.4-cp37-cp37m-linux_x86_64.whl
Requirement already satisfied: keras in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (2.3.1)
Requirement already satisfied: Cython in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.0.5)
Requirement already satisfied: h5py in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.8.0)
Collecting pyGaussDCA
Using cached pyGaussDCA-1.0.tar.gz (3.8 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: scipy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.7.3)
Requirement already satisfied: numpy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.17.4)
Requirement already satisfied: pyyaml in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (6.0.1)
Requirement already satisfied: keras-applications>=1.0.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.0.8)
Requirement already satisfied: six>=1.9.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.16.0)
Requirement already satisfied: keras-preprocessing>=1.0.5 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.1.2)
Requirement already satisfied: pythran>=0.8.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pyGaussDCA->pconsc4==0.4) (0.9.5)
Requirement already satisfied: gast>=0.3.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.3.3)
Requirement already satisfied: ply>=3.4 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (3.11)
Requirement already satisfied: beniget>=0.2.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.2.1)
Requirement already satisfied: decorator in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (5.1.1)
Requirement already satisfied: networkx>=2 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (2.6.3)
Building wheels for collected packages: pyGaussDCA

error: Command "gcc -pthread -B /mnt/hyojin0912/anaconda3/envs/DGraphDTA/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_BLAS -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/pythran -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/numpy/core/include -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/include/python3.7m -c src/gaussdca/_gdca.cpp -o build/temp.linux-x86_64-cpython-37/src/gaussdca/_gdca.o -std=c++11 -fno-math-errno -w -fvisibility=hidden -fno-wrapv -fopenmp -ftree-vectorize" failed with exit status 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyGaussDCA

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
`

@zj223332
Copy link

zj223332 commented Feb 2, 2024

你好,请问你解决这个问题了吗,我最近也遇到了这个问题

@yuehua-Song666
Copy link

Hello, I got these error during installation of pconsc4. Could anyone can help me?

========Installation info======

pip3 install numpy==1.17.4
pip install --upgrade keras==2.3.1
pip install torch==1.3.0
conda install pytorch==1.3.0
pip install torch_geometric==1.3.2

pip3 install Cython pythran==0.9.5

pip install tensorflow==1.14.0
pip install beniget==0.2.1
pip install gast==0.3.3

pip3 install pconsc4==0.4

Collecting pconsc4==0.4 Using cached pconsc4-0.4-cp37-cp37m-linux_x86_64.whl Requirement already satisfied: keras in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (2.3.1) Requirement already satisfied: Cython in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.0.5) Requirement already satisfied: h5py in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.8.0) Collecting pyGaussDCA Using cached pyGaussDCA-1.0.tar.gz (3.8 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: scipy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.7.3) Requirement already satisfied: numpy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.17.4) Requirement already satisfied: pyyaml in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (6.0.1) Requirement already satisfied: keras-applications>=1.0.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.0.8) Requirement already satisfied: six>=1.9.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.16.0) Requirement already satisfied: keras-preprocessing>=1.0.5 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.1.2) Requirement already satisfied: pythran>=0.8.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pyGaussDCA->pconsc4==0.4) (0.9.5) Requirement already satisfied: gast>=0.3.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.3.3) Requirement already satisfied: ply>=3.4 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (3.11) Requirement already satisfied: beniget>=0.2.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.2.1) Requirement already satisfied: decorator in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (5.1.1) Requirement already satisfied: networkx>=2 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (2.6.3) Building wheels for collected packages: pyGaussDCA

error: Command "gcc -pthread -B /mnt/hyojin0912/anaconda3/envs/DGraphDTA/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_BLAS -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/pythran -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/numpy/core/include -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/include/python3.7m -c src/gaussdca/_gdca.cpp -o build/temp.linux-x86_64-cpython-37/src/gaussdca/_gdca.o -std=c++11 -fno-math-errno -w -fvisibility=hidden -fno-wrapv -fopenmp -ftree-vectorize" failed with exit status 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pyGaussDCA

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. `

Hi, sorry for bothering you. I got the exactly the same isuuse with yours and I wonder if you have found solutions for this environmental issue. Thanks in advance. =)

@zj223332
Copy link

zj223332 commented Jun 22, 2024 via email

@yuehua-Song666
Copy link

这是我当时配环境做的笔记【pconsc4下载-所需环境配置 -  CSDN App】http://t.csdnimg.cn/DkjqF 发自我的iPhone

------------------ Original ------------------ From: yuehua-Song666 @.> Date: Sat,Jun 22,2024 3:13 AM To: ElofssonLab/PconsC4 @.> Cc: zj223332 @.>, Comment @.> Subject: Re: [ElofssonLab/PconsC4] Installation error cause of pyGaussDCA(Issue #12) Hello, I got these error during installation of pconsc4. Could anyone can help me? ========Installation info====== pip3 install numpy==1.17.4 pip install --upgrade keras==2.3.1 pip install torch==1.3.0 conda install pytorch==1.3.0 pip install torch_geometric==1.3.2 pip3 install Cython pythran==0.9.5 pip install tensorflow==1.14.0 pip install beniget==0.2.1 pip install gast==0.3.3 pip3 install pconsc4==0.4 Collecting pconsc4==0.4 Using cached pconsc4-0.4-cp37-cp37m-linux_x86_64.whl Requirement already satisfied: keras in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (2.3.1) Requirement already satisfied: Cython in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.0.5) Requirement already satisfied: h5py in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (3.8.0) Collecting pyGaussDCA Using cached pyGaussDCA-1.0.tar.gz (3.8 MB) Preparing metadata (setup.py) ... done Requirement already satisfied: scipy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.7.3) Requirement already satisfied: numpy in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pconsc4==0.4) (1.17.4) Requirement already satisfied: pyyaml in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (6.0.1) Requirement already satisfied: keras-applications>=1.0.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.0.8) Requirement already satisfied: six>=1.9.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.16.0) Requirement already satisfied: keras-preprocessing>=1.0.5 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from keras->pconsc4==0.4) (1.1.2) Requirement already satisfied: pythran>=0.8.6 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pyGaussDCA->pconsc4==0.4) (0.9.5) Requirement already satisfied: gast>=0.3.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.3.3) Requirement already satisfied: ply>=3.4 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (3.11) Requirement already satisfied: beniget>=0.2.0 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (0.2.1) Requirement already satisfied: decorator in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (5.1.1) Requirement already satisfied: networkx>=2 in ./anaconda3/envs/DGraphDTA/lib/python3.7/site-packages (from pythran>=0.8.6->pyGaussDCA->pconsc4==0.4) (2.6.3) Building wheels for collected packages: pyGaussDCA error: Command "gcc -pthread -B /mnt/hyojin0912/anaconda3/envs/DGraphDTA/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_BLAS -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/pythran -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/lib/python3.7/site-packages/numpy/core/include -I/mnt/hyojin0912/anaconda3/envs/DGraphDTA/include/python3.7m -c src/gaussdca/_gdca.cpp -o build/temp.linux-x86_64-cpython-37/src/gaussdca/_gdca.o -std=c++11 -fno-math-errno -w -fvisibility=hidden -fno-wrapv -fopenmp -ftree-vectorize" failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> pyGaussDCA note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. ` Hi, sorry for bothering you. I got the exactly the same isuuse with yours and I wonder if you have found solutions for this environmental issue. Thanks in advance. =) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

好的好的,太感谢啦,我去试试~ 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants