pyobjus nameerror:在安装过程中未定义名称“ build_ext”

问题描述

我正在尝试安装pyobjus,但仍然出现错误

ERROR: Command errored out with exit status 1:
 command: /root/anaconda3/bin/python -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lm35sz6r/pyobjus/setup.py'"'"'; _file__='"'"'/tmp/pip-install-lm35sz6r/pyobjus/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file_);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,_file_,'"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-lm35sz6r/pyobjus/pip-egg-info
     cwd: /tmp/pip-install-lm35sz6r/pyobjus/
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>",line 1,in <module>
  File "/tmp/pip-install-lm35sz6r/pyobjus/setup.py",line 58,in <module>
    cmdclass={'build_ext': build_ext},NameError: name 'build_ext' is not defined

我尝试了许多方法解决该问题,例如从不同的来源安装pyobjus和cython,但没有任何效果。 还有其他解决方法吗? 还是pyobjus的自动分类功能的替代品? 非常感谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)