==================== Error =================
Collecting pyasn1>=0.1.7
Using cached pyasn1-0.4.7-py2.py3-none-any.whl (76 kB)
Using cached pyasn1-0.4.6-py2.py3-none-any.whl (75 kB)
Using cached pyasn1-0.4.5-py2.py3-none-any.whl (73 kB)
ERROR: Exception:
Traceback (most recent call last):
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_internal/cli/base_command.py”, line 224, in _main
status = self.run(options, args)
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_internal/cli/req_command.py”, line 180, in wrapper
return func(self, options, args)
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_internal/commands/install.py”, line 321, in run
reqs, check_supported_wheels=not options.target_dir
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py”, line 122, in resolve
requirements, max_rounds=try_to_avoid_resolution_too_deep,
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py”, line 445, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py”, line 325, in resolve
for item in self.state.criteria.items()
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py”, line 326, in
if not self._is_current_pin_satisfying(*item)
File “/Users/Admin/MSc/course5/venv/lib/python3.7/site-packages/pip/_vendor/resolvelib/resolvers.py”, line 193, in _is_current_pin_satisfying
for r in criterion.iter_requirement()
AttributeError: ‘NoneType’ object has no attribute ‘iter_requirement’
I experience the same issue installing Rasa X in a python 3.7 anaconda 3 environment. Rasa is up and running (Rasa shell works), installing Rasa X does not work, though. Could it be related to the too new pip version (20.3.3)? Here’s my Rasa version:
Rasa Version : 2.2.4,
Rasa SDK Version : 2.2.0,
Rasa X Version : None,
Python Version : 3.7.9,
Operating System : Darwin-17.7.0-x86_64-i386-64bit,
Python Path : /Applications/anaconda3/envs/py37/bin/python
hi I got the same problem. AttributeError: ‘NoneType’ object has no attribute ‘iter_requirement’.
which result in the later response. when I initiate the “rasa x” command in my tutorial-knowledge-base directory, MissingDependencyException: Rasa X does not seem to be installed, but it is needed for this CLI command. You can find more information on how to install Rasa X in local mode in the documentation: Local Mode
I don’t know whether this is necessary. Installing rasa 2.1 and rasa x 0.34 worked for me (with python 3.7 and pip 20.2.4) so far. The pip version raised some errors (see here for more details), but I don’t think this is a serious matter. Here are my versions:
pip version: 20.2.4
Rasa Version : 2.1.0,
Rasa SDK Version : 2.2.0,
Rasa X Version : 0.34.0,
Python Version : 3.7.9,
Operating System : Darwin-17.7.0-x86_64-i386-64bit,
Python Path : /Applications/anaconda3/envs/venv/bin/python