I have some problems with my computer. Temporarily, I will have to boot ubuntu from a USB drive (trying version without installing) until I repair my computer. How must I define the path so I am able to run python scripts with matplotlib? I tried to define PYTHONPATH=${PYTHONPATH}:/usr/lib/python3.5
then I also add python3 and python2.7. But I got some errors from the folder python 3.5
File "/usr/lib/python3.5/site.py", line 182
file=sys.stderr)
SyntaxError : invalid syntax
Any idea? thank you!
python-matplotlib
orpython3-matplotlib
) within the USB live system/usr/bin/python3
without setting thePYTHONPATH
? If it fails, what error do you get?