T
T
Twelfth Doctor2017-09-20 19:04:15
Python
Twelfth Doctor, 2017-09-20 19:04:15

Why can't PyCharm find the classes?

Hello. For some reason, Python can't find the classes while the interpreter does. This is how PyCharm detects classes, but then the Python interpreter does not find them.

from ..models.Mailbox import Mailbox
from ..models.Domains import Domains
from ..models.Mailalias import Mailaliases
from ..models.User import Users

And so the interpreter pulls everything up, but PyCharm does not find them:
from models.Mailbox import Mailbox
from models.Domains import Domains
from models.Mailalias import Mailaliases
from models.User import Users

What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-09-20
@verdex

PyCharm not seeing my classes?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question