Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

部署遇到的问题 #118

Open
zhangzhenyu2 opened this issue Oct 10, 2017 · 0 comments
Open

部署遇到的问题 #118

zhangzhenyu2 opened this issue Oct 10, 2017 · 0 comments

Comments

@zhangzhenyu2
Copy link

采用快速部署的方式进行部署pip install -r requirements.txt 有异常
Collecting PyYAML==3.11 (from -r requirements.txt (line 12))
Downloading http://pypi.douban.com/simple/packages/04/60/abfb3a665ee0569b60c89148b7187ddd8a36cb65e254fba945ae1315645d/PyYAML-3.11.zip (371kB)
100% |################################| 378kB 60.5MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-pzaMMa/PyYAML/setup.py", line 342, in
'test': test,
File "/home/echnweb/bin/python27/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/pip-build-pzaMMa/PyYAML/setup.py", line 97, in init
_Distribution.init(self, attrs)
File "/root/code/venv/lib/python2.7/site-packages/setuptools/dist.py", line 338, in init
_Distribution.init(self, attrs)
File "/home/echnweb/bin/python27/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/root/code/venv/lib/python2.7/site-packages/setuptools/dist.py", line 471, in finalize_options
ep.load()(self, ep.name, value)
File "/root/code/venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2405, in load
return self.resolve()
File "/root/code/venv/lib/python2.7/site-packages/pkg_resources/init.py", line 2411, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/root/code/venv/lib/python2.7/site-packages/setuptools_cython.py", line 21, in
class build_cython(Cython.Distutils.build_ext, object):
AttributeError: 'module' object has no attribute 'Distutils'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-pzaMMa/PyYAML/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant