missing modules

49 views
Skip to first unread message

JohnD Bahng

unread,
Jul 23, 2019, 10:42:19 AM7/23/19
to spyder
I have just updated to Spyder3.3.6.  When I restarted spyder in Anaconda, the screen looked the same, but when I entered "import numpy as np", I get an error message:
"No module named numpy", Also the same problem with 'import matplotlib.pyplot as plt'.  Obviously, these modules did not load.  What can I do?   Thanks.

Ratnesh Kumar Kushwaha

unread,
Jul 24, 2019, 5:34:20 AM7/24/19
to spyd...@googlegroups.com
It is because Spyder is using the different Python version/path.

From command line try to run
spyder3

OR

Set python path in Spyder Tools->Prefereneces->Python Interpreter




On Tue, Jul 23, 2019 at 8:12 PM JohnD Bahng <johnd...@gmail.com> wrote:
I have just updated to Spyder3.3.6.  When I restarted spyder in Anaconda, the screen looked the same, but when I entered "import numpy as np", I get an error message:
"No module named numpy", Also the same problem with 'import matplotlib.pyplot as plt'.  Obviously, these modules did not load.  What can I do?   Thanks.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/2634c951-6cfc-41f6-b962-a9c0139e61bd%40googlegroups.com.


--
Many Thanks & Regards,
Ratnesh Kumar Kushwaha
Software Engineer (Python)
Mob. 7898617389


JohnD Bahng

unread,
Jul 24, 2019, 10:09:40 AM7/24/19
to spyder
Actually, I was able to fix the problem by installing the modules using the Terminal as follows:
           conda install numpy=1.16.2
    conda install matplotlib=3.0.3
Everything seems to be working normally, now.
Thank you very much for the help.

JohnD Bahng

On Wednesday, July 24, 2019 at 5:34:20 AM UTC-4, Ratnesh Kumar Kushwaha wrote:
It is because Spyder is using the different Python version/path.

From command line try to run
spyder3

OR

Set python path in Spyder Tools->Prefereneces->Python Interpreter




On Tue, Jul 23, 2019 at 8:12 PM JohnD Bahng <johnd...@gmail.com> wrote:
I have just updated to Spyder3.3.6.  When I restarted spyder in Anaconda, the screen looked the same, but when I entered "import numpy as np", I get an error message:
"No module named numpy", Also the same problem with 'import matplotlib.pyplot as plt'.  Obviously, these modules did not load.  What can I do?   Thanks.

--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyd...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages