2 ms·
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 u
by abcininin 7y 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 https://www.anaconda.com/distribution/#download-section .
Dockerized Anaconda: https://docs.anaconda.com/anaconda/user-guide/tasks/docker/ https://docs.anaconda.com/anaconda/user-guide/tasks/docker/ .
- bmer 7y agoI can vouch for this. Anaconda is especially good for simulation/data stuff (based on the focus on which packages are included by default). 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.