Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82552

Re: problem with six.moves intern importError

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 <python-python-list@m.gmane.org>
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 <dieter@handshake.de>
Subject Re: problem with six.moves intern importError
Date Mon, 15 Dec 2014 08:34:55 +0100
References <c2e30916e689f348c50559b64f411a44@info.univ-angers.fr>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16975.1418628911.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


jean-michel richer <jean-michel.richer@univ-angers.fr> 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").

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: problem with six.moves intern importError dieter <dieter@handshake.de> - 2014-12-15 08:34 +0100

csiph-web