@BenLewis wrote:
I would like to use the Emlid pywificontrol package on github.
Here are the steps I used to install it.
sudo apt install dbus libdbus-glib-1-dev libdbus-1-dev python-dbus sudo apt install python3 python3-pip python3-venv git mkdir app cd app python3 -m venv venv . venv/bin/activate pip3 install netifaces git clone https://github.com/emlid/systemd-manager.git git clone https://github.com/emlid/pywificontrol.git cd systemd-manager make cd .. cd pywificontrol make
When I try to import wificontrol I get:
(venv) pi@raspberrypi:~/app $ python3 Python 3.5.3 (default, Jan 19 2017, 14:11:04) [GCC 6.3.0 20170124] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import wificontrol Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/pi/app/venv/lib/python3.5/site-packages/wificontrol-0.5.0-py3.5.egg/wificontrol/__init__.py", line 1, in <module> ImportError: cannot import name 'WiFiControl' >>>
I would greatly appreciate any help to get this working.
Posts: 1
Participants: 1