From nounou__nounou at hotmail.fr Mon Feb 6 14:10:44 2012 From: nounou__nounou at hotmail.fr (nou nou) Date: Mon, 6 Feb 2012 14:10:44 +0100 Subject: [Python-porting] =?windows-1256?q?problem_python=FE?= Message-ID: <COL103-W37EBFDCB5E1ACE9235989DBA740@phx.gbl> Hi, I have the following error when i run a python file : Traceback (most recent call last): File "MySimulation.py", line 14, in <module> from random import * File "/usr/local/lib/python2.6/random.py", line 48, in <module> from binascii import hexlify as _hexlifyImportError: No such file or directory Have you a solution ? Thanks in advance.Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-porting/attachments/20120206/8a0140a3/attachment.html> From brett at python.org Mon Feb 6 18:59:35 2012 From: brett at python.org (Brett Cannon) Date: Mon, 6 Feb 2012 12:59:35 -0500 Subject: [Python-porting] =?utf-8?q?problem_python=E2=80=8F?= In-Reply-To: <COL103-W37EBFDCB5E1ACE9235989DBA740@phx.gbl> References: <COL103-W37EBFDCB5E1ACE9235989DBA740@phx.gbl> Message-ID: <CAP1=2W71EzVVHn=R9EDGZVFbSQvpuRKJrcGe7G-JGeLXrTiG1A@mail.gmail.com> This is not the right mailing list to ask for technical help like this; the list is meant to discuss porting Python apps from Python 2 to Python 3. As for your problem, though, it looks like you didn't get the binascii extension built. If you need help with compiling you should ask on python-list or do a Google search. 2012/2/6 nou nou <nounou__nounou at hotmail.fr> > Hi, > > I have the following error when i run a python file : > > Traceback (most recent call last): > File "MySimulation.py", line 14, in <module> > &nbs p; from random import * > File "/usr/local/lib/python2.6/random.py", line 48, in <module> > from binascii import hexlify as _hexlify > ImportError: No such file or directory > > > Have you a solution ? > > Thanks in advance. > Best regards > > _______________________________________________ > Python-porting mailing list > Python-porting at python.org > http://mail.python.org/mailman/listinfo/python-porting > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-porting/attachments/20120206/224d0149/attachment.html>