Skip to content

pip 安装包出错: Could not import setuptools #28

Description

@nodejh

使用 pip 安装包的时候如 pip install shadowsocks,遇到了如下错误:

Could not import setuptools which is required to install from a source distribution.
Please install setuptools.

这是因为 python 环境中没有 setuptools 这个包。安装上就可以了:

$ pip install -U setuptools

更具体的内容可在 Github Issues 查看:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions