Rasa X installation

I am trying install Rasa X using this command: pip install rasa-x --extra-index-url Simple Index but getting this error.

(venv) chunjie97@Dino:~$ pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
Looking in indexes: https://pypi.org/simple, https://pypi.rasa.com/simple
Collecting rasa-x
Downloading https://pypi.rasa.com/api/package/rasa-x/rasa-x-0.19.2.tar.gz (1.8MB)
████████████████████████████████| 1.8MB 1.2MB/s 
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Complete output from command /home/chunjie97/venv/bin/python3 
/home/chunjie97/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py 
prepare_metadata_for_build_wheel /tmp/tmpt52q0p62:
ERROR: running dist_info
creating /tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info
writing /tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg- 
info/dependency_links.txt
writing requirements to /tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg- 
info/requires.txt
writing top-level names to /tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info/top_level.txt
writing manifest file '/tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file '/tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.egg-info/SOURCES.txt'
creating '/tmp/pip-install-3b3p957l/rasa-x/pip-wheel-metadata/rasa_x.dist-info'
Traceback (most recent call last):
  File "/home/chunjie97/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
    main()
  File "/home/chunjie97/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/home/chunjie97/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
    return hook(metadata_directory, config_settings)
  File "/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py", line 125, in prepare_metadata_for_build_wheel
    _run_setup()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py", line 85, in _run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 63, in <module>
    url="https://rasa.com",
  File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.6/dist-packages/setuptools/command/dist_info.py", line 36, in run
    bdist_wheel.egg2dist(egg_info.egg_info, dist_info_dir)
  File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 443, in egg2dist
    shutil.copy(license, os.path.join(self.distinfo_dir, license_filename))
  File "/home/chunjie97/venv/lib/python3.6/posixpath.py", line 80, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
----------------------------------------
ERROR: Command "/home/chunjie97/venv/bin/python3 /home/chunjie97/venv/lib/python3.6/site- 
packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel 
/tmp/tmpt52q0p62" failed with error code 1 in /tmp/pip-install-3b3p957l/rasa-x

Looks like that happens with pip3 install rasa-x ..., does the same still happen with pip install rasa-x ...? As long as your env has python 3 (looks like 3.6), using pip should be fine

Still getting error using pip…

Hi Could you have solved this problem? I have the same problem。when I deploy rasa-demo to server, thank you

Anybody got a solution here? I have the same problem and can’t get around it!

Hi, did anyone manage to solve this? Still have this issue. Thanks!

Same here :frowning:

Any solution for this?

I also had the same problem. Using pip install rasa-x -i https://pypi.rasa.com/simple worked.

  1. dwnld pycharm, visual buulder tools 2019 and visual studio. After installation of builder tools make sure to select c++ development(~1.65gb) then dwnld it
  2. create folder
  3. open pycharm
  4. create conda env python 3.6
  5. pip install rasa rasa init
  6. conda install git
  7. pip3 install rasa-x==0.32.2 --extra-index-url [https://pypi.rasa.com/simple]
  8. rasa x