Why is Pipenv failing to found package on pypiserver local repo? - python

I have a pypiserver running locally with one package already deployed. The server is responding on localhost:8080 and i can see and download the package manually.
But every time I try to install the package through pipenv it can't find it :( Any help would be appreciated ;)
$ pipenv install invault --pypi-mirror http://localhost:8080
Installing invault...
Error: An error occurred while installing invault!
Error text: Looking in indexes: http://localhost:8080, http://localhost:8080/simple
ERROR: Could not find a version that satisfies the requirement invault (from versions: none)
ERROR: No matching distribution found for invault
✘ Installation Failed

Related

How to pip install from a private artifactory?

A private artifactory is available. We pushed a Python lib into it using Twine:
/python-XYZ/mylib/version/mylib-version.tar.gz
However, I do not understand how we can get this library using pip install.
I have tried the following (based on this):
pip install mylib==version --index 'https://myuser:mypassword#XYZ-DOMAIN.fr:443/artifactory/api/pypi/python-XYZ/simple
Which gives this:
ERROR: Could not find a version that satisfies the requirement mylib==version (from versions: none)
ERROR: No matching distribution found for mylib==version
The result is the same with the following endpoints:
/artifactory/api/pypi/python-XYZ/mylib/simple
/artifactory/api/pypi/mylib/simple
/artifactory/api/pypi/python-XYZ/simple
Given the location of my library, how can I pip install it ?
After some digging, here is what it should be in my case.
pip install mylib==version --index-url 'https://USERPWD#XYZ-DOMAIN.fr:443/artifactory/api/pypi/python/simple' --trusted-host=XYZ-DOMAIN.fr

Poshmark API - pip install poshmarkapi is not working

When I do:
pip install poshmarkapi
I see below error:
ERROR: Could not find a version that satisfies the requirement poshmarkapi
ERROR: No matching distribution found for poshmarkapi
Note: you may need to restart the kernel to use updated packages.
I tried installing the Poshmark API client for Python using the following command: pip install poshmarkapi.
Can you please let me know how I can resolve this ?
Many thanks
A.T

Getting error while running pip3 install smtp

I was trying to operate a toll but when I was listing all the commands so there is a command I.e. pip3 install smtp
and I got an error I.e.
ERROR: Could not find a version that satisfies the requirement smtp (from versions: none)
ERROR: No matching distribution found for smtp
Can anyone tell me the solution?
There isn't a package called smtp in python package index (PyPI). Maybe you meant to use smtpemail, secure-smtplib or smtplibaio? That, or you're missing a dependency.

can't find my packages from pycharm/heroku

I have deployed a package into https://pypi.org/project/core-lib/0.0.1.dev1/
But pycharm or heroku can't find my package with this error message
Can you help me, please?
Thank you
Pycharm
No matching package version found: 'core-lib==0.0.1.dev1' (required: ==0.0.1.dev1, installed: <nothing>, latest: <nothing>)
heroku deploy
-----> Installing requirements with pip
ERROR: Could not find a version that satisfies the requirement core-lib==0.0.0.8 (from -r /tmp/build_c6b601b1/requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for core-lib==0.0.0.8 (from -r /tmp/build_c6b601b1/requirements.txt (line 1))
! Push rejected, failed to compile Python app.
! Push failed
Installed your package from pypi using PyCharm, and I am able to find it
(randomtesting) C:\Users\User\PycharmProjects\randomtesting>pip list
Package Version
---------------------- -------------------
core-lib 0.0.1.dev1
Perhaps the file was released into pypi very recently?
And I checked the link again, now it has the latest version.
Maybe try this?
pip install core-lib
You've declared that your package must be used under Python >= 3.7. Please make sure you use Python with high enough version. For example, I tried to install the package with Python 2.7 and pip failed to find the project. With Python 3.7 it was installed successfully.

Why isn't my Python package found when I attempt to install it?

I have tried installing the package invasion_PGF but constantly get the error messages:
Could not find a version that satisfies the requirement invasion_PGF (from versions: none)
and
No matching distribution found for invasion_PGF.
I was installing using the command: pip install invasion_PGF in the Anaconda command prompt.
Can someone help me with ideas on how to deal with this?

Categories

Resources