How to get VirtualEnv TensorFlow to work in PyCharm?

孤街浪徒 提交于 2019-12-03 14:04:58

You have installed tensorflow in a virtualenv, here's how to get PyCharm to use it:

  1. First you want to add that virtualenv you created and installed tensorflow in, as an interpreter in PyCharm. Please follow this guide from PyCharm makers: Adding Existing Virtual Environment You will want to select python executable from your virtualenv forlder, e.g. your_venv/bin/python

  2. Once added as an interpreter you want to select it for your project. Here's a guide: Selecting Python interpreter for a project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!