![]() ![]() Find pip folder under "./Anaconda3/Lib/site-packages/", delete it manually. ![]() If you have a broken pip on Anaconda, you can follow these steps: Py -3.4 -m pip install SomePackage # specifically Python 3.4 Py -3 -m pip install SomePackage # default Python 3 Py -2.7 -m pip install SomePackage # specifically Python 2.7 On Windows, use the py Python launcher in combination with the -m switch: py -2 -m pip install SomePackage # default Python 2 Python3.4 -m pip install SomePackage # specifically Python 3.4Īppropriately versioned pip commands may also be available. Python3 -m pip install SomePackage # default Python 3 Python2.7 -m pip install SomePackage # specifically Python 2.7 The answer has been borrowed from Anaconda Public Google Group. After installing, open the Anaconda command prompt to install TensorFlow using these steps: Create a conda environment named tensorflow by invoking the following command: conda create -n tensorflow python3.5 (Use this command even if you are using python 3. conda create -name tensorflow python3.5 activate tensorflow conda install -c conda-forge tensorflow1.0.0. On Linux, Mac OS X, and other POSIX systems, use the versioned Python commands in combination with the -m switch to run the appropriate copy of pip: python2 -m pip install SomePackage # default Python 2 Note that the activate command is not fully supported in Windows Powershell. Summary: Python 2 and 3 compatibility utilitiesĪlso from the doc Work with multiple versions of Python installed in parallel. I think you just use another version of Python so you can use this command to get the path of tensorflow, for some platform the default pip is for Python2, so maybe you will get: C:\Users\Nick>pip show six
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |