How can I install a conda environment when offline?

后端 未结 10 1842
-上瘾入骨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:02

    I'm not sure whether this contradicts the other answers or is the same but I followed the instructions in the conda documentation and set up a channel on the local file system.

    Then it's a simple matter of moving new package files to the local directory, running conda index on the channel sub-folder (which should have a name like linux-64).

    I also set the Anaconda config setting offline to True as described here but not sure if that was essential.

    Hope that helps.

提交回复
热议问题