Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 524
FoCo JS Avatar asked Apr 23 '26 01:04

FoCo JS


1 Answers

You need reinstall:

For Mac OS / Linux

pip3 install setuptools

For Windows

pip install setuptools
like image 144
Timur U Avatar answered Apr 24 '26 16:04

Timur U



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!