我正在运行必须删除python和其他软件包的流浪者条款,直到下面的软件包都可以正常工作
markdown
下面是错误详细信息
Searching for markdown
Reading https://pypi.python.org/simple/markdown/
Best match: Markdown 3.1
Downloading https://files.pythonhosted.org/packages/51/3f/92f9d2f4a1d5da51e7808a469ab40c6cfdf3ba1013f56abb1f46677a655c/Markdown-3.1.tar.gz#sha256=fc4a6f69a656b8d858d7503bda633f4dd63c2d70cf80abdc6eafa64c4ae8c250
Processing Markdown-3.1.tar.gz
Writing /tmp/easy_install-zwbd7rhe/Markdown-3.1/setup.cfg
Running Markdown-3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zwbd7rhe/Markdown-3.1/egg-dist-tmp-yu9kb4dn
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2218, in _find_and_load_unlocked
AttributeError: 'module' object has no attribute '__path__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 39, in <module>
'dougrain', 'markdown'],
File "/usr/local/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/develop.py", line 27, in run
self.install_for_development()
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/develop.py", line 129, in install_for_development
self.process_distribution(None, self.dist, not self.no_deps)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 671, in process_distribution
[requirement], self.local_index, self.easy_install
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/pkg_resources.py", line 564, in resolve
dist = best[req.key] = env.best_match(req, self, installer)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/pkg_resources.py", line 802, in best_match
return self.obtain(req, installer) # try and download/install
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/pkg_resources.py", line 814, in obtain
return installer(requirement)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 593, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 623, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 809, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1015, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/command/easy_install.py", line 1000, in run_setup
run_setup(setup_script, args)
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/sandbox.py", line 50, in run_setup
lambda: execfile(
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/sandbox.py", line 100, in run
return func()
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/sandbox.py", line 52, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "/opt/virtualenvs/mms/lib/python3.4/site-packages/setuptools/compat.py", line 78, in execfile
exec(compile(source, fn, 'exec'), globs, locs)
File "setup.py", line 26, in <module>
if sys.argv[-1] == 'install_hooks':
File "/tmp/easy_install-zwbd7rhe/Markdown-3.1/markdown/__init__.py", line 28, in <module>
ImportError: No module named 'pkg_resources.extern'; 'pkg_resources' is not a package```