When running your scripts, are you using
Code:
$ python filename.py
or are you relying on the shebang by using
Your error sounds like you are using the wrong shebang, and thus coming up with the wrong interpreter. I usually use
Code:
#!/usr/bin/env python
The command
which python will tell you exactly where your interpreter is located.
Also, for future reference, you can use apt to install python in DSL:
Code:
$ sudo dpkg-restore
$ sudo apt-get update
$ sudo apt-get install python
There should be a way to install it via DSL's own tools, but I've never taken the time to learn how.