[issue14216] ImportError: No module named binascii

2014-04-14 Thread A.M. Kuchling
A.M. Kuchling added the comment: No traffic on bug in 2 years, and not clear if there's anything to fix. Closing. -- nosy: +akuchling resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14216] ImportError: No module named binascii

2012-03-08 Thread Ramchandra Apte
Ramchandra Apte added the comment: See http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3. What it says might be the cause of the problem. -- nosy: +ramchandra.apte ___ Python tracker

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu added the comment: Hi, Eric Araujo, Thanks for your help. I run "make -s" and found the following message. It seems that binascii cannot be built correctly. What should I do? Many thanks. libpython2.7.a(posixmodule.o)(.text+0x47e1): In function `posix_tmpnam': ./Modules/posixmodule.c:

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Éric Araujo
Éric Araujo added the comment: I suggest you do two things: - first, run “make -s” to reduce messages and see if the binascii module is compiled correctly or skipped - second, avoid possible misleading issues with PATH entirely by starting your Python with an absolute path, like ~/path/to/pyth

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu added the comment: Dear Martin, I did the following operations ./configure --prefix= "/img01/home/liuqian1/PLAprediction/software/PythonInstall" make make install and then MPYTHONHOME="/img01/home/liuqian1/PLAprediction/software/PythonInstall" PATH="$MPYTHONHOME/bin":$PATH However,

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu added the comment: Dear Martin, Many thanks for your help and your reply. I will correct the errors and let you know the result. best regards, Qian Liu On Wed, Mar 7, 2012 at 5:07 PM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > There are some minor errors inde

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: There are some minor errors indeed: the syntax for PATH and PYTHONPATH is wrong (don't use quotes (") in the middle of the value). Also, putting site-packages into PYTHONPATH should not be necessary. I think the main cause might be the incorrect --prefix arg

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Qian Liu
Qian Liu added the comment: Dear Martin, Thanks for your reply. I went to the folder of python after "tar -zxvf Python-2.7.2.tgz" and do the following operations: ./configure --prefix="~/PythonInstall" make make install where "~" represent the path in my computer and it is long in the report;

[issue14216] ImportError: No module named binascii

2012-03-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: You probably did something wrong when installing Python. How exactly did you get it into ~/PythonInstall? -- nosy: +loewis ___ Python tracker ___

[issue14216] ImportError: No module named binascii

2012-03-06 Thread Qian Liu
New submission from Qian Liu : File "~/PythonInstall/lib/python2.7/multiprocessing/process.py", line 129, in start from .forking import Popen File "~/PythonInstall/lib/python2.7/multiprocessing/forking.py", line 58, in from pickle import Pickler File "~/PythonInstall/lib/python2.7/