wilson@linux:~$ pip3 install pyzmail Collecting pyzmail Downloading pyzmail-1.0.3.tar.gz (57kB) 100% |████████████████████████████████| 61kB 197kB/s Collecting distribute (from pyzmail) Using cached distribute-0.7.3.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-5w0ar9i7/distribute/setuptools/init.py", line 2, in <module> from setuptools.extension import Extension, Library File "/tmp/pip-build-5w0ar9i7/distribute/setuptools/extension.py", line 5, in <module> from setuptools.dist import _get_unpatched File "/tmp/pip-build-5w0ar9i7/distribute/setuptools/dist.py", line 7, in <module> from setuptools.command.install import install File "/tmp/pip-build-5w0ar9i7/distribute/setuptools/command/init.py", line 8, in <module> from setuptools.command import install_scripts File "/tmp/pip-build-5w0ar9i7/distribute/setuptools/command/install_scripts.py", line 3, in <module> from pkg_resources import Distribution, PathMetadata, ensure_directory File "/tmp/pip-build-5w0ar9i7/distribute/pkg_resources.py", line 1518, in <module> register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider) AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5w0ar9i7/distribute/
1
praynise 2017-12-08 12:52:34 +08:00
你用的 python 是多少版本的啊,如果是 3.6 的话有一个专门的 pyzmail36
|