How can I install a conda environment when offline?

后端 未结 10 1782
-上瘾入骨i
-上瘾入骨i 2020-12-07 20:32

I would like to create a conda environment on a machine that has no network connection. What I\'ve done so far is:

On a machine that is connected to the internet:

10条回答
  •  离开以前
    2020-12-07 21:09

    Have you tried without the --offline?

    conda create -n anaconda python=3.4 --channel PATHTO\Anaconda_py3
    

    This works for me if I am not connected to the Internet if I do have anaconda already on the machine but in another location. If you are connected to the Internet when you run this command you will probably get an error associated with not finding something on Binstar.

提交回复
热议问题