Can't find default installation for Python on Linux?
anonymous
2010-09-28 05:49:32 UTC
Just installed Python 2.6 on my Ubuntu netbook. I can't find the directory for all the modules (i.e. maths, os) that come with Python. Any ideas?
Four answers:
Dave
2010-09-28 10:40:13 UTC
The default python modules are globally accessible. No relative or full path should be required.
try:
import math
import os
Let us know if that doesn't work.
?
2016-11-02 06:12:34 UTC
Terminal type reproduction paste sudo apt-get setting up python 3.2 Or it ought to be python3.2 or something it extremely is accessible which you're on debian or perhaps python-3.2 or perhaps its no longer 3.2 basically 3 idk i basically did it as quickly as Print(be conscious) haha
Nick T
2010-09-29 15:29:58 UTC
in a shell type "whereis python" , should give you a list of possibles!
?
2010-09-28 05:52:36 UTC
http://docs.python.org/install/
does this help
or use
http://ubuntuforums.org/
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.