root@ubuntu:/etc/rasa# pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-T2Mxoz/rasa/setup.py", line 13, in <module>
with open(os.path.join(here, "README.md"), encoding="utf-8") as f:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
ERROR: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-T2Mxoz/rasa/
please help me
Hm I think this is a python 2 vs python 3 error. Can you try pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple
this issue is slove by using virtul environment of python(3.6)…
Cool. figured it was a python versioning – sorry we didn’t get to this sooner. Glad you figured it out on your own
Sorry, what’s the means of “using virtul environment of python(3.6)” and how to try it?
And I have tried " `pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple", but it doesn’t work
Uploading: 3.png…
It is not necessary to have python3.6 virtual environment only as far as I can say.
I have virtual environment of python3.7 and everything works.
This means, A virtual environment of python (version 3.6) was created.
The rasa documentation on installation has complete guide to set up a virtual environment for python. Here you can find step-by-step guide to set up one.
https://rasa.com/docs/rasa/installation/#step-by-step-installation-guide