Error installing Rasax

installation
(Mislav Sagovac) #1

Hi,

I am new to rasa. I have just tried to install rasa-x using :

pip install rasa-x --extra-index-url https://pypi.rasa.com/simple

But it returns an error:

    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.0.tar.gz (1.8
    MB)
         |████████████████████████████████| 1.8MB 2.2MB/s
      Installing build dependencies ... error
      ERROR: Complete output from command 'c:\users\msagovac\appdata\local\continuum
    \anaconda3\python.exe' 'c:\users\msagovac\appdata\local\continuum\anaconda3\lib\
    site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\msago
    vac\AppData\Local\Temp\pip-build-env-2f12rcwg\overlay' --no-warn-script-location
     --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-inde
    x-url https://pypi.rasa.com/simple -- 'setuptools>=30.3.0' wheel setuptools_scm=
    =3.2.0:
      ERROR: Traceback (most recent call last):
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\runpy.py", lin
    e 193, in _run_module_as_main
          "__main__", mod_spec)
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\runpy.py", lin
    e 85, in _run_code
          exec(code, run_globals)
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\__main__.py", line 16, in <module>
          from pip._internal import main as _main  # isort:skip # noqa
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\__init__.py", line 40, in <module>
          from pip._internal.cli.autocompletion import autocomplete
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\cli\autocompletion.py", line 8, in <module>
          from pip._internal.cli.main_parser import create_main_parser
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\cli\main_parser.py", line 12, in <module>
          from pip._internal.commands import (
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\commands\__init__.py", line 6, in <module>
          from pip._internal.commands.completion import CompletionCommand
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\commands\completion.py", line 6, in <module>
          from pip._internal.cli.base_command import Command
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\cli\base_command.py", line 25, in <module>
          from pip._internal.index import PackageFinder
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\index.py", line 41, in <module>
          from pip._internal.wheel import Wheel
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    pip\_internal\wheel.py", line 7, in <module>
          import compileall
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\compileall.py"
    , line 20, in <module>
          from concurrent.futures import ProcessPoolExecutor
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    concurrent\futures\__init__.py", line 8, in <module>
          from concurrent.futures._base import (FIRST_COMPLETED,
        File "c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\
    concurrent\futures\_base.py", line 381
          raise exception_type, self._exception, self._traceback
                              ^
      SyntaxError: invalid syntax
      ----------------------------------------
    ERROR: Command "'c:\users\msagovac\appdata\local\continuum\anaconda3\python.exe'
     'c:\users\msagovac\appdata\local\continuum\anaconda3\lib\site-packages\pip' ins
    tall --ignore-installed --no-user --prefix 'C:\Users\msagovac\AppData\Local\Temp
    \pip-build-env-2f12rcwg\overlay' --no-warn-script-location --no-binary :none: --
    only-binary :none: -i https://pypi.org/simple --extra-index-url https://pypi.ras
    a.com/simple -- 'setuptools>=30.3.0' wheel setuptools_scm==3.2.0" failed with er
    ror code 1 in None

I have successfully installed rasa with

pip install rasa

I am on windows 7.

(Mandarsuryavanshi) #2

follow this

(Mislav Sagovac) #3

@mandarsuryavanshi, I followed installation docs, but it returned an error after I ran pip command.

(Mandarsuryavanshi) #4

try installing using pip3

(Mislav Sagovac) #5

Didn’t work with pip3.

(Mandarsuryavanshi) #6

did u install pip3 for python3

(Akela Drissner) #7

which python version are you on?

(Mislav Sagovac) #8

‘3.6.7 (default, Feb 28 2019, 07:28:18) [MSC v.1900 64 bit (AMD64)]’

(Akela Drissner) #9

Could you check which pip version you have installed? And also the output of pip show setuptools

(Mounika Kanakanti) #10

Hi,

I’m facing the same issue. Following is the output of pip show setuptools

Please help me with this.

Thanks!

(Akela Drissner) #11

Could you post the exact error you’re getting along with the installation command? And your python version

(Mounika Kanakanti) #12

Following is the error:

Python Version : 3.6.5 @akelad

(Mounika Kanakanti) #13

I solved it using this Pip fails when trying to install rasa-x

Thanks!

1 Like