【发布时间】:2017-11-06 21:10:29
【问题描述】:
我尝试了下面的命令,但它不起作用。!!
virtualenv --system-site-packages ~/tensorflow
-bash: virtualenv: command not found
【问题讨论】:
标签: macos machine-learning tensorflow virtualenv macos-sierra
我尝试了下面的命令,但它不起作用。!!
virtualenv --system-site-packages ~/tensorflow
-bash: virtualenv: command not found
【问题讨论】:
标签: macos machine-learning tensorflow virtualenv macos-sierra
错误virtualenv: command not found 告诉您究竟出了什么问题。您需要安装 virtualenv 才能使用它。安装后,上面的命令应该可以工作。然后你需要激活你的虚拟环境并使用 pip 来安装 tensorflow。
【讨论】:
virualenvHow to install virtualenv by using pip in MacOS High Sierra?时查看我的这个问题
pip install tensorflow 应该这样做