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


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.
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.
Due to the reasons discussed here we will be moving to on October 1 2016
This forum will be locked down and no one will be able to post/edit/create threads, etc. here from thereafter. Please create an account at the new site to continue discussion.
User avatar
Posts: 1672
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 1 guest