Closed stasoid closed 1 year ago
This script ran successfully in Python 3.10 and 3.11. Although not explicitly stated in the documentation, Python 3.8 is "tier 2 support", which is more unstable than 3.10 or 3.11.
We will work on fixing this, but for the time being, please run Erg using the Python version shown above.
Alternatively, you can convert Erg scripts to Python scripts with the --mode transpile
option. This feature is still experimental, but with this feature, you can run scripts with any Python version (>=3).
The bug that caused files to be deleted when no extension was added has been fixed.
Yes, it works with Python 3.11, thank you.
Describe the bug?
Erg fails with
RuntimeError: Bad code object in .pyc file
and deletes code file:I tried other versions, 0.5.8 is the latest version that I am able to compile that doesn't have this bug:
Erg version
0.5.13 also tested latest dev version
Python version
3.8.10
OS
Ubuntu 20.04 (On Windows 10 through WSL2)