I have Anaconda2 installed on a remote machine where there is no internet connection.
I am trying to create a conda environment where I would run my application,when I tried :
conda create -n nameofmyenv anaconda
but since it fetches packages from api.anaconda.com, it is not working and hangs at "Fetching packages" (no internet connection), so I set offline=True in a .condarc file (under anaconda2 directory), but no luck either (Error: package missing in current linux-64 channels)
I then tried :
conda create --name nameofmyenv --clone root
with both offline=True/False, it does create a folder nameofmyenv under anaconda2/envs but there is only one file in it which is the .condarc one. In the terminal and with this cmd, I got a KeyError for the package "sockjs-tornado-1.0.1-py27_0.tar.bz2" like so :

even though this package exists in the anaconda2/pkgs folder.
I have already seen this script, but I'm not sure what to do with it exactly ? I created a file c2r.py in the anaconda2 folder and tried to run this script but I think I'm missing something..
Has anyone already tried to create a conda environment offline? If so how did you do it? ^^
Thank you :)