@IanMcDowell Hi!
I'm getting following troubles although I installed successfully.
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$ pip install numpy
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting numpy
Using cached numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0 MB)
Installing collected packages: numpy
Successfully installed numpy-1.16.6
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$ pip install -r requirements2.txt
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting cython
Using cached Cython-0.29.23-cp27-cp27mu-manylinux1_x86_64.whl (1.9 MB)
Collecting matplotlib
Using cached matplotlib-2.2.5-cp27-cp27mu-manylinux1_x86_64.whl (12.8 MB)
Requirement already satisfied: numpy in /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages (from -r requirements2.txt (line 3)) (1.16.6)
Collecting pandas
Using cached pandas-0.24.2-cp27-cp27mu-manylinux1_x86_64.whl (10.1 MB)
Collecting scipy==0.16
Using cached scipy-0.16.0-cp27-cp27mu-manylinux1_x86_64.whl (38.2 MB)
Processing /home2/ymwang/.cache/pip/wheels/92/41/c1/46aa0ff43ae6274c41ffea0abc81426980f263d53d30fbc7b9/sklearn-0.0-py2.py3-none-any.whl
Collecting GPy==0.8.8
Using cached GPy-0.8.8.tar.gz (1.2 MB)
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl (93 kB)
Collecting six>=1.10
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting subprocess32
Using cached subprocess32-3.5.4-cp27-cp27mu-manylinux2014_x86_64.whl (69 kB)
Collecting backports.functools-lru-cache
Using cached backports.functools_lru_cache-1.6.4-py2.py3-none-any.whl (5.9 kB)
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting python-dateutil>=2.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting scikit-learn
Using cached scikit_learn-0.20.4-cp27-cp27mu-manylinux1_x86_64.whl (5.5 MB)
Requirement already satisfied: setuptools in /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages (from kiwisolver>=1.0.1->matplotlib->-r requirements2.txt (line 2)) (44.0.0.post20200102)
Building wheels for collected packages: GPy
Building wheel for GPy (setup.py) ... done
Created wheel for GPy: filename=GPy-0.8.8-cp27-cp27mu-linux_x86_64.whl size=1335378 sha256=3215bb0afa3a527a8d3488f20a1baad7fcb7985be9e98c84a2dcc5fbfb8c8f45
Stored in directory: /home2/ymwang/.cache/pip/wheels/11/de/81/f13efc040e28a215fbd4157afff5b0b812c2dde7f9d88c3d3b
Successfully built GPy
Installing collected packages: cython, six, cycler, kiwisolver, subprocess32, backports.functools-lru-cache, pyparsing, pytz, python-dateutil, matplotlib, pandas, scipy, scikit-learn, sklearn, GPy
Successfully installed GPy-0.8.8 backports.functools-lru-cache-1.6.4 cycler-0.10.0 cython-0.29.23 kiwisolver-1.1.0 matplotlib-2.2.5 pandas-0.24.2 pyparsing-2.4.7 python-dateutil-2.8.1 pytz-2021.1 scikit-learn-0.20.4 scipy-0.16.0 six-1.16.0 sklearn-0.0 subprocess32-3.5.4
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$ python setup.py install
running install
running build
running build_py
running build_ext
skipping 'DP_GP/core.c' Cython extension (up-to-date)
skipping 'DP_GP/cluster_tools.c' Cython extension (up-to-date)
running build_scripts
running install_lib
creating /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
copying build/lib.linux-x86_64-2.7/DP_GP/__init__.py -> /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
copying build/lib.linux-x86_64-2.7/DP_GP/plot.py -> /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
copying build/lib.linux-x86_64-2.7/DP_GP/utils.py -> /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
copying build/lib.linux-x86_64-2.7/DP_GP/core.so -> /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
copying build/lib.linux-x86_64-2.7/DP_GP/cluster_tools.so -> /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP
byte-compiling /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP/__init__.py to __init__.pyc
byte-compiling /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP/plot.py to plot.pyc
byte-compiling /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP/utils.py to utils.pyc
running install_scripts
copying build/scripts-2.7/DP_GP_cluster.py -> /home2/ymwang/miniconda3/envs/DPGP/bin
changing mode of /home2/ymwang/miniconda3/envs/DPGP/bin/DP_GP_cluster.py to 775
running install_egg_info
Writing /home2/ymwang/miniconda3/envs/DPGP/lib/python2.7/site-packages/DP_GP_cluster-0.1-py2.7.egg-info
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$ DP_GP_cluster.py -i test/test.txt -o test/test -p png -n 20 --plot
Traceback (most recent call last):
File "/home2/ymwang/miniconda3/envs/DPGP/bin/DP_GP_cluster.py", line 24, in <module>
from DP_GP import plot
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/DP_GP/plot.py", line 15, in <module>
import GPy
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/__init__.py", line 6, in <module>
from . import core
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/core/__init__.py", line 49, in <module>
from .gp import GP
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/core/gp.py", line 8, in <module>
from .. import likelihoods
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/likelihoods/__init__.py", line 25, in <module>
from .bernoulli import Bernoulli
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/likelihoods/bernoulli.py", line 5, in <module>
from ..util.univariate_Gaussian import std_norm_pdf, std_norm_cdf, derivLogCdfNormal, logCdfNormal
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/util/__init__.py", line 15, in <module>
from . import mocap
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/util/mocap.py", line 718, in <module>
skel = acclaim_skeleton()
File "/home2/ymwang/miniconda3/envs/DP_GP_cluster/lib/python2.7/site-packages/GPy/util/mocap.py", line 206, in __init__
super(acclaim_skeleton, self).__init__()
TypeError: super() argument 1 must be type, not classobj
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$
(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$ cat requirements2.txt
cython
matplotlib
numpy
pandas
scipy==0.16
sklearn
GPy==0.8.8(DPGP) [ymwang @ ~/linqin/SourceCode/DP_GP_cluster]$
@IanMcDowell Hi! I'm getting following troubles although I installed successfully.
Best, Ci