I have the same error and I tried solution on two different Windows systems and it doesn't change anything for me. I tried 's suggestion about enabling longer filenames but it didn't help. Uninstalled_pathset.remove(auto_confirm, verbose)įile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\site-packages\pip_internal\req\req_uninstall.py", line 219, in removeįile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\site-packages\pip_internal\utils\misc.py", line 273, in renamesįile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\shutil.py", line 558, in moveįile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\shutil.py", line 257, in copy2Ĭopyfile(src, dst, follow_symlinks=follow_symlinks)įile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\shutil.py", line 121, in copyfileįileNotFoundError: No such file or directory: 'C:\Users\t-zifeng\AppData\Local\Temp\pip-uninstall-jfv6m05f\users\t-zifeng\appdata\local\continuum\anaconda3\envs\tf1.8-src\lib\site-packages\tensorflow\contrib\tensor_forest\hybrid\python\models\ pycache\stochastic_hard_decisions_to_data_then_nn.cpython-35.pyc' Error was:įile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\shutil.py", line 544, in moveįileNotFoundError: The system cannot find the path specified: 'c:\users\t-zifeng\appdata\local\continuum\anaconda3\envs\tf1.8-src\lib\site-packages\tensorflow\contrib\tensor_forest\hybrid\python\models\ pycache\stochastic_hard_decisions_to_data_then_nn.cpython-35.pyc' -> 'C:\Users\t-zifeng\AppData\Local\Temp\pip-uninstall-jfv6m05f\users\t-zifeng\appdata\local\continuum\anaconda3\envs\tf1.8-src\lib\site-packages\tensorflow\contrib\tensor_forest\hybrid\python\models\ pycache\stochastic_hard_decisions_to_data_then_nn.cpython-35.pyc'ĭuring handling of the above exception, another exception occurred:įile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\site-packages\pip_internal\basecommand.py", line 228, in mainįile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\site-packages\pip_internal\commands\uninstall.py", line 68, in runĪuto_confirm=options.yes, verbose=self.verbosity > 0,įile "C:\Users\t-zifeng\AppData\Local\Continuum\anaconda3\envs\tf1.8-src\lib\site-packages\pip_internal\req\req_install.py", line 661, in uninstall Then I try to uninstall the fresh installed TF with pip uninstall tensorflow-gpu.
#Uninstall keras in pycharm windows install#
To activate the conda environment that was just created use:ĭo not deactivate the environment yet, we are about to install all the good stuff.I followed the instructions at to compile tensorflow with GPU from source on Windows 10 using CMake. For more information about conda environments, I suggest you take a look at the official documentation.ħ.
One where I can built my models using the CPU and the other where I can built my models using the GPU. Conda environments give the user the liberty to install very specific modules that are independent habitats. If you want to use your CPU instead, execute the following command:įollow the instructions displayed on the terminal. If you don’t, install the CPU version of Keras.
Note: Ensure that you have a NVIDIA graphics card. Create a new conda environment where we will install our modules to built our models using the GPU. Currently, Tensorflow offers compatiblity with Python 3.5–3.8.Ħ. After the environment is resolved, Anaconda will show you all the packages that will be downloaded.