我已经在服务器上安装完了Python,当我尝试安装任何包时,我总是收到这个错误消息: Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "setuptools/__init__.py", line 132
for k in set(_incl) & set(attr
有一个带有setup.py的Python包,它这样写道:
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(
name = 'fastahack',
ext_modules=[
Extension("fastahack.cfastahack",
sources=["fastahack/cfastahack.pyx"
当安装pip软件包时(如。(在venv)中,如果以前没有安装wheel包,控制台日志中将出现以下行:
Using legacy 'setup.py install' for <package name>, since package 'wheel' is not installed
其中<package name>标识一个pip包。
这一行表明,使用setup.py是一种退步,并不是最优的。它甚至可能暗示事情可能会出问题。遗产表明某些东西可能是不被支持的。
在安装其他pip软件包之前安装wheel包更好吗?我不熟悉车轮或setup.py的