Skip to content

Python常见问题 #189

@v5tech

Description

@v5tech

Python常见问题

1、ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

pip3 install -U --ignore-installed wrapt

或者

pip3 install wrapt --upgrade --ignore-installed
pip3 install tensorflow

2、ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 39.1.0 which is incompatible.

pip3 install --upgrade setuptools

3、upgrade pip setuptools wheel

python -m pip install --upgrade pip setuptools wheel

参考链接

tensorflow/tensorflow#30191

https://datatofish.com/upgrade-pip

https://pip.pypa.io/en/stable/installing

https://pip.pypa.io/en/stable/user_guide/#config-file

https://packaging.python.org/tutorials/installing-packages

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