Search code examples
pythonartificial-intelligence

ERROR: Could not find a version that satisfies the requirement os (from versions: none) ERROR: No matching distribution found for os


i'm creating a face mask detector and i want to install the os module

i run this in the console:

pip install os

but i got this error:

Note: you may need to restart the kernel to use updated packages. ERROR: Could not find a version that satisfies the requirement os (from versions: none) ERROR: No matching distribution found for os

using spyder(python 3.9)


Solution

  • os is part of Python core, there should be no need to install it with pip.

    You can import it already.