'Cannot run Python module [duplicate]

I am trying to run the Python 3 module '3to2' on Windows 10. Here is part of my pip3 list:

Package                       Version
----------------------------- -----------
3to2                          1.1.1

I am trying to execute it with py -3 -m 3to2, but am receiving this:

C:\Users\Ben Bistline\AppData\Local\Programs\Python\Python39\python.exe: No module named 3to2

I think it has something to do with my Python Path, but I am unsure.

Thanks!



Solution 1:[1]

There is no module called 3to2. Module names can't start with a digit. Instead, there should be a standalone file in your "...\Programs\Python\Python39\Scripts" directory called 3to2.py. That's what you need to run.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Tim Roberts