When running the pip install rasa==3.0.6 the following error appears:
Collecting cryptography>=3.4.0; extra == "crypto" (from PyJWT[crypto]<3.0.0,>=2.0.0->rasa==3.0.6)
ERROR: Exception:
Traceback (most recent call last):
File "<local path>\botenv\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
status = self.run(options, args)
File "<local path>\botenv\lib\site-packages\pip\_internal\commands\install.py", line 345, in run
resolver.resolve(requirement_set)
File "<local path>\botenv\lib\site-packages\pip\_internal\legacy_resolve.py", line 196, in resolve
self._resolve_one(requirement_set, req)
File "<local path>\botenv\lib\site-packages\pip\_internal\legacy_resolve.py", line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "<local path>\botenv\lib\site-packages\pip\_internal\legacy_resolve.py", line 305, in _get_abstract_dist_for
abstract_dist = self.preparer.prepare_linked_requirement(
File "<local path>\botenv\lib\site-packages\pip\_internal\operations\prepare.py", line 214, in prepare_linked_requirement
abstract_dist.prepare_distribution_metadata(
File "<local path>\botenv\lib\site-packages\pip\_internal\distributions\source.py", line 30, in prepare_distribution_metadata
self.req.load_pyproject_toml()
File "<local path>\botenv\lib\site-packages\pip\_internal\req\req_install.py", line 501, in load_pyproject_toml
pyproject_toml_data = load_pyproject_toml(
File "<local path>\botenv\lib\site-packages\pip\_internal\pyproject.py", line 66, in load_pyproject_toml
pp_toml = pytoml.load(f)
File "<local path>\botenv\lib\site-packages\pip\_vendor\pytoml\parser.py", line 11, in load
return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin)))
File "<local path>\botenv\lib\site-packages\pip\_vendor\pytoml\parser.py", line 24, in loads
ast = _p_toml(src, object_pairs_hook=object_pairs_hook)
File "<local path>\botenv\lib\site-packages\pip\_vendor\pytoml\parser.py", line 340, in _p_toml
s.expect_eof()
File "<local path>\botenv\lib\site-packages\pip\_vendor\pytoml\parser.py", line 125, in expect_eof
return self._expect(self.consume_eof())
File "<local path>\botenv\lib\site-packages\pip\_vendor\pytoml\parser.py", line 165, in _expect
raise TomlError('msg', self._pos[0], self._pos[1], self._filename)
pip._vendor.pytoml.core.TomlError: <local path>\pip-install-60xu4grs\cryptography\pyproject.toml(172, 1):
SDM 17.4
The pip version is not compatible
1. Run the following command:
python -m pip install --upgrade pip
2. Re-run the rasa install with the following command:
pip install rasa==3.0.6