<p>在<a href="https://stackoverflow.com/questions/39413987/entrypoint-object-has-no-attribute-resolve-when-using-google-compute-engine?noredirect=1#comment66303382_39413987">c66303382</a>中引用的<a href="https://github.com/pyca/cryptography/issues/2838" rel="nofollow noreferrer">issue</a>有这样的回溯(您从未给出回溯,所以我必须假设您的结果是相同的):</p>
<pre><code>File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py", line 35, in default_backend
_default_backend = MultiBackend(_available_backends())
File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/backends/__init__.py", line 22, in _available_backends
"cryptography.backends"
</code></pre>
<p>触发错误的<a href="https://github.com/pyca/cryptography/blob/1a6628e55126ec1c98c98a46c04f777f77eff934/src/cryptography/hazmat/backends/__init__.py#L19-L24" rel="nofollow noreferrer">The full line</a>如下所示:</p>
^{pr2}$
<p>在<a href="https://github.com/pypa/setuptools" rel="nofollow noreferrer">repository</a>中搜索<code>EntryPoint</code>定义,然后在<a href="https://github.com/pypa/setuptools/blame/master/pkg_resources/__init__.py#L2260" rel="nofollow noreferrer">blaming ^{<cd2>}</a>中发现{<cd3>}被添加到<code>setuptools v11.3</code>的<a href="https://github.com/pypa/setuptools/commit/92a553d3adeb431cdf92b136ac9ccc3f2ef98bf1" rel="nofollow noreferrer">commit 92a553d3adeb431cdf92b136ac9ccc3f2ef98bf1</a>(2015-01-05)。在</p>
<p>因此,如果使用旧版本,您将看到此错误。在</p>