Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions doc/install/mne_python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,15 +165,15 @@ your operating system.
with ``curl``) and use it to create a new environment (named ``mne`` by
default)::

$ conda install --name base nb_conda_kernels
$ conda install --name base nb_conda_kernels "spyder>=4.2.1"
$ curl --remote-name https://raw.githubusercontent.com/mne-tools/mne-python/master/environment.yml
$ conda env update --file environment.yml

.. collapse:: |windows| Windows

- Download the `environment file`_
- Open an Anaconda command prompt
- Run :samp:`conda install --name base nb_conda_kernels`
- Run :samp:`conda install --name base nb_conda_kernels "spyder>=4.2.1"`
- :samp:`cd` to the directory where you downloaded the file
- Run :samp:`conda env update --file environment.yml`

Expand Down Expand Up @@ -291,16 +291,16 @@ Python development are:
use Python. It is included by default in the ``base`` environment when you
install Anaconda, and can be started from a terminal with the command
``spyder`` (or on Windows or macOS, launched from the Anaconda Navigator GUI).
If you installed MNE-Python into a separate ``mne`` environment (not the
``base`` Anaconda environment), you can set up Spyder to use the ``mne``
environment automatically, by opening Spyder and navigating to
If you use Spyder, you should *not* install it into the ``mne`` environment;
instead, launch Spyder from the ``base`` environment and set it to use the
``mne`` environment automatically, by opening Spyder and navigating to
:samp:`Tools > Preferences > Python Interpreter > Use the following interpreter`.
There, paste the output of the following terminal command::

$ conda activate mne && python -c "import sys; print(sys.executable)"

It should be something like ``C:\Users\user\anaconda3\envs\mne\python.exe``
(Windows) or ``/Users/user/anaconda3/envs/mne/bin/python`` (macOS).
(Windows) or ``/Users/user/opt/anaconda3/envs/mne/bin/python`` (macOS).
- `Visual Studio Code`_ (often shortened to "VS Code" or "vscode") is a
development-focused text editor that supports many programming languages in
addition to Python, includes an integrated terminal console, and has a rich
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
- traitsui
- imageio
- tqdm
- spyder-kernels
- spyder-kernels>=1.10.0
- imageio-ffmpeg>=0.4.1
- vtk>=9.0.1
- pyvista>=0.24
Expand Down