liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.46k stars 223 forks source link

ImportError with larger files #141

Open bi3mw opened 2 years ago

bi3mw commented 2 years ago

I get an error message when running the program with larger files (6.8 MB) ( parameter is "--gzip" but I think this is not the problem ). The error message is:

Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/matthias/Apps/pyminifier-master/pyminifier/main.py", line 4, in from . import pyminify ImportError: attempted relative import with no known parent package