Python Forum
My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' (/thread-28866.html)



My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' - RuanKishibe - Aug-06-2020

First things first, english isn´t my first language, but I will still try my best.

I´m a newbie in Python (started to program in it two weeks ago), and when I try to use the Python Console (In Pycharm) it simply doesn´t work.I tried to search a way of fixing this, but wasn´t able to find anything usefull. Here is what appears to me:


Error:
C:\Users\T-Gamer\PycharmProjects\CursoEmVídeo\venv\Scripts\python.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py" --mode=client --port=51752 Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\pydevconsole.py", line 5, in <module> from _pydev_comm.pydev_rpc import make_rpc_client, start_rpc_server, start_rpc_server_and_make_client File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\_pydev_comm\pydev_rpc.py", line 4, in <module> from _pydev_comm.pydev_server import TSingleThreadedServer File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.1\plugins\python-ce\helpers\pydev\_pydev_comm\pydev_server.py", line 2, in <module> import traceback File "C:\Users\T-Gamer\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 5, in <module> import linecache File "C:\Users\T-Gamer\AppData\Local\Programs\Python\Python38\lib\linecache.py", line 11, in <module> import tokenize ModuleNotFoundError: No module named 'tokenize' Process finished with exit code 1



RE: My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' - deanhystad - Aug-06-2020

Does it work if you open a command prompt and run python (or python3)? How about if you try to import tokenize from the IDLE console? Whenever I have a problem inside an IDE I verify that I have the same problem outside the IDE.