Copy and Pasting virtual environment to work on another machine

时间:2019-04-23 15:10:51

标签: linux-kernel virtualenv

Before my hdd got destroyed I was working on this virtual environment. Where I have installed all the necessary packages like python, jupyter notebook. I used to run jupyter notebook using terminal. Then my replaced my hdd and copied the whole virtual environment. But now its saying permission denied.

There was an article explaining you need to use chmod u+x appname but it is not working

Previously I used to write in terminal like. source virtualenvironment/bin/activate jupyter-notebook

After entering jupyter-notebook it should run the notebook

1 个答案:

答案 0 :(得分:0)

由于可能未设置路径,因此无法简单地进行复制和粘贴。因此,您只需要再次使用相同的名称创建虚拟环境。然后,在虚拟环境中,您需要安装相同的软件包。请注意,必须满足所有要求,但是这次还设置了路径。因此,现在运行软件包将可以正常工作。