也就是:使用anaconda建立了虚拟环境,但是在使用虚拟环境的时候,再利用screen创建虚拟环境去运行程序的时候,会出现问题。所以先在非screen的时候退出虚拟环境,再进入screen的虚拟环境,就不会出现冲突的问题了。

 

All you need to do is to deactivate the environment before entering screen

source deactivate

Then enter the screen(创建自己的screen的名字)

screen -R my_screen 

Then activate the environment(在screen里面激活自己的虚拟环境)

source activate myenv
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐