[Tutor] Moving a conda environment to an off-line computer

Alan Gauld alan.gauld at yahoo.co.uk
Fri Nov 30 19:33:44 EST 2018


On 30/11/2018 13:47, Henrique Castro wrote:
> ... use one of the powerful computers on my university

It would help if we knew what kind of powerful computer this is.
What OS does it run? It sounds like some variety of Unix, but which?
Does it have a C compiler on board?

> The computer does not have an internet connection 
> and I need to find a way to install a conda environment on it.

This may be a question that the Anaconda community can
better answer since building your own Anaconda suite is non trivial.
So unless you find a pre-built environment for your new OS which
you can download and copy to removable media you will likely need
specialist help. That's more likely to be found on the Anaconda
fora than on a general Python list like this one.

>   File "/home/henrique/bin/anaconda3/envs/deepchem/lib/python3.6/http/client.py", line 936, in connect
>     (self.host,self.port), self.timeout, self.source_address)
>   File "/home/henrique/bin/anaconda3/envs/deepchem/lib/python3.6/socket.py", line 704, in create_connection
>     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
>   File "/home/henrique/bin/anaconda3/envs/deepchem/lib/python3.6/socket.py", line 745, in getaddrinfo
>     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
> socket.gaierror: [Errno -2] Name or service not known


Apparently the test file tries to access the internet so will obviously
fail on a non internet connected device. (BTW is it on any kind of
network or is it entirely standalone?)


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list