2024-04-25 22:31:28 发布
网友
如何从自建的软件包(轮子,鸡蛋,焦油gzetc)本地/或在另一个python包中的artifactory中?(代码片段可能会有帮助)
要求- 有一个开发的Python包abc.whl公司位于本地intranet存储库中,另一个文件位于第二个python project/xyz中/定义py需要从包导入模块abc.whl公司在
使用7-Zip将.egg/.tar提取到*python_installation_path*\Lib\site-packages
.egg/.tar
*python_installation_path*\Lib\site-packages
我想你得先安装车轮组件。在
pip install C:/some-dir/some-package.whl
如果你需要进口,你可以做
所以在你的情况下
pip install abc.whl import abc
使用7-Zip将
.egg/.tar
提取到*python_installation_path*\Lib\site-packages
我想你得先安装车轮组件。在
如果你需要进口,你可以做
^{pr2}$所以在你的情况下
相关问题 更多 >
编程相关推荐