Error: Install MITIE

Hello everyone,

I’m new rasa. I need your help. I can’t install MITIE for RASA NLU. Command: pip install git+https://github.com/mit-nlp/MITIE.git And this is my error:

 ----------------------------------------
  Failed building wheel for mitie
  Running setup.py clean for mitie
Failed to build mitie
Installing collected packages: mitie
  Running setup.py install for mitie ... error
    Complete output from command C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\vle32.EAD\\AppData\\Local\\Temp\\pip-req-build-ktl8sl6l\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\vle32.EAD\AppData\Local\Temp\pip-record-zzlzp5am\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    Traceback (most recent call last):
      File "C:\Users\vle32.EAD\AppData\Local\Temp\pip-req-build-ktl8sl6l\setup.py", line 44, in get_cmake_version
        out = subprocess.check_output(['cmake', '--version'])
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 395, in check_output
        **kwargs).stdout
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 472, in run
        with Popen(*popenargs, **kwargs) as process:
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 775, in __init__
        restore_signals, start_new_session)
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\subprocess.py", line 1178, in _execute_child
        startupinfo)
    FileNotFoundError: [WinError 2] The system cannot find the file specified

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\vle32.EAD\AppData\Local\Temp\pip-req-build-ktl8sl6l\setup.py", line 67, in <module>
        'License :: Boost License',
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\site-packages\setuptools\command\install.py", line 61, in
run
        return orig.install.run(self)
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\command\install.py", line 545, in run
        self.run_command('build')
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\vle32.EAD\AppData\Local\Temp\pip-req-build-ktl8sl6l\setup.py", line 16, in run
        if LooseVersion(self.get_cmake_version()) < '3.1.0':
      File "C:\Users\vle32.EAD\AppData\Local\Temp\pip-req-build-ktl8sl6l\setup.py", line 47, in get_cmake_version
        ", ".join(e.name for e in self.extensions))
      File "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\lib\distutils\cmd.py", line 103, in __getattr__
        raise AttributeError(attr)
    AttributeError: extensions

    ----------------------------------------
Command "C:\Users\vle32.EAD\AppData\Local\Continuum\anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\vle32.EAD\\AppData\\Local\\Temp\\pip-req-build-ktl8sl6l\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\vle32.EAD\AppData\Local\Temp\pip-record-zzlzp5am\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\vle32.EAD\AppData\Local\Temp\pip-req-build-ktl8sl6l\

Thank you :frowning:

hey @protemon refer this thread https://stackoverflow.com/a/47870079/4140472 it will help you :slight_smile:

1 Like