You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating PyCmdMessenger, it's been working great for me and really makes my product possible.
I've just setup a new Ubuntu VM running inside of VMware Workstation 15 Player. I installed python 3.6.9 I installed tkinter, pip3, and then PyCmdMessenger. When I run my program I get AttributeError: module 'PyCmdMessenger' has no attribute 'ArduinoBoard'. I'm relatively new to Linux and python programming, so it's likely I'm doing something that's obviously wrong to others.
dmurphy@ubuntu~$ python3 -V
Python 3.6.9
dmurphy@ubuntu~$ sudo apt install python3-pip
dmurphy@ubuntu~$ sudo apt-get install python3-tk
dmurphy@ubuntu~$ pip3 install PyCmdMessenger
dmurphy@ubuntu~$ find / -name PyCmdMessenger 2>/dev/null
/home/dmurphy/.local/lib/python3.6/site-packages/PyCmdMessenger
dmurphy@ubuntu~/dev/python/PasswordPump$ python3 PassPumpGUI_v0_7.py
/dev/ttyS0: ttyS0
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.6/tkinter/init.py", line 1705, in call
return self.func(*args)
File "PassPumpGUI_v0_7.py", line 147, in clickedOpen
arduino = PyCmdMessenger.ArduinoBoard(port, baud_rate=115200, timeout=5.0, settle_time=2.0, enable_dtr=False, AttributeError: module 'PyCmdMessenger' has no attribute 'ArduinoBoard'
I read another similar thread here and it seemed to indicate that I need to install PyCmdMessenger under /snap/python38/22/lib/python3.8/site-packages, however when I try to copy the PyCmdMessenger directory to /snap/python38/22/lib/python3.8/site-packages, it fails and claims that it's a read only directory. I really have no idea if it's the right fix.
I also tried copying PyCmdMessenger-0.2.4.dist-info and PyCmdMessenger from /home/dmurphy/.local/lib/python3.6/site-packages to /usr/local/lib/python3.6/dist-packages, and that didn't work.
Hi,
Thanks for creating PyCmdMessenger, it's been working great for me and really makes my product possible.
I've just setup a new Ubuntu VM running inside of VMware Workstation 15 Player. I installed python 3.6.9 I installed tkinter, pip3, and then PyCmdMessenger. When I run my program I get AttributeError: module 'PyCmdMessenger' has no attribute 'ArduinoBoard'. I'm relatively new to Linux and python programming, so it's likely I'm doing something that's obviously wrong to others.
dmurphy@ubuntu~$ python3 -V
Python 3.6.9
dmurphy@ubuntu~$ sudo apt install python3-pip
dmurphy@ubuntu~$ sudo apt-get install python3-tk
dmurphy@ubuntu~$ pip3 install PyCmdMessenger
dmurphy@ubuntu~$ find / -name PyCmdMessenger 2>/dev/null
/home/dmurphy/.local/lib/python3.6/site-packages/PyCmdMessenger
dmurphy@ubuntu~/dev/python/PasswordPump$ python3 PassPumpGUI_v0_7.py
/dev/ttyS0: ttyS0
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.6/tkinter/init.py", line 1705, in call
return self.func(*args)
File "PassPumpGUI_v0_7.py", line 147, in clickedOpen
arduino = PyCmdMessenger.ArduinoBoard(port, baud_rate=115200, timeout=5.0, settle_time=2.0, enable_dtr=False,
AttributeError: module 'PyCmdMessenger' has no attribute 'ArduinoBoard'
Also:
dmurphy@ubuntu~$ find / -name site-packages 2>/dev/null
/snap/python38/22/lib/python3.8/site-packages
/home/dmurphy/.local/lib/python3.6/site-packages
I read another similar thread here and it seemed to indicate that I need to install PyCmdMessenger under /snap/python38/22/lib/python3.8/site-packages, however when I try to copy the PyCmdMessenger directory to /snap/python38/22/lib/python3.8/site-packages, it fails and claims that it's a read only directory. I really have no idea if it's the right fix.
I also tried copying PyCmdMessenger-0.2.4.dist-info and PyCmdMessenger from /home/dmurphy/.local/lib/python3.6/site-packages to /usr/local/lib/python3.6/dist-packages, and that didn't work.
Thanks for the help and the tool!!
Dan
https://github.com/seawarrior181
The text was updated successfully, but these errors were encountered: