These are chat archives for spyder-ide/public

11th
Mar 2019
jproy
@jproy
Mar 11 11:25
How may I execute a Python program in Spyder in the system Terminal of my Mac, as I have problems when running it at the console ? Using execution options and choosing "external Terminal" instead of console, nothing happens when executing.
CAM Gerlach
@CAM-Gerlach
Mar 11 17:37
@jproy Unfortunately, I don't believe that capability is not currently implemented for macOS since up until recently we haven't had any macOS developers to test it, see spyder-ide/spyder#5062 . However, it should be possible to add, now that we have a macOS developer. I will inquire and see. Thanks for your feedback!

I have problems when running it at the console

What are those problems, specifically? Maybe we can fix them...

dawn77084
@dawn77084
Mar 11 22:45
Hi
CAM Gerlach
@CAM-Gerlach
Mar 11 22:53
Hello @dawn77084 , how can we help you with Spyder?
dawn77084
@dawn77084
Mar 11 22:56
I used Spyder for over half year. I used Anaconda Navigator to download python library or modules to my local computer. Specifically, I downloaded Keras and OpenCV under the directory of the environment. Once I finished downloading, I can import those two in python codes. But, few days ago, I suddenly found my icon of Spider is disappeared from the taskbar and I opened Spyder from start of computer. After I opened Spyder this way, those two modules can not be found and error message shown me: "ModuleNotFoundError: No module named 'keras'"
I checked those two modules by installed module in the environment under the directory, I saw those two modules there. So, what are the problems? And, what should I do I can get those two modules in python codes?
CAM Gerlach
@CAM-Gerlach
Mar 11 23:10
@dawn77084 You are probably opening Spyder in a different Anaconda environment than the one in which you installed your packages. Please see our guide to working with packages and environments with Spyder for more information about this and how to resolve it.