I'm trying to Install ABElectronics_Python_Libraries in Virtual Environment - its not working for me.
i do this:
1. download the Lib into /home/pi/Downloads/ABElectronics_Python_Libraries
2. cd into the downloaded folder and install : sudo python3 setup.py install
in this stage i'm doing small test, following the blinking led and test -- it works fine - led is blinking...
3. now that python3 has the lib installed, im creating virtual environment :
$ sudo python3 –m venv MyEnv1
from my understanding, once the ABElectronics_Python_Libraries already installed in the MAIN python
the virtual environemnt MyEnv1 should have the ABElectronics included.
so, i;m activating the virtual environemnt, and runing the blinking led program, and i get erro rthat the IOPi package not exists .
(MyEnv1) pi@raspberrypi:~/src/python/Projects/BlinkLED $ python app.py
Traceback (most recent call last):
File "app.py", line 1, in <module>
from IOPi import IOPi
ImportError: No module named 'IOPi'
What is wrong here ?