-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
ModuleNotFoundError: No module named 'numpy' #5
Comments
so the i would guess that the virtualenv is different than either of those two python versions -- one way to check is to enter the virtualenv by |
Thank you very much! This bug has been solved. But there is another error when running this command: "./train.sh TrainPhase1" as follows:
|
hmm. the Also, when pasting any code/terminal logs, it's helpful to use this formatting:
|
when I add
I think it the config objtct get loaded from the |
I'm sorry, I still don't know how to solve the error above and I need your help, thank you very much! |
ok, thanks, that indicates that the config isn't being loaded from the right place. for me, in
which includes The I'm pretty sure something has gone wrong in that |
Thank you very much! This bug has been solved due to the
I guess it is due to the checkpoints with episode, and does the |
Hello, I got an error when running this command: "./train.sh TrainPhase1" as follows:
`Entered virtualenv.
Running GA3C-CADRL gym-collision-avoidance training script (TrainPhase1)
Traceback (most recent call last):
File "Run.py", line 31, in
import Config
File "/catkin_ws/src/CADRL/rl_collision_avoidance/ga3c/GA3C/Config.py", line 27, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
but in my linux, this 'numpy' package has been already installed in two versions of python(2.7 and 3.6):
~/catkin_ws/src/CADRL/rl_collision_avoidance$ pip3 install numpyDefaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (1.19.5)
~/catkin_ws/src/CADRL/rl_collision_avoidance$ pip install numpy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (1.19.5)
`
and there is not error when I run "import numpy" in interactive environment of python2 and python3:
python3
Python 3.6.9 (default, Oct 8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
python
Python 2.7.17 (default, Sep 30 2020, 13:38:04)
[GCC 7.5.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I guess that due to the high version of numpy1.19.5? If so, what version should I install?
I don't how to solve it.
Thank you very much!
The text was updated successfully, but these errors were encountered: