Python 2.7.3 (default, Apr 10 2012, 23:31:26)
Type "electrum -help" for a list of available commands.
(Full documentation at https://en.bitcoin.it/wiki/Electrum)
---
05/09/2012 12:58:14.09> echo ..\python27\python.exe (electrum) %WALLFILE% %1 %2
%3 %4 %5 %6 %7 > e.cmd
05/09/2012 12:58:17.72> e
05/09/2012 12:58:18.76> ..\python27\python.exe (electrum)
ImportError: No module named site
05/09/2012 12:58:18.78>
Python 2.7.3 (default, Apr 10 2012, 23:31:26)
Type "electrum -help" for a list of available commands.
(Full documentation at https://en.bitcoin.it/wiki/Electrum)
---
05/09/2012 11:39:25.20> e
File "C:\Csvn\Python25\\lib\site.py", line 159
file=sys.stderr)
^
SyntaxError: invalid syntax
05/09/2012 11:39:30.04> Python (electrum)
File "C:\Csvn\Python25\\lib\site.py", line 159
file=sys.stderr)
^
SyntaxError: invalid syntax
05/09/2012 11:39:45.75>
Yeah Python can easily turn into a version hell under Windows
Ok, let's force Electrum to use the correct environment:
Type this into the console (probably easier to copy-paste that):
echo ..\python27\python.exe (electrum) %WALLFILE% %1 %2 %3 %4 %5 %6 %7 > e.cmd
then "e" again.
Does that work any better? If yes, I will incorporate this change when I make my next build.