Windows
2 minute read
Install Python 3.7 or lower
Download Python 3
from the python website: https://www.python.org/downloads/windows/. Choose the appropriate installer for your system. Make sure you choose Python 3.7.
-
Launch the installer and choose
Customize installation
. -
All options are selected by default (documentation and test suite are actually optional) Click
Next
. -
Under the Advanced Options select
Add Python to environment variables
. -
Click
Install
. -
Congratulations Python 3 is now installed.
Installing Motorcortex-Python
Motorcortex-python is the core library required for any Motorcortex application. It provides convenient ways to communicate with Motorcortex-based applications.
Motorcortex-python can be installed by using the “pip” tool. You have to be connected to the internet to install packaged using pip.
- Open a
Command Prompt
by pressing theWindows
key and typing “cmd”.
Note
It may be necessary to use “Run as administrator” if installation commands fail.
- In the Command Prompt window type:
python -m pip install Motorcortex-python
- Congratulations
motorcortex-python
package is now installed for the current user.
Alternative Installation Instructions
Alternatively the user can use the miniconda package management and environment management system.
Install Miniconda Python3
Download Miniconda Python 3
from the Conda website:
https://docs.conda.io/en/latest/miniconda.html. Choose the appropriate installer for your system.
-
Launch the installer.
-
Click
Next
. -
Click
I Agree
. -
Select for who the installation is designated and click
Next
. -
Choose your desired destination folder and click
Next
. -
Select
Register Anaconda as my default Python --
-
Click
Install
to start the installation. -
Click
Finish
to finish the installation.
Note
It is very convenient to use the Miniconda Cheetsheet when using miniconda.
Create environment
Open an Anaconda Prompt
by pressing the windows
key, type anaconda
in the search field and select appropriate.
- In the Anaconda Prompt window, to create the mcx-env environment, type:
conda create -n mcx-env python=3.7

To remove an environment use ”conda env remove -n
ENV_NAME”
Activate environment
Activate the environment:
conda activate mcx-env
Note
To access this environment a next time open an Anaconda Prompt window and type conda activate mcx-env
. To deactivate an environment type conda deactivate
.