problem with six.moves intern importError

dieter dieter at handshake.de
Mon Dec 15 02:34:55 EST 2014


jean-michel richer <jean-michel.richer at 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").




More information about the Python-list mailing list