8 ms·
You should use Anaconda instead of pip to install data science related tools in Python. ``` $ conda create -n {new_environment_name} python $ conda activate
by bitanarch 6y ago
You should use Anaconda instead of pip to install data science related tools in Python.
```
$ conda create -n {new_environment_name} python
$ conda activate {new environment name}
$ conda install jupyterlab
```
- modriano 6y agoYou also have to manually add the kernel for that environment via: ({new_environment_name}) ...$ python -m ipykernel install --user --name {new_environment_name} --display-name "Python ({new environment display name})" The env won't be accessible in jupyter (lab or notebook) until you do this step. [0] https://stackoverflow.com/questions/39604271/conda-environments-not-showing-up-in-jupyter-notebook https://stackoverflow.com/questions/39604271/conda-environme...
- tmvphil 6y agoNope, what he wrote works just fine at least for conda. That advice is only if you want to be able to choose environments as kernels in the frontend. If you just run jupyter lab/notebook in a conda env which has it installed, the default kernel will be in the activated environment.
- davidf18 6y agoYou can download anaconda in either the command line or graphical user interface versions selecting the versions of Python you wish to install. Then according to the blog posting for jupyterlab 3.0 execute the following command: conda install -c conda-forge jupyterlab=3
- p1esk 6y agoconda install -c conda-forge jupyterlab=3
- eggie5 6y agowhy?
- auxym 6y agoNote that you now have to pay for a commercial anaconda license if you're using it for anything that isn't education or hobbyist stuff. https://www.anaconda.com/blog/anaconda-commercial-edition-faq https://www.anaconda.com/blog/anaconda-commercial-edition-fa...
- hcrisp 6y agoI don't think that is true if you install miniconda. https://docs.conda.io/en/latest/miniconda.html https://docs.conda.io/en/latest/miniconda.html