PypI registration issue in 2.0
Created by: gcarleo
While everything works smoothly when installing the repository locally, a.k.a.
pip install .
the version registered on PypI has issues.
Part of the issues came from the fact that the binaries I had registered are not compatible with other platforms. I have since removed binaries and kept only source files in the PypI, as obtained doing
python3 setup.py sdist
and registered this on the test PipI envinronment.
Now, in this test PypI envinroment the real problem emerges
python3 -m pip install --index-url https://test.pypi.org/simple/ netket
Looking in indexes: https://test.pypi.org/simple/
Requirement already satisfied: netket in /Users/giuscarl/Works/NetKet/netket (2.0b2)
Collecting cmake (from netket)
Using cached https://test-files.pythonhosted.org/packages/21/3f/14e8756101e8045e341afdc340cf12471843ae9b819e231de01106c59d19/cmake-0.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/g_/_vb4dpb54t13bq0543dd2qg00000gn/T/pip-install-14jd6l_w/cmake/setup.py", line 6, in <module>
from pip.req import parse_requirements
ModuleNotFoundError: No module named 'pip.req'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/g_/_vb4dpb54t13bq0543dd2qg00000gn/T/pip-install-14jd6l_w/cmake/
that I have absolute no idea how to solve.
HELP is very much needed. We might think moving to a conda install (including openmpi) if this fails.