pip2pi
pip2pi copied to clipboard
I install scikit-learn==0.19.1 error report, other no problem
I'm sure I downloaded it locally
I did not report an error when I installed the other packages
How should I solve this problem
thank you
I'm seeing the same issue using an older version of scikit-image, 0.14.2, so guessing it's not specific to a version or package.
It it possible this has something to do with the fact that the import name of scikit-image is skimage
and doesn't match the filename like scikit-image
? No clue if that matters, but it's the only thing that I can think of at the moment that is weird about scikit image although there are other packages that do the same thing like tables
and pytables
, etc.
I'm seeing the same issue using an older version of scikit-image, 0.14.2, so guessing it's not specific to a version or package.
It it possible this has something to do with the fact that the import name of scikit-image is
skimage
and doesn't match the filename likescikit-image
? No clue if that matters, but it's the only thing that I can think of at the moment that is weird about scikit image although there are other packages that do the same thing liketables
andpytables
, etc.
Is there any solution?
I also found that several of the library packages had problems
It's ok if I install it with a url
pip install http://pypi.yzh/simple/kafka-python/kafka-python-1.4.3-py2.py3-none-any.whl -i http://10.0.3.11/simple/ --trusted-host 10.0.3.11
Interesting, any chance that it fails for packages that have -
in the name? It looks like the simple/index.html
and simple/scikit-image/index.html
have the correct names (with dashes) but maybe I'm missing something?
Interesting, any chance that it fails for packages that have
-
in the name? It looks like thesimple/index.html
andsimple/scikit-image/index.html
have the correct names (with dashes) but maybe I'm missing something?
I mean more than one package has a problem, I have encountered several, not the version problem, all versions of several packages have not been installed successfully
scikit-learn kafka-python
That makes sense, if my wild theory of things being broken if the package name includes a -
then most likely any version of those packages would fail.
@pacelu Have you seen any package fail that does not have a -
in it?
I've only seen scikit-image
fail in my testing, and you previously mentioned scikit-image
and kafka-python
. So, my strange theory of -
causing the problems holds there, but I'm wondering if there are any packages that don't follow this pattern that are failing.
That makes sense, if my wild theory of things being broken if the package name includes a
-
then most likely any version of those packages would fail.@pacelu Have you seen any package fail that does not have a
-
in it?I've only seen
scikit-image
fail in my testing, and you previously mentionedscikit-image
andkafka-python
. So, my strange theory of-
causing the problems holds there, but I'm wondering if there are any packages that don't follow this pattern that are failing.
yes;I am now sure that there is a problem with index creation;
Now I manually change "kafka-python-1.4.3-py2.py3-none-any.whl" in the index. HTML below simple/kafka-python to "kafka_python-1.4.3-py2.py3-none-any.whl".
Now I am looking at the command "dir2pi"
Could you try and test the latest version pip2pi from master branch?
This seems to be same issue as https://github.com/wolever/pip2pi/issues/76, https://github.com/wolever/pip2pi/issues/84 and https://github.com/wolever/pip2pi/issues/73. And if so, I believe that https://github.com/wolever/pip2pi/pull/85 had fixed this.
Could you try and test the latest version pip2pi from master branch?
This seems to be same issue as #76, #84 and #73. And if so, I believe that #85 had fixed this.
However, there will be an error when I install nvidia-ml-py==7.352.0. Is there a solution?
That is probably something else. I don't know which commands you are running and what gives that error.
I tried commands:
python3 -m venv env
. env/bin/activate
pip install --upgrade pip wheel
pip install git+https://github.com/wolever/pip2pi.git@master
pip2pi packages/ nvidia-ml-py==7.352.0
pip install -i file:///[path to the package dir]/packages/simple/ nvidia-ml-py==7.352.0
And it the package installed without errors.
That is probably something else. I don't know which commands you are running and what gives that error.
I tried commands:
python3 -m venv env . env/bin/activate pip install --upgrade pip wheel pip install git+https://github.com/wolever/pip2pi.git@master pip2pi packages/ nvidia-ml-py==7.352.0 pip install -i file:///[path to the package dir]/packages/simple/ nvidia-ml-py==7.352.0
And it the package installed without errors.
I used the #85 solution,and I went with the HTTP service,There is no problem with going local
I'm sure I downloaded it locally
The evidence I'm seeing suggests you didn't download the file correctly:
I've got no idea how pip2pi is meant to work (is symlinking used?), but it seems this issue might be due to user error.
new version (0.8)fix this, If you use old version(0.7) , you can create whl link with "_"(scikit_learn-xxxxx), then edit index.html