2. Type:
which Pythonit will show the path where python is installed.
For example: /usr/bin/python
3. Now, type the following command:
export PYTHONPATH=$PYTHONPATH:/usr/bin/python
4. Now you're all set. Just to make sure, type following command:
printenv | grep PYTHONor
printenv PYTHONPATHthat should show you :
PYTHONPATH=:/usr/bin/python
if the pythonpath is not set, it shows:
PYTHONPATH=
No comments:
Post a Comment