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
Some dependencies have higher versions than required and I hope this is OK.
Is this normal than Python 2 and 3 use the same library of dependencies?
When I run which pip I get this: /Library/Frameworks/Python.framework/Versions/3.6/bin/pip
user.py errors:
When I run python user.py -p /dev/tty.OpenBCI-DM00DRM0 I get this:
Traceback (most recent call last):
File "user.py", line 12, in <module>
from yapsy.PluginManager import PluginManager
ImportError: No module named yapsy.PluginManager
When I run the python3 version of this, python3 user.py -p /dev/tty.OpenBCI-DM00DRM0 , I get this:
------------user.py-------------
WARNING: no plugin selected, you will only be able to communicate with the board. You should select at least one plugin with '--add [plugin_name]'. Use '--list' to show available plugins or '--info [plugin_name]' to get more information.
Board type: OpenBCI Cyton (v3 API)
Port: /dev/tty.OpenBCI-DM00DRM0
------------SETTINGS-------------
Notch filtering:True
user.py: Logging Disabled.
-------INSTANTIATING BOARD-------
Traceback (most recent call last):
File "user.py", line 114, in <module>
board = bci.OpenBCIGanglion(port=args.port,
AttributeError: module 'openbci.cyton' has no attribute 'OpenBCIGanglion'
test_log.py
When I run python test_log.py I get this:
Traceback (most recent call last):
File "test_log.py", line 2, in <module>
from openbci import cyton as bci
File "/Users/tedor2/Dropbox/python/OpenBCI/OpenBCI_Python-master/openbci/__init__.py", line 4, in <module>
from .plugins import *
File "/Users/tedor2/Dropbox/python/OpenBCI/OpenBCI_Python-master/openbci/plugins/__init__.py", line 2, in <module>
from .csv_collect import *
File "/Users/tedor2/Dropbox/python/OpenBCI/OpenBCI_Python-master/openbci/plugins/csv_collect.py", line 5, in <module>
import plugin_interface as plugintypes
File "/Users/tedor2/Dropbox/python/OpenBCI/OpenBCI_Python-master/plugin_interface.py", line 21, in <module>
from yapsy.IPlugin import IPlugin
ImportError: No module named yapsy.IPlugin
When running python3 test_log.py, here the post:
Connecting to V3 at port /dev/tty.OpenBCI-DM00DRM0
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/serial/serialposix.py", line 265, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/tty.OpenBCI-DM00DRM0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test_log.py", line 21, in <module>
board = bci.OpenBCICyton(port=port, scaled_output=False, log=True)
File "/Users/tedor2/Dropbox/python/OpenBCI/OpenBCI_Python-master/openbci/cyton.py", line 82, in __init__
self.ser = serial.Serial(port= port, baudrate = baud, timeout=timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/serial/serialutil.py", line 240, in __init__
self.open()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/tty.OpenBCI-DM00DRM0: [Errno 2] No such file or directory: '/dev/tty.OpenBCI-DM00DRM0'
Any recommendations?
Thanks, k
The text was updated successfully, but these errors were encountered:
hello!
I am trying to run both, test_log.py and user.py in Python 2 and 3 on El Capitain, but have some issues :)
As far as I can tell all dependencies are installed and the same list is posted with
pip list
andpip3 list
Some dependencies have higher versions than required and I hope this is OK.
Is this normal than Python 2 and 3 use the same library of dependencies?
When I run
which pip
I get this:/Library/Frameworks/Python.framework/Versions/3.6/bin/pip
user.py errors:
When I run
python user.py -p /dev/tty.OpenBCI-DM00DRM0
I get this:When I run the python3 version of this,
python3 user.py -p /dev/tty.OpenBCI-DM00DRM0
, I get this:test_log.py
When I run
python test_log.py
I get this:When running
python3 test_log.py
, here the post:Any recommendations?
Thanks, k
The text was updated successfully, but these errors were encountered: