Python Forum
My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize'
#1
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
Reply
#2
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'tkcalendar', Thonny, Windows 10 Edward_ 4 908 Apr-06-2025, 07:56 PM
Last Post: Edward_
  PIP doesn't work YKR 1 711 Mar-28-2025, 02:10 PM
Last Post: snippsat
  I'm trying to install python 3.11.11 on windows 10 - it doesn't work Petonique 2 2,050 Feb-04-2025, 05:42 PM
Last Post: snippsat
  No module named 'importlib.metadata' EdVS 3 1,132 Jan-30-2025, 09:55 AM
Last Post: Larz60+
  Python doesn't run! leon_heller 2 1,296 Nov-27-2024, 10:00 AM
Last Post: buran
  ModuleNotFoundError: No module named 'athena_read' raman 2 1,342 Jul-01-2024, 07:52 AM
Last Post: Gribouillis
  Extending list doesn't work as expected mmhmjanssen 2 1,431 May-09-2024, 05:39 PM
Last Post: Pedroski55
  In Console,Python anna17 0 726 Mar-23-2024, 08:24 PM
Last Post: anna17
  no module named 'docx' when importing docx MaartenRo 1 5,797 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 31,367 Nov-02-2023, 08:20 AM
Last Post: South_east

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020