FoCo JS
FoCo JS

Reputation: 31

Why is my setuptools not working in Python 3.9?

I am having an issue with setuptools. I am trying to install PyUSB for an Adafruit FT232H and apparently it needs a different fork than the standard PyUSB. I have that downloaded and I'm in the folder that has its setup.py files. When I run python setup.py install I get this:

Traceback (most recent call last): File "setup.py", line 18, in <module> from setuptools import setup ModuleNotFoundError: No module named 'setuptools'

I did some searching and I found hundreds of people saying to uninstall setuptools and reinstall it. I have done that successfully but I still get the module not found error. It's at version 50.3.0.

I completely uninstalled Python and reinstalled everything with the same issue. How can I fix this?

Python 3

Upvotes: 3

Views: 6231

Answers (2)

FoCo JS
FoCo JS

Reputation: 31

I uninstalled Python 3.9 and installed 3.8 and that seems to have fixed this issue.

Upvotes: 0

Timur U
Timur U

Reputation: 445

You need reinstall:

For Mac OS / Linux

pip3 install setuptools

For Windows

pip install setuptools

Upvotes: 2

Related Questions