Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'importerror:': 0.07; 'defines': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bug': 0.12; 'range,': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'trying': 0.19; 'input': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'script.': 0.24; 'subject:problem': 0.24; 'header:X-Complaints- To:1': 0.27; 'workaround': 0.31; 'writes:': 0.31; 'subject:with': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'charset:us- ascii': 0.36; 'hi,': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'new': 0.61; 'received:217': 0.63; 'name': 0.63; 'different': 0.65; '6.5': 0.84; 'cuda': 0.84; 'intern': 0.84; 'intern,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: problem with six.moves intern importError Date: Mon, 15 Dec 2014 08:34:55 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e0b75c.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:6rrJD7+w5U8N9bWxf9q8CGHLY9o= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418628911 news.xs4all.nl 2854 [2001:888:2000:d::a6]:59089 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82552 jean-michel richer writes: > Hi, > I am new to python and I am trying to use pycuda but get some > error on the following script. My environement is : > > Python 2.7.6 > libboost 1.54 > gcc/g++ 4.8.2 > CUDA 6.5 > ... > from six.moves import range, zip, intern, input > ImportError: cannot import name intern > > Is there a workaround or is it a bug ? You likely need a different version of "six.moves" (one that defines "intern").