wish help you to fix your issue Python 3.3+ will happily interpret it as a package without an __init__.py, fwiw, and I believe that's what the author wrote in. Also note from trying to run it just now, you'll need to install simplejson and requests. (Normally there'd be a requirements.txt or similar saying this.)
hope this fix your issue The reason why the scipy module could not be found is because the python executable run by os.system was not part of the python installation which had scipy installed. (There is more than one python distribution installed on this machine.) The issue was diagnosed by putting
Importing datetime raises ModuleNotFound 'math' in Python script when executed by command line
it fixes the issue I've updated my OS to Ubuntu 18.04 (Bionic Beaver), the following steps will still works if you're using other version, but it's still worth to mention that I'm no longer in 17.10 version as the stated in the original question. Turns out that even with python -V showing something with Anaconda, the python command was still pointing to some python2.7. I found that after installing django and trying to run python3 -m django --version to check if the version was right and it showed a message saying that django wasn't installed.
module not found when python script run from command line
To fix the issue you can do Both ISO8583.py and ISO8583Errors.py are located inside the ISO8583_payment folder. Also, I created the dummy __init.py__ inside ISO8583_Payment folder. When run ISO8583.py from the command line it throws me an error. But it works when I run from pyCharm IDE. , Try following:
from ISO8583_Payment.ISO8583Errors import ...
from ISO8583_Payment.ISOErrors import ...
Importing a Python module works from command line, but not from PyCharm