fatal python error py_initialize unable to set the locale encoding Lakehead California

Quality, Experience, Trust For over 20 years Friendly Computing has been providing the highest level of quality and customer satisfaction to home and business customers alike. Our commitment to quality and excellence in customer service makes Friendly Computing a name you can trust.

• Laptop & Desktop Repairs & Upgrades  • New & Used Computers, Laptops and Tablet Sales • On-Site Services • Networks & Networking • Home Theater Setup • Data Recovery • Computer & Network Repairs & Service for Businesses • Computer & Projector Rentals • Computer Training

Address 2418 Victor Ave, Redding, CA 96002
Phone (530) 221-6000
Website Link http://www.friendlycomputing.biz
Hours

fatal python error py_initialize unable to set the locale encoding Lakehead, California

House of Santa Claus Why is it a bad idea for management to have constant access to every employee's inbox? PYTHONHOME is used for the standard libraries, again, there's an explanation in the docs. Several answers help to fix it temporarily, but not for good. How should I interpret "English is poor" review when I used a language check service before submission?

A better way to evaluate a certain determinant Replace lines matching a pattern with lines from another file in order Can Dandelion defeat you? Exploded Suffixes Can a Legendary monster ignore a diviner's Portent and choose to pass the save anyway? What are Imperial officers wearing here? Solution: The problem might be due to multiple Python installations on your machine and the command ‘python3.5‘ might be referring to libraries that belong to a different version of Python.

Ubuntu comes with Python preinstalled .(at least it should, since many system scripts, such as the updater are written in Python.) –the_Seppi Sep 2 '14 at 19:42 Yes, I'm Techglimpse does not gurantee accuracy, completness or validity. I have used PYTHONHOME to pointo python libraries and PYTHONPATH to the interpretor. Physically locating the server In the United States is racial, ethnic, or national preference an acceptable hiring practice for departments or companies in some situations?

Join them; it only takes a minute: Sign up Py_Initialize: Unable to get the locale encoding in OpenSuse 12.3 up vote 13 down vote favorite 3 I have downloaded Python3.3 and more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed By unsetting the PYTHONPATH, do you mean manually setting it up on startup everytime? I will check to see if it appears in later distributions.

I reinstalled python3 and even rebooted the system. more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Here's the complete error message: # python3.5 Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' Current thread 0x00007ff41bf46700 (most recent call first): Aborted (core asked 5 years ago viewed 3895 times active 2 years ago Related 0Python error after installing libboost-all-dev on debian1No module Found error in Linux but Works fine in Windows3How to test

What are "desires of the flesh"? Good Term For "Mild" Error (Software) Does chilli get milder with cooking? Assuming you installed python3 under /usr/local, try that as PYTHONHOME –Thomas Fenzl May 12 '13 at 21:29 Brilliant! In nomenclature, does double or triple bond have higher priority?

a bullet shot into a suspended block How would they learn astronomy, those who don't see the stars? rm -rf venv virtualenv -p /usr/bin/python3 venv/ source env/bin/activate pip install -r requirements.txt https://wiki.ubuntu.com/XenialXerus/ReleaseNotes#Python_3 share|improve this answer answered Aug 23 at 9:11 Anoop Malav 835 add a comment| Your Answer What can I do from here? Why is absolute zero unattainable?

Does chilli get milder with cooking? see edit) –yoder Sep 16 '13 at 19:47 add a comment| up vote 0 down vote If you just need it to work and don't care about the old setup you Is intelligence the "natural" product of evolution? share|improve this answer answered Jun 24 '15 at 16:40 asmeurer 26115 Sincere apologies for the late reply, sir.

This had me go through a entire saga of package removals and reinstalls, and of course, a lot of updates and upgrades, to try and fix the problem by myself. What is the output of `echo $PYTHONPATH`? Note that WSGIPythonHome cannot be used to refer to a Python installation or virtual environment which is a different version than what mod_wsgi was compiled for. Was the Balrog of Moria aware of the presence of the One Ring during the events of Khazad-dûm?

asked 2 years ago viewed 4356 times active 2 years ago Linked 29 run python in terminal 1 Fatal Python error: Py_Initialize: Unable to get the locale encoding Related 3Typing commands What's the most recent specific historical element that is common between Star Trek and the real world? The output of echo $PYTHONPATH is.:/usr/lib/python2.7: Offline #9 2014-06-02 16:32:53 Scimmia Bug Wrangler Registered: 2012-09-01 Posts: 5,187 Re: python3 broken after recent upgrade Your first answer was better, it shouldn't output In this particular case, you were specifying a Python 2.7 path for your bash shell to use universally and in doing so, broke any programs that rely on a different Python

I will keep looking into this and edit my answer (or refer to existing answers, if any) as soon as I find out why this happens. 14.04 python python-2.7 conda share|improve You can do this by making the first line in your Python scripts something like this: #!/usr/bin/python2 Conversely, you can specify Python 3 to be used when running a script with It is generally not needed, and it causes things to break like this by making one Python load things from another Python (in this case, it looks like the system's Python Not the answer you're looking for?

Two types of magnestism? share|improve this answer answered Sep 2 '14 at 20:40 user145510 4614 Did you manually add the export line in you .bashrc file? –dan08 Sep 2 '14 at 20:50 add A Shadowy Encounter Can a Legendary monster ignore a diviner's Portent and choose to pass the save anyway? Cyberpunk story: Black samurai, skateboarding courier, Mafia selling pizza and Sumerian goddess as a computer virus This riddle could be extremely useful What are Imperial officers wearing here?

Not the answer you're looking for? It looks them up via these PYTHONXXX variables. Unusual keyboard in a picture Is there any job that can't be automated? Why is the spacesuit design so strange in Sunshine? (KevinC's) Triangular DeciDigits Sequence Players stopping other player actions How do investigators always know the logged flight time of the pilots?

But your answer is most useful for future readers so I accepted. ;-) (my problem is solved. How should I interpret "English is poor" review when I used a language check service before submission? Not the answer you're looking for? It is not set Offline #8 2014-06-02 16:09:58 stefano Member Registered: 2011-04-09 Posts: 103 Re: python3 broken after recent upgrade Let me correct that, I was messing around with the environmental

How would you help a snapping turtle cross the road? Offline #6 2014-06-02 15:59:15 Scimmia Bug Wrangler Registered: 2012-09-01 Posts: 5,187 Re: python3 broken after recent upgrade I didn't see your edit to the OP until just now. I am not if my understanding is correct. Same thing with eclipse. –Thomas Fenzl May 13 '13 at 6:35 | show 2 more comments 1 Answer 1 active oldest votes up vote 1 down vote If you see this

The mortgage company is trying to force us to make repairs after an insurance claim What is the most expensive item I could buy with £50? Why is absolute zero unattainable? see edit) –yoder Sep 16 '13 at 19:48 add a comment| Not the answer you're looking for? Browse other questions tagged bash python or ask your own question.

How to decrypt a broken S/MIME message sent by Outlook? The error output contains:>>Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' << Could you please help. –Sabyasachi Mitra May 13 '13 at 6:02 Can Communism become a stable economic strategy? which does not tell you if it exists. –wxl Sep 2 '14 at 19:20 Is UnknownProgram the actual name for something?

Thanks! –Christopher Mahan Sep 16 '13 at 18:17 There are a problem during reinstallation: Reading package lists [...] Setting up python3.3-minimal (3.3.0-1) ...