I am starting to work with python and I have to clone the "Anaconda + Spyder" environment that was installed some time ago on a Windwos PC with an internet connection to another Windows PC that does not have an internet connection and does not have anaconda or spyder installed.
I have been looking for information on the internet and have seen several ways to do this, but I do not know if they will work in my case:
1) Use Anaconda Enterprise, which is a commercial product, which allows create or replicate full Anaconda enviroment on PCs withouth internet access.
In my case I only have to replicate the installation of Anaconda (with all its libraries) in a single PC and I do not have nor will I have this commercial tool, so I discard this solution.
2) I could copy the full "Anaconda + Spyder" directories form the first PC to an USB pen and then copy again from this pen to the second PC.
However, I am sure that this will not work because in the second PC there are no paths to the installation of Anaconda or to the libraries installed later.
Also, it is very likely that I do not copy everything and there are things left without copying.
3) It is possible to export the Anaconda environment using:
- On the 1st PC: conda env export > environment.yml
- On the 2nd PC: conda env create -f environment.yml
But I am sure that this will not work either because Anaconda is not installed in the second PC.
4) Another alternative:
- On the 1st PC: conda create -n yourname python=x.x anaconda
- On the 2nd PC: source activate yourenvname
I think that this will not work either because there is nothing installed on the second PC (only a clean Windows installation).
I would appreciate help with this.
I have been looking for information on the internet and have seen several ways to do this, but I do not know if they will work in my case:
1) Use Anaconda Enterprise, which is a commercial product, which allows create or replicate full Anaconda enviroment on PCs withouth internet access.
In my case I only have to replicate the installation of Anaconda (with all its libraries) in a single PC and I do not have nor will I have this commercial tool, so I discard this solution.
2) I could copy the full "Anaconda + Spyder" directories form the first PC to an USB pen and then copy again from this pen to the second PC.
However, I am sure that this will not work because in the second PC there are no paths to the installation of Anaconda or to the libraries installed later.
Also, it is very likely that I do not copy everything and there are things left without copying.
3) It is possible to export the Anaconda environment using:
- On the 1st PC: conda env export > environment.yml
- On the 2nd PC: conda env create -f environment.yml
But I am sure that this will not work either because Anaconda is not installed in the second PC.
4) Another alternative:
- On the 1st PC: conda create -n yourname python=x.x anaconda
- On the 2nd PC: source activate yourenvname
I think that this will not work either because there is nothing installed on the second PC (only a clean Windows installation).
I would appreciate help with this.