Comments (13)
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.
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
from pip2pi.
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.
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
from pip2pi.
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.
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"
from pip2pi.
from pip2pi.
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.
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?
from pip2pi.
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.
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
from pip2pi.
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.
from pip2pi.
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)
- Can a .tar.gz source file be published to pypi?
- Fails to install existing package in local package index HOT 1
- Wheels with 5 dashes not split correctly in file_to_package HOT 4
- create a repository for other OSs HOT 3
- pip 19.3 breaks pip2pi 0.8.1 HOT 5
- cgi.escape was removed HOT 2
- Tag 0.8.1 missing
- Error if -r used without target directory
- Use pip compat layer
- Find sdist when project only provides wheels
- Create index.html files instead of autoindexing? HOT 4
- Handling unruly wheel filenames HOT 2
- Add json api output to local server
- module 'cgi' has no attribute 'escape' HOT 4
- dir2pi with folders and subfolders in packages/
- bug: symbol link "../../" on windows is incorrect HOT 1
- Bug on Windows: A required privilege is not held by the client
- oldest supported numpy dependency not downloaded for scikit-bio
- DEPRECATION warning ahead of pip 22.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip2pi.