|
|
|
|
|
by abcininin
2416 days ago
|
|
I have been using a consistent setup that hasn't yet failed me for the past 2 years. 1. Install Anaconda to your home user directory . 2. create environment using
(conda create --name myenv python=3.6) . 3. Switch to the environment using (conda activate myenv) . 4. Use (conda install mypackage), (pip install mypackage) in that priority order . 5. Export environment using (conda env export > conda_env.yaml) . 6. Environment can be created on an other system using (conda env create -f conda_env.yaml) . Anaconda: https://www.anaconda.com/distribution/#download-section . Dockerized Anaconda: https://docs.anaconda.com/anaconda/user-guide/tasks/docker/ . |
|
One pain point though: getting it to work with Sublime Text 3 requires you to set the `CONDA_DLL_SEARCH_MODIFICATION_ENABLE` environment variable to `1` on Windows.
Not a flaw of Anaconda: it just pays attention to how to with multiple Python installations on Windows.