I follow the instructions on http://lasagne.readthedocs.io/en/latest/user/installation.html and type
pip install --upgrade https://github.com/Theano/Theano/archive/master.zip
pip install --upgrade https://github.com/Lasagne/Lasagne/archive/master.zip
to install Lasagne and Theano in order to make them work together.
But when I import lasagne, it always run out with the ImportError: cannot import name 'int_types'.
Details are:
ImportError Traceback (most recent call last)
<ipython-input-9-459e2facf67c> in <module>()
----> 1 import lasagne
~/project/anaconda3/envs/dlnn/lib/python3.6/site-packages/lasagne/__init__.py in <module>()
24 from . import nonlinearities
25 from . import init
---> 26 from . import layers
27 from . import objectives
28 from . import random
~/project/anaconda3/envs/dlnn/lib/python3.6/site-packages/lasagne/layers/__init__.py in <module>()
7 from .local import *
8 from .pool import *
----> 9 from .shape import *
10 from .merge import *
11 from .normalization import *
~/project/anaconda3/envs/dlnn/lib/python3.6/site-packages/lasagne/layers/shape.py in <module>()
3
4 from ..theano_extensions import padding
----> 5 from ..utils import int_types
6
7 from .base import Layer
Plz help me! Thank you!