I am trying to install \'os\' module and \'os.path\' module on a red hat machine. I tries following commands.
pip install os
yum install os
Try this command. It worked in my system.
pip install path.py
Take a look into this extensive list of Python Library 3.4. If it's mentioned there that means it's already included in the original installation of Python. More specifically os.path
The reason you're getting this specific error because you're trying to install something that doesn't exist. The hint for that is os.path (from versions: ) meaning there isn't an external package that matches "os.path" or any proper version of it.