小编Sew*_*eng的帖子

Pipenv安装错误:命令“ python setup.py egg_info”失败,错误代码为1

我最近转移到使用pipenv,并且每次尝试安装软件包时都会出现以下错误:

$ pipenv锁定-清除-详细

pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in
Run Code Online (Sandbox Code Playgroud)

$ pipenv安装social-auth-core

 line 704, in from_line
line, extras = _strip_extras(line)
TypeError: 'module' object is not callable
Run Code Online (Sandbox Code Playgroud)

$ python setup.py egg_info

(k, v) for k, v in attrs.items()
File "/home/user/.local/share/virtualenvs/django-app-VE-name/lib/python3.6/site-packages/setuptools/dist.py", line 367, in __init__ 
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
AttributeError: module 'pkg_resources' has no attribute 'iter_entry_points'
Run Code Online (Sandbox Code Playgroud)

该错误的github页面没有帮助,谢谢

python django installation pipenv

6
推荐指数
1
解决办法
2896
查看次数

标签 统计

django ×1

installation ×1

pipenv ×1

python ×1