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.
Problem Description.
When installing tensorflow, an error is reported: “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.”
pip install tensorflow==1.15.0
Solution:
Change the command to:
pip install tensorflow==1.15.0 --ignore-installed wrapt
Read More:
- [Solved] ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accurately
- Python3 Error: Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurate
- [Solved] AttributeError: module ‘setuptools._distutils‘ has no attribute ‘version‘
- [Solved] AttributeError: module ‘distutils‘ has no attribute ‘version‘
- [Solved] Conda Upgrade Error: PackageNotInstalledError: Package is not installed in prefix.
- [How to Fix]RuntimeError: Python is not installed as a framework, If you are using (Ana)Conda
- [Solved] Windows Configurate Python Environment error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft
- [Solved] ValueError: Connection error, and we cannot find the requested files in the cached path…
- [Solved] Pycharm Use pip Error: Script file ‘D:\Anaconda3\envs\pytorch\Scripts\pip-script.py‘ is not present
- [Solved] ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
- How to Solve ModuleNotFoundError Error After pip-autoremove Installed
- An error is reported in the requirements code of the generated project
- Tensor for argument #2 ‘mat1‘ is on CPU, but expected it to be on GPU (while checking arguments for
- [Solved] Pyinstaller Error: “RuntimeError: No metadata path found for distribution ‘greenlet‘
- Vscode Tensorboard Error: We failed to start a TensorBoard session due to the following error: Command fa
- ValueError: Found array with dim 4. Estimator expected and ValueError: Expected 2D array, got 1D array i
- [Solved] RuntimeError: Numpy is not available (Associated Torch or Tensorflow)
- FileNotFoundError: Could not find module ‘D:\Anaconda3\envs\labe\Library\bin\geos_c.dll‘ [Solved]
- Python Error: Failed to establish a new connection: [Errno -2] Name or service not known
- [Solved] cv2.xfeatures2d.SIFT_create() Error: module ‘cv2.cv2’ has no attribute ‘xfeatures2d’