I just installed Tensorflow-gpu after creating a separate environment following the instructions from here. However post installation when I close the Prompt window and open a new terminal the following error pops up. I have set the Anaconda/Scripts and Anaconda path to the Environment Variable too still this doesn't seem to get resolved. Any solution is appreciated.
usage: conda [-h] {keygen,sign,unsign,verify,unpack,install,install- scripts,convert,version,help} ... conda: error: invalid choice: '..checkenv' (choose from 'keygen', 'sign', 'unsign', 'verify', 'unpack', 'install', 'install-scripts', 'convert', 'version', 'help')
C:\Users\sashw>activate keras
'activate' is not recognized as an internal or external command,
operable program or batch file.
I had the same problem. The only way to fix the issue that I found was to re-install Conda from scratch and replace the tensorflow installation by this command (removed '--ignore-installed --upgrade'):
pip install tensorflow-gpu
It looks like the problem is that you are not inheriting the previous system wide path when you define a new "PATH" environment variable. Your changes to the path seem to be wiping out conda from the path. Make sure any PATH environment variable you define in the variable editor has %PATH% in it (the instructions linked above do not seem to elucidate that detail). I.e. if you echo %PATH% on a new shell after you set your environment, it should have not just the thing you added it. It should also have conda (and probably other stuff) in it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With