I am trying to install a dependent package to a separate directory in my existing project as follows:
python -m pip install -t C:\Users\Mahdi\eclipse-workspace\
google-cloud-functions\com\mahdi\python\functions\gcs\dependency com.mahdi.python.file_igestion
but I get below error. Is there anything I am missing?
Could not find a version that satisfies the requirement com.mahdi.pyhton.file_igestion (from versions: )
No matching distribution found for com.mahdi.pyhton.file_igestion
EDIT: per suggestion I could instllpackage by setup.py sdidst and I can see the package installed
C:\Users\Mahdi\eclipse-workspace\google-cloud-functions>python -m pip list
Package Version Location
------------------------ ---------- -------------------------------------------------------
file-ingestion 0.2 c:\users\mahdi\eclipse-workspace\google-cloud-functions
but when I run blow command I still get error
C:\Users\Mahdi\eclipse-workspace\google-cloud-functions\com\mahdi\python\functions\gcs>python -m pip install -t C:\Users\Mahdi\ecli
pse-workspace\google-cloud-functions\com\mahdi\python\functions\gcs\dependency file-ingestion
Collecting file-ingestion
Could not find a version that satisfies the requirement file-ingestion (from versions: )
No matching distribution found for file-ingestion
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
To install a package that you've built locally you would need to use something similar to
pip install mypackage --no-index --find-links file:///srv/pkg/mypackage
You need to have packaged this up using python setup.py sdist
first.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.