I want to generate the compiled .pyc from .py scripts in Python 2.6.6. The following line works in Python 2.7:
python -m compileall C:\una_ruta\myscript.py
If I do the same in Python 2.6.6 (even passing the complete routes):
C:\Python26\python -m compileall C:\una_ruta\myscript.py
I get the following error:
Listing myscript.py ...
Can not list myscript.py
I'm using Windows 7 SP1 x64.