![]() ![]() Issue the following command to install TensorFlow and all the packages that TensorFlow requires into the active Virtualenv environment: pip3 install -upgrade tensorflow.Activate the virtualenv environment by issuing one of the following commands: source ~/tensorflow_pycharm/bin/activate.Install tensorflow with one of the following approaches:.For the above case, let's assume the location is ~/tensorflow_pycharm, therefore, run command virtualenv -system-site-packages -p python3 ~/tensorflow_pycharm or python3 -m venv ~/tensorflow_pycharm(changed in version 3.5: the use of venv is now recommended for creating virtual environments). ![]() In command line, install tensorflow in the virtualenv location you created in previous step.In Pycharm, Preferences -> Project Interpreter -> Create VirtualEnv ->, and select "inherit global site-packages" option -> OK.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |