Re: ImportError: No module named site

2015-07-27 Thread Laura Creighton
What I want to know is can you import anything else? If site.py is just the first thing in a long list of modules, and you cannot find any of them, which is what I think is the case, and I'd start looking for problems with the PYTHONPATH then you have a different problem than if you can find other

Re: ImportError: No module named site

2015-07-27 Thread Terry Reedy
On 7/26/2015 10:00 PM, chenc...@inhand.com.cn wrote: hi: I'm Needing to get python 2.7.10 to cross compile correctly for an ARM embedded device. When I execute python using shell, it comes out this error:ImportError: No module named site.I have setted environment varible:PYTHONHOME and PYTH

Re: Fwd: ImportError: No module named site

2015-07-23 Thread chenc...@inhand.com.cn
hi: Do you know, where can I download the python2.7.10-xcompile.patch file?thanks. On 07/24/2015 10:20 AM, Christopher Mullins wrote: What did you set those variables to? Also, output from python -v would be helpful. On Jul 23, 2015 10:15 PM, "Laura Creighton" > w

Re: Fwd: ImportError: No module named site

2015-07-23 Thread Christopher Mullins
What did you set those variables to? Also, output from python -v would be helpful. On Jul 23, 2015 10:15 PM, "Laura Creighton" wrote: > In a message of Fri, 24 Jul 2015 09:37:35 +0800, "chenc...@inhand.com.cn" > write > s: > >hi: > >I'm Needing to get python 2.7.10 to cross compile correctly for

Re: Fwd: ImportError: No module named site

2015-07-23 Thread Laura Creighton
In a message of Fri, 24 Jul 2015 09:37:35 +0800, "chenc...@inhand.com.cn" write s: >hi: >I'm Needing to get python 2.7.10 to cross compile correctly for an ARM >embedded device. When I execute python using shell, it comes out this >error:ImportError: No module named site.I have setted environment

Fwd: ImportError: No module named site

2015-07-23 Thread chenc...@inhand.com.cn
hi: I'm Needing to get python 2.7.10 to cross compile correctly for an ARM embedded device. When I execute python using shell, it comes out this error:ImportError: No module named site.I have setted environment varible:PYTHONHOME and PYTHONPATH. Is there some good idea to sovle this issue?

ImportError: No module named site

2015-07-23 Thread chenc...@inhand.com.cn
hi: I'm Needing to get python 2.7.10 to cross compile correctly for an ARM embedded device. When I execute python using shell, it comes out this error:ImportError: No module named site.I have setted environment varible:PYTHONHOME and PYTHONPATH. Is there some good idea to sovle this issue? --

Python 2.6.6 on Windows 7 problem - "ImportError: No module named site"

2011-07-15 Thread Mark Ohrboot
Hello! If I start python -v, I get "# installing zipimport hook import zipimport # builtin # installed zipimport hook 'import site' failed; traceback ImportError: No module named site" Entering any command yields "LookupError: no codec search functions registered

python on a cray xt5, ImportError: No module named site

2011-02-21 Thread Burlen Loring
with Cray's compiler wrappers. I set PYTHONHOME to point to the install. I am able to run the build fine on the login nodes but when I run on the compute nodes I get the error: "ImportError: No module named site". Full output from -v pasted below. site.py is present. I tried runni