cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
853
Views
0
Helpful
2
Replies

"error no module found" - Resolving relative path issues with Python

kalkhede
Cisco Employee
Cisco Employee

If you're like me and you just recently set up your work computer for Python dev, you may have encountered some relative path issues when installing/ importing modules. I was writing a program that uses the 'requests' module to make REST calls to the Webex API but I had an error when importing the module. This kind of error is not uncommon in python and it took more time then i'd like to resolve, so I thought i'd share this article in the hopes that it can help others dealing with similar issues.

 

https://scmquest.com/resolved-importerror-no-module-named-requests-usr-bin-python-no-module-named-pip-on-macos/

 

2 Replies 2

omz
VIP Alumni
VIP Alumni

Thanks for sharing. 

The referenced post is about installing a missing module in Python.

Not resolving relative path issues :)

kalkhede
Cisco Employee
Cisco Employee

Yes, you're right. But in my case, I actually had the module installed, I just couldn't import it because of a relative path issue. The reference post helped me resolve it, as well as learn how to trouble shoot missing modules using the function - help("modules") .