Jump to content

Brent

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. I am making a project using Python4Delphi. For this, I need a number of classes in Python. I have put these classes in a separate Python file ('CustomClasses.py'). When I try to import the python-file, I get the following error message: ‘ModuleNotFoundError: No module named 'CustomClasses’.' I don't know why I get this error, because when I import any library I downloaded with pip, I do not get this error. The files are in the same folder, so that can't be the issue. I could put everything in one file, but this would make it so confusing that I would prefer not to do so. Can anyone help me solve this?
×