Traceback (most recent call last):


 "/home/web/pybrain-master/docs/tutorials/rl.py", line 140, in <module>

experiment.doInteractions(100)# speed of learning


 "/home/web/pybrain-master/pybrain/rl/experiments/experiment.py", line 18, in doInteractions

self._oneInteraction()


 "/home/web/pybrain-master/pybrain/rl/experiments/experiment.py", line 27, in _oneInteraction

self.task.performAction(self.agent.getAction())


 "/home/web/pybrain-master/pybrain/rl/agents/learning.py", line 50, in getAction

self.lastaction = self.module.activate(self.lastobs)


 "/home/web/pybrain-master/pybrain/structure/modules/module.py", line 121, in activate

assert len(self.inputbuffer[self.offset]) == len(inpt), str((len(self.inputbuffer[self.offset]), len(inpt)))
AssertionError: (1, 4)

Traceback (most recent call last):


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main

status = self.run(options, args)


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 305, in run

session=session, autobuilding=True


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/wheel.py", line 773, in build

python_tag=python_tag,


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/wheel.py", line 633, in _build_one

python_tag=python_tag)


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/wheel.py", line 637, in _build_one_inside_env

if self.__build_one(req, temp_dir.path, python_tag=python_tag):


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/wheel.py", line 663, in __build_one

base_args = self._base_setup_args(req)


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/wheel.py", line 659, in _base_setup_args

SETUPTOOLS_SHIM % req.setup_py


 "/home/classic/Desktop/tmp2/.venv/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 415, in setup_py

assert self.source_dir, "No source dir for %s" % self
AssertionError: No source dir for SQLAlchemy from git+file:///home/classic/Desktop/tmp2/sqlalchemy@master#egg=SQLAlchemy in ./.venv/lib/python2.7/site-packages (from -c constraints.txt (line 1))
