Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    can you try from .Chess import Commented Jan 17, 2022 at 5:41
  • try import ChessEngine without the Chess parent Commented Jan 17, 2022 at 5:42
  • It depends on how and where you are calling your script. Right now, Python looks for a module Chess and try to import. If you are running inside Chess , then that folder|module doesn’t exist and thus error. Either call your script outside Chess,cd .. && python Chess/ChessMain.py Or use set PYTHONPATH to tell Python where it should look Commented Jan 17, 2022 at 6:04