現在,RaspberryPi3 modelBと、ESP32ボード(WEMOS製)を使って、
以下のURLに示されるように、micropythonによる環境構築を考えています。
https://www.rototron.info/raspberry-pi-esp32-micropython-tutorial/
前半は順調に進んだのですが、rshellというものをインストールし実行する際に以下のようなエラー文が出てきて次に進めなくなってしまいました。
何か解決に向けたアドバイスやヒント等ございましたら、どうかコメント等、よろしくお願いいたします。
rshellのインストール時の様子
python
1pi@raspberrypi:~ $ sudo pip3 install rshell 2 3Downloading/unpacking rshell 4 Downloading rshell-0.0.13.tar.gz (41kB): 41kB downloaded 5 Running setup.py (path:/tmp/pip-build-7ejbpxl9/rshell/setup.py) egg_info for package rshell 6 7 package init file 'tests/__init__.py' not found (or not a regular file) 8 warning: no files found matching 'tests/test-rshell.shr' 9Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python3/dist-packages (from rshell) 10Downloading/unpacking pyudev>=0.16 (from rshell) 11 Downloading pyudev-0.21.0.tar.gz (89kB): 89kB downloaded 12 Running setup.py (path:/tmp/pip-build-7ejbpxl9/pyudev/setup.py) egg_info for package pyudev 13 14 warning: no previously-included files matching '*.py' found under directory 'tests/.hypothesis' 15 warning: no files found matching '*.c' under directory 'reproducers' 16 warning: no files found matching '*.py' under directory 'reproducers' 17Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python3/dist-packages (from pyudev>=0.16->rshell) 18Installing collected packages: rshell, pyudev 19 Running setup.py install for rshell 20 package init file 'tests/__init__.py' not found (or not a regular file) 21 File "/usr/local/lib/python3.4/dist-packages/rshell/main.py", line 508 22 wrapper.extra_funcs = [*funcs] 23 ^ 24 SyntaxError: can use starred expression only as assignment target 25 26 27 warning: no files found matching 'tests/test-rshell.shr' 28 Installing pyboard script to /usr/local/bin 29 Installing rshell script to /usr/local/bin 30 Running setup.py install for pyudev 31 32 warning: no previously-included files matching '*.py' found under directory 'tests/.hypothesis' 33 warning: no files found matching '*.c' under directory 'reproducers' 34 warning: no files found matching '*.py' under directory 'reproducers' 35Successfully installed rshell pyudev 36Cleaning up...
実行エラーの様子
python
1pi@raspberrypi:~ $ rshell --buffer-size=30 -p /dev/ttyUSB0 2 3Traceback (most recent call last): 4 File "/usr/local/bin/rshell", line 9, in <module> 5 load_entry_point('rshell==0.0.13', 'console_scripts', 'rshell')() 6 File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point 7 return get_distribution(dist).load_entry_point(group, name) 8 File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point 9 return ep.load() 10 File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load 11 ['__name__']) 12 File "/usr/local/lib/python3.4/dist-packages/rshell/command_line.py", line 1, in <module> 13 import rshell.main 14 File "/usr/local/lib/python3.4/dist-packages/rshell/main.py", line 508 15 wrapper.extra_funcs = [*funcs] 16 ^ 17SyntaxError: can use starred expression only as assignment target
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/06/13 08:56