Code Monkey home page Code Monkey logo

Comments (13)

durden avatar durden commented on July 20, 2024

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.

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

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.

Is there any solution?
I also found that several of the library packages had problems
image
image

image

image
image
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

from pip2pi.

durden avatar durden commented on July 20, 2024

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?

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

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?

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

from pip2pi.

durden avatar durden commented on July 20, 2024

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.

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

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.

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".
image
image
Now I am looking at the command "dir2pi"
image

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

image

from pip2pi.

tikank avatar tikank commented on July 20, 2024

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.

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

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?
image

from pip2pi.

tikank avatar tikank commented on July 20, 2024

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.

from pip2pi.

anlianglu avatar anlianglu commented on July 20, 2024

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

image
image

from pip2pi.

tysonclugg avatar tysonclugg commented on July 20, 2024

I'm sure I downloaded it locally

The evidence I'm seeing suggests you didn't download the file correctly:
image

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.

from pip2pi.

liupeng0518 avatar liupeng0518 commented on July 20, 2024

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

from pip2pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.