[Tutor] Using python 3 on Ubuntu 14.04
Jim Byrnes
jf_byrnes at comcast.net
Wed Dec 23 17:58:24 EST 2015
I am in the process of moving from unbutu 12.04 to 14.04. I was doing
some testing and got this:
jfb at Jims-1404:~$ cd MyProgs
jfb at Jims-1404:~/MyProgs$ cd passwords
jfb at Jims-1404:~/MyProgs/passwords$ python3 passwords.py
Traceback (most recent call last):
File "passwords.py", line 8, in <module>
from PythonCard import model,clipboard
ImportError: No module named 'PythonCard'
If I simply start it with python passwords.py it runs fine. There is
no need to use python 3 on this particular program but if I wanted to
write for python 3 in the future what do I need to do to run programs
with it?
Thanks, Jim
More information about the Tutor
mailing list