Quantcast
Channel: ImportError: cannot import name only when running file from atom - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by vodo42 for ImportError: cannot import name only when running file...

exceptions is a python standard module. If you use same name for your private module, this may mix-up.

View Article



ImportError: cannot import name only when running file from atom

Given two files on the directory /khwarizmi such as /khwarizmi/linear.py and /khwarizmi/exceptions.py, importing functions and classes from one another works without problem when running the scripts...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images