Comments (8)
Have you installed the python dependencies (pip3 install -r requirements.txt
)?
from oa-core.
Yes, I followed the above steps and installed all dependencies as mentioned in README.md
My Python version is 3.5 and I used pip version 19.x .
Is there some discrepancy in python version and pip version to be used ?
Also, I ran command as pip install -r requirements.txt instead of using pip3.
Any kind of help is much appreciated to get me started with openassistant as I am still stuck at the same step ( Parent module 'oa.modules' not loaded) . Thank you !!
from oa-core.
Thanks for the patience :)
It’s hard to say for sure since people configure their systems in all kinds of ways..
Is your system’s native/built-in version of Python 2.x or 3.x? You can check by just running python
, not python3
. If it’s 2.x, then pip
is going to also be for 2.x, so it would seem like you have the dependencies installed, but they’re actually installed for the wrong version of Python. Also, pip3
might need to be installed separately.
Makes sense?
from oa-core.
Hello!
I also meet this trouble.
My env is base on anaconda python 3.6.2, and OS is Ubunut 18.04.
[2019-04-27 13:48:17,066] INFO MainThread [__main__.py:<module>:94] Start Open Assistant [2019-04-27 13:48:17,066] INFO MainThread [__main__.py:__init__:18] Initializing Open Assistant [2019-04-27 13:48:17,066] DEBUG MainThread [agent.py:__init__:13] <__main__.OpenAssistant object at 0x7fef5aeb7cc0> [2019-04-27 13:48:17,066] INFO MainThread [agent.py:_load_modules:33] Loading Modules <- /home/jia/Downloads/oa-core-master/oa/modules [2019-04-27 13:48:17,066] INFO MainThread [util.py:load_module:60] sound <- /home/jia/Downloads/oa-core-master/oa/modules/sound [2019-04-27 13:48:17,066] ERROR MainThread [agent.py:_load_modules:42] Error loading sound: Parent module 'oa.modules' not loaded, cannot perform relative import [2019-04-27 13:48:17,067] INFO MainThread [util.py:load_module:60] voice <- /home/jia/Downloads/oa-core-master/oa/modules/voice [2019-04-27 13:48:17,067] ERROR MainThread [agent.py:_load_modules:42] Error loading voice: Parent module 'oa.modules' not loaded, cannot perform relative import [2019-04-27 13:48:17,067] INFO MainThread [util.py:load_module:60] speech_recognition <- /home/jia/Downloads/oa-core-master/oa/modules/speech_recognition [2019-04-27 13:48:17,067] ERROR MainThread [agent.py:_load_modules:42] Error loading speech_recognition: Parent module 'oa.modules' not loaded, cannot perform relative import [2019-04-27 13:48:17,067] INFO MainThread [util.py:load_module:60] ear <- /home/jia/Downloads/oa-core-master/oa/modules/ear [2019-04-27 13:48:17,067] ERROR MainThread [agent.py:_load_modules:42] Error loading ear: Parent module 'oa.modules' not loaded, cannot perform relative import [2019-04-27 13:48:17,067] INFO MainThread [util.py:load_module:60] mind <- /home/jia/Downloads/oa-core-master/oa/modules/mind [2019-04-27 13:48:17,067] ERROR MainThread [agent.py:_load_modules:42] Error loading mind: Parent module 'oa.modules' not loaded, cannot perform relative import Traceback (most recent call last): File "/home/jia/anaconda3/envs/oa/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/home/jia/anaconda3/envs/oa/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/jia/Downloads/oa-core-master/oa/__main__.py", line 96, in <module> start() File "/home/jia/Downloads/oa-core-master/oa/__main__.py", line 44, in start a.parts['ear'].output += [a.parts.speech_recognition] File "/home/jia/Downloads/oa-core-master/oa/core/util.py", line 89, in __getitem__ return getattr(self, key) AttributeError: 'Core' object has no attribute 'ear'
from oa-core.
Stuck here too. My env is Ubuntu 16.04 and Python 3.5. Any help??
P.S. 'pip3 install -r requirements.txt' is finished in my env.
from oa-core.
Same behaviour on Debian 9.9, Python 3.5.3 and correctly installed dependencies.
from oa-core.
Merge #14 (thanks @jgrueb) should make things work in master
..
@analyticsUser @jiachenwei @xiaodongliu-fighting : does this resolve the issue?
from oa-core.
I probably missed something obvious, but I found some old code with a comment about this issue.. I think the merged solution is better than the workaround (i.e. hard-coding an import of the base namespace).
from oa-core.
Related Issues (20)
- pip install -r requirements.txt fails on Manjaro Arch Linux HOT 7
- PocketSphinx Missing Attribute HOT 1
- No Module Named 'gi' HOT 2
- pip install -r requirements.txt fails on Windows HOT 3
- Weird voice reply And Difficulty to understand what is said. HOT 3
- Is this still being mantained? HOT 5
- problem with starting up HOT 2
- Is this working? HOT 10
- Begin writing unit testing. HOT 3
- Verify that keyboard command input is working. HOT 6
- Phoneme Availability HOT 1
- No module named 'gi' HOT 2
- Failed to download Windows version HOT 1
- Does not work on Linux HOT 2
- Install instructions for Ubuntu does not work. HOT 3
- Challenges with ALSA / Raspberry Pi OS HOT 1
- no response for voice commands HOT 4
- Error 404 on www.speech.cs.cmu.edu/cgi-bin/tools/lmtool/run
- Installation does not work in Mac OS. HOT 1
- espeak package name in arch linux repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oa-core.