probleb running python files

A forum for general discussion of the Python programming language.

probleb running python files

Postby nancy » Fri Jul 11, 2014 2:41 pm

Hi

I have installed python 3.3.0 on debian and set the environment variables as follows:
Path: upto the bin directory where python is installed
Pythonpath: upto the folder whose imports i am using

Now the problem is whenever i use to run any python file it give me below errors:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site


Please help how to solve this error.
Last edited by Yoriz on Fri Jul 11, 2014 4:09 pm, edited 1 time in total.
Reason: First post lock.
nancy
 
Posts: 1
Joined: Fri Jul 11, 2014 11:23 am

Re: probleb running python files

Postby Yoriz » Fri Jul 11, 2014 4:09 pm

Welcome to the forum, Please read the new users read this link in my signature.
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Spam topic disapproval technician
Windows7, Python 2.7.4., WxPython 2.9.5.0., some Python 3.3
User avatar
Yoriz
 
Posts: 831
Joined: Fri Feb 08, 2013 1:35 am
Location: UK


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 3 guests