我在Anaconda Prompt中创建并激活了一个虚拟环境:
conda create --name test
activate test
当我尝试在此虚拟环境中运行Python时,出现以下错误:
'python' is not recognized as an internal or external comand, operable program or batch file.
现在,我知道我的PATH
系统变量中缺少Python,但为什么它在使用Anaconda提示符时在虚拟环境之外工作呢?你知道吗
除了手动将Python添加到PATH
变量之外,还有更好的方法解决这个问题(使Python在Anaconda虚拟环境中工作)吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐