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
  In Console,Python anna17 0 134 Mar-23-2024, 08:24 PM
Last Post: anna17
  no module named 'docx' when importing docx MaartenRo 1 713 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 22,949 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,166 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,313 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,392 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,227 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 964 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Why doesn't calling a parent constructor work with arbitrary keyword arguments? PurposefulCoder 4 870 Jun-24-2023, 02:14 PM
Last Post: deanhystad
  Help with pyinstaller "No module named" korenron 9 8,217 Jun-15-2023, 12:20 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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