Skip to content

Installation error cause of pyGaussDCA #12

@hyojin0912

Description

@hyojin0912

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.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions