Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.58 KB

python-ics-and-vspyx-installation.md

File metadata and controls

52 lines (31 loc) · 1.58 KB

Python ICS and VspyX installation

Install ICS software on pi

About

This is a shell script that will install the following:

  1. ICS python library: python-ics docs
  2. VspyX python library: vspyx docs
  3. All required dependencies for controlling the membrane using python: membrane example for python

Running the install script

1. Download the install_script.zip file attached and unzip it in the PI's home directory.

Run ls in your home directory to make sure you can see install_ics.sh and requirements.txt

{% file src="../.gitbook/assets/install_script.zip" %}

2. Run the install script

In your terminal window run the following 2 commands:

sudo chmod +x $HOME/install_ics.sh
./install_ics.sh

It could take up to 20 minutes to complete.

If you see "Licensing error! Please place a valid license in /home/pi/.vspyx/Licenses" then the install was successful.

Usage

There are two ways of using the environment. First one is to activate it with pyenv:

pyenv activate vspyx_env

Then just use python myscript.py.

The second way to use it without activating the environment but still using it:

sudo $HOME/.pyenv/versions/vspyx_env/bin/python myscript.py

To use VspyX you will need a valid licence from ICS, so if you do not have one please contact ICS support.

ICS-python is free to use without any licenses.