Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的印象是(使用 setuptools):
python setup.py develop
安装所需的软件包时不会使用轮子(在 install_requires 中指定)。
问题:
我说的是这个特定的设置脚本。
无论出于何种原因,setuptools 根本不会使用轮子。可能的解释是 setuptools 比轮子更老,而且没有人更新它来使用它们。
但是,使用pip install .可以工作,因为 pip 可以使用轮子。在你的情况下,python setup.py develop那将是pip install --editable ..
pip install .
pip install --editable .
所以,回答你的观点:
setup.py
类似的问题: