pypa / pipfile

Other
3.24k stars 144 forks source link

how to add dependencies from other sources instead of pypi? #173

Closed JimmyJIA-02 closed 1 year ago

JimmyJIA-02 commented 1 year ago

hi there, I 'm trying to download paddlepaddle-gpu 2.5.1.post102. On the pypi page, it says the website provides 2.5.1post102, which is what I want, but when I added this in to pipfile:

[packages]
...
paddlepaddle-gpu = "==2.5.1.post102"

when I pipenv install, error occurred like:

...
pipenv.exceptions.ResolutionFailure: [31m[1mERROR[0m: [33mNo matching distribution found for 
paddlepaddle-gpu==2.5.1.post102[0m
✘ Locking Failed!
...

(too much here, but all indicating can not find such distribution)

BTW, using 2.5.1 instead of adding 2.5.1.post102 in pipfile is okay when locking, but can't be used in my code. I wanna know why this happen, and, if I want to use pipfile, how can I make it correctly download this package?

JimmyJIA-02 commented 1 year ago

solved.