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


Groups > comp.lang.python > #82552

Re: problem with six.moves intern importError

From dieter <dieter@handshake.de>
Subject Re: problem with six.moves intern importError
Date 2014-12-15 08:34 +0100
References <c2e30916e689f348c50559b64f411a44@info.univ-angers.fr>
Newsgroups comp.lang.python
Message-ID <mailman.16975.1418628911.18130.python-list@python.org> (permalink)

Show all headers | 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