cost 386 ms
为什么 pip install 不下载在 setup.py 中定义的依赖包? - why pip install do not download the depended package which be defind in setup.py?

我的python项目是由setuptools打包的,这是我的setup.opt: 我在install_requires 中定义了依赖包,我想当我通过 setuptools 打包我的项目然后通过 pip install 安装包时,依赖包将自动下载,但它没有,为什么以及install_require ...

与 pip 一起安装时, install_requires 中列出的软件包将被忽略 - Packages listed in install_requires ignored when installed with pip

它可能在某个地方被问过并回答过,但我搜索了很多,但我没有找到在哪里。 如有重复请见谅。 我有一个依赖 pyyaml 的项目( https://github.com/PyFPGA/openflow ): 使用pip3 install -e. pyyaml 未安装。 可以通过以下方式验证: 它在我的计 ...

Python setup.py 克隆子文件夹并将其用作源代码 - Python setup.py clone the subfolder and use it as source code

Python 项目大量使用来自另一个存储库的公共声明。 如何将此类文件夹正确集成到自己的存储库中,而不将其本身复制到当前项目中? 在setuptools.setup中有一个像install_requires这样的字段。 我尝试了下一个选项: 但它不起作用,因为common文件夹不包含任何setup ...

当一个包指定一个范围而另一个没有指定范围时,依赖项解析如何与 pip 一起使用? - How does the dependency resolution works with pip when a package specify a range and another doesn't?

我有一个只有 2 个依赖项的 requirements.txt: 我检查了两个包的 setup.py 并且都依赖于 urllib3: 请求提供了一个不接受 1.25 的范围 sentry-sdk 没有指定特定的版本或范围 最近发布了新版本的 urllib3 (1.25),当我使用 p ...

重写cmdclass时忽略python setuptools install_requires - python setuptools install_requires is ignored when overriding cmdclass

我有一个看起来像这样的setup.py : 我需要MyInstall因为我想从github安装一些库,我不想使用dependency_links选项,因为它不鼓励(例如这里 ),所以我可以用requirements.txt来做。 当我用pip安装这个软件包时,一切都运行正常,但由于 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM