Installing and updating¶
Note
- Linux
Make sure your user has permissions to access the serial ports.
Execute the next command:
sudo usermod -a -G dialout [your username]
Restart the computer.
User installation¶
Install Python 3.6.
Install PyBpod from PyPi:
pip install pybpod
Execute PyBpod:
start-pybpod
Note
On the first execution a user_settings.py file will be created on the User system folder.
Installation for developers¶
Warning
- Windows
On windows if you install Anaconda/Miniconda for all the users, you should make sure you run the “Anaconda Prompt” as administrator.
To avoid issues, make sure you install Anaconda/Miniconda only for your user.
2. Download the environment configuration file for your Operating System and create a virtual environment with it by executing the following commands in the “Anaconda Prompt”.
Windows 10: environment-windows-10.yml (right click->Save Link as):
conda env create -f utils/environment-windows-10.ymlUbuntu 17.10 and up: environment-ubuntu-17.10.yml (right click->Save Link as):
conda env create -f utils/environment-ubuntu-17.10.ymlMac OSx: environment-macOSx.yml (right click->Save Link as):
conda env create -f utils/environment-macOSx.yml
Activate the environment you just created.
activate pybpod-environment
Clone the PyBpod repository and initialize all the submodules.
git clone https://github.com/pybpod/pybpod.git
git submodule update --init
Access the created repository folder.
cd pybpod
Run the “install.py” script to install all necessary dependencies.
python utils/install.py
Run the PyBpod application.
start-pybpod
Execute PyBpod¶
Open “Anaconda Prompt” and activate the “pybpod-environment”.
activate pybpod-environment
Run the application, in your pybpod directory.
start-pybpod
Update PyBpod¶
Open the “Anaconda Prompt” and activate the “pybpod-environment”.
activate pybpod-environment
Execute the next commands in your pybpod directory.
git pull
git submodule update --recursive --remote