无法将我的包安装到单独的目录中

2024-05-15 20:15:33 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经使用setup.py sdisy分发了我的Python项目,我可以在我的系统中找到我的包:

webcluster4u@ingestion-jenkins-vm:~/google-cloud-functions$ python3 -m pip list
Package                  Version
------------------------ ----------
...
file-ingestion           0.2

现在,当我运行下面的命令时,我得到一个错误:

webcluster4u@ingestion-jenkins-vm:~/google-cloud-functions$ python3 -m pip install -t /home/webcluster4u/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

我不确定我错过了什么。有人能帮我吗

有点奇怪的是,每当我使用上述命令或使用requirement.txt中的文件摄取时,我都会收到上面的消息,说它无法收集包


Tags: pippy命令cloudgooglesetupvmrequirement