Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./start-mycroft.sh audiotest
ImportError: cannot import name '_args_from_interpreter_flags'
Reported in the Community Forum here
git
./dev_setup.sh
./start-mycroft.sh audiotext
kathyreid@kathyreid-N76VZ:~/Dropbox/PHPworkspace/mycroft-core$ ./start-mycroft.sh audiotest Initializing... Starting audiotest Traceback (most recent call last): File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/util/audio_test.py", line 17, in <module> from speech_recognition import Recognizer File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/.venv/lib/python3.5/site-packages/speech_recognition/__init__.py", line 8, in <module> import subprocess File "/usr/lib/python3.5/subprocess.py", line 364, in <module> import signal File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/util/signal.py", line 21, in <module> import mycroft File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/__init__.py", line 20, in <module> from mycroft.skills.core import MycroftSkill, FallbackSkill, \ File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/skills/core.py", line 33, in <module> from mycroft.client.enclosure.api import EnclosureAPI File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/client/enclosure/__init__.py", line 26, in <module> from mycroft.client.enclosure.display_manager import \ File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/client/enclosure/display_manager.py", line 40, in <module> from mycroft.messagebus.client.ws import WebsocketClient File "/home/kathyreid/Dropbox/PHPworkspace/mycroft-core/mycroft/messagebus/client/ws.py", line 17, in <module> from multiprocessing.pool import ThreadPool File "/usr/lib/python3.5/multiprocessing/pool.py", line 26, in <module> from . import util File "/usr/lib/python3.5/multiprocessing/util.py", line 17, in <module> from subprocess import _args_from_interpreter_flags ImportError: cannot import name '_args_from_interpreter_flags'
The text was updated successfully, but these errors were encountered:
I tested that briefly and I think it's some sort of namespace conflict. Moving the audio_test.py to another folder lets the test run again. (I tested moving it to the mycroft/audio folder)
Sorry, something went wrong.
You can try the workaround in the branch bugfix/audio-test
Successfully merging a pull request may close this issue.
Reported in the Community Forum here
running
./start-mycroft.sh audioteston Ubuntu 16.04 LTS consistently fails withImportError: cannot import name '_args_from_interpreter_flags'gitinstall./dev_setup.shhas been run recentlyto replicate
./start-mycroft.sh audiotexterror message
The text was updated successfully, but these errors were encountered: