ModuleNotFoundError: No module named 'objectpath' while the package is installed

1.5k views Asked by At

I'm using python 3.7.1 (on windows 10) for the first time and i want to

import objectpath

I have installed the package successfully with pip using:

pip install objectpath

Requirement already satisfied: objectpath in c:\users\appdata\local\programs\python\python37-32\lib\site-packages (0.6.1)

But the code generates an error as it haven't find the object path

import objectpath ModuleNotFoundError: No module named 'objectpath'`

I'am using the interpreter Project default(python3.7(python))

1

There are 1 answers

0
salehelas On

This worked for me:

pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org objectpath