When i install rasa X first step ( pip install rasa-x --extra-index-url https://pypi.rasa.com/simple) every time i get error

(Dipen Patel) #1

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

(Ella Rohm-Ensing) #2

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

(Dipen Patel) #3

this issue is slove by using virtul environment of python(3.6)…

(Ella Rohm-Ensing) #4

Cool. figured it was a python versioning – sorry we didn’t get to this sooner. Glad you figured it out on your own :slight_smile: