I installed the module requests
through Terminal with sudo pip3 install requests
(I'm using Mac) and I was able to import it through the interactive shell without problems in IDLE. But when I try to import through Thonny's interactive shell, the following error appears:
Traceback (most recent call last):
File "<pyshell>", line 1, in <module>
ModuleNotFoundError: No module named 'requests'
And when I try for IDLE ...
Python 3.6.2 (v3.6.2:5fd33b5926, Jul 16 2017, 20:11:06)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit http://www.python.org/download/mac/tcltk/ for current information.
import requests
>>>
What do I do? If it is installed, why IDLE recognizes, but Thonny does not? What do I do for Thonny to recognize? I can not use IDLE , because when I put IDLE accent, IDLE gives "Not responding" ... I need to use Thonny ...