# Error while installing rasa-x

**URL:** <https://forum.rasa.com/t/error-while-installing-rasa-x/22825>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [December 26, 2019, 3:41pm UTC](https://forum.rasa.com/t/error-while-installing-rasa-x/22825 "2019-12-26T15:41:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chara\_bitsako](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chara_bitsako/32/6436_2.png) [@chara\_bitsako](https://forum.rasa.com/u/chara_bitsako)\
**Post date:** [December 26, 2019, 3:41pm UTC](https://forum.rasa.com/t/error-while-installing-rasa-x/22825/1 "2019-12-26T15:41:23Z")

</div>

**Rasa version** :

**Rasa SDK version** (if used & relevant):

**Rasa X version** (if used & relevant):0.02

**Python version** :3.7.5

**Operating system** (windows, osx, …): osx ( using anaconda)

**Issue** : I am trying to install rasa-x in different operating systems ( windows 10 , osx and with or without using anaconda), but I keep getting the following error.

**Error (including full traceback)**:

```auto
Building wheel for httptools (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/harisbitsakou/opt/anaconda3/envs/rasavideo/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"'; __file__ ='"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)( __file__ );code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__ , '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-wheel-809zm_ii --python-tag cp37
       cwd: /private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/
  Complete output (28 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.7
  creating build/lib.macosx-10.7-x86_64-3.7/httptools
  copying httptools/ __init__.py -> build/lib.macosx-10.7-x86_64-3.7/httptools
  creating build/lib.macosx-10.7-x86_64-3.7/httptools/parser
  copying httptools/parser/ __init__.py -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
  copying httptools/parser/errors.py -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
  running egg_info
  writing httptools.egg-info/PKG-INFO
  writing dependency_links to httptools.egg-info/dependency_links.txt
  writing top-level names to httptools.egg-info/top_level.txt
  reading manifest file 'httptools.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'httptools.egg-info/SOURCES.txt'
  copying httptools/parser/parser.c -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
  running build_ext
  building 'httptools.parser.parser' extension
  creating build/temp.macosx-10.7-x86_64-3.7
  creating build/temp.macosx-10.7-x86_64-3.7/httptools
  creating build/temp.macosx-10.7-x86_64-3.7/httptools/parser
  creating build/temp.macosx-10.7-x86_64-3.7/vendor
  creating build/temp.macosx-10.7-x86_64-3.7/vendor/http-parser
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include -arch x86_64 -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include -arch x86_64 -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include/python3.7m -c httptools/parser/parser.c -o build/temp.macosx-10.7-x86_64-3.7/httptools/parser/parser.o -O2
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for httptools
  Running setup.py clean for httptools
Failed to build httptools
Installing collected packages: tzlocal, apscheduler, pyjwt, setuptools-scm, questionary, Mako, python-editor, alembic, hpack, hyperframe, h2, h11, rfc3986, httpcore, requests-async, multidict, httptools, aiofiles, websockets, uvloop, sanic, sanic-plugins-framework, sanic-cors, pika, sanic-jwt, async-timeout, yarl, aiohttp, isodate, redis, fbmessenger, rocketchat-API, pydot, gast, docopt, pykwalify, twilio, networkx, dnspython, pymongo, async-generator, websocket-client, slackclient, jsonpickle, requests-toolbelt, webexteamssdk, ConfigArgParse, humanfriendly, coloredlogs, rasa-sdk, python-telegram-bot, python-crfsuite, tabulate, sklearn-crfsuite, python-engineio, scikit-learn, terminaltables, colorhash, colorclass, mattermostwrapper, kafka-python, jmespath, botocore, s3transfer, boto3, absl-py, pyasn1, pyasn1-modules, cachetools, rsa, google-auth, uritemplate, httplib2, google-auth-httplib2, google-api-python-client, tensorflow-probability, kfac, protobuf, tensorflow-hub, tensorflow-gan, oauth2client, gin-config, googleapis-common-protos, tensorflow-metadata, termcolor, promise, dill, tensorflow-datasets, mesh-tensorflow, bz2file, opencv-python, pyglet, gym, pypng, dopamine-rl, gunicorn, tensor2tensor, ruamel.yaml, opt-einsum, tensorflow-estimator, google-pasta, keras-applications, astor, grpcio, markdown, tensorboard, keras-preprocessing, tensorflow, python-socketio, rasa, smmap2, gitdb2, GitPython, rasa-x
    Running setup.py install for httptools ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/harisbitsakou/opt/anaconda3/envs/rasavideo/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"'; __file__ ='"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)( __file__ );code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__ , '"'"'exec'"'"'))' install --record /private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-record-eybfxq6k/install-record.txt --single-version-externally-managed --compile
         cwd: /private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/
    Complete output (28 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.7
    creating build/lib.macosx-10.7-x86_64-3.7/httptools
    copying httptools/ __init__.py -> build/lib.macosx-10.7-x86_64-3.7/httptools
    creating build/lib.macosx-10.7-x86_64-3.7/httptools/parser
    copying httptools/parser/ __init__.py -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
    copying httptools/parser/errors.py -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
    running egg_info
    writing httptools.egg-info/PKG-INFO
    writing dependency_links to httptools.egg-info/dependency_links.txt
    writing top-level names to httptools.egg-info/top_level.txt
    reading manifest file 'httptools.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'httptools.egg-info/SOURCES.txt'
    copying httptools/parser/parser.c -> build/lib.macosx-10.7-x86_64-3.7/httptools/parser
    running build_ext
    building 'httptools.parser.parser' extension
    creating build/temp.macosx-10.7-x86_64-3.7
    creating build/temp.macosx-10.7-x86_64-3.7/httptools
    creating build/temp.macosx-10.7-x86_64-3.7/httptools/parser
    creating build/temp.macosx-10.7-x86_64-3.7/vendor
    creating build/temp.macosx-10.7-x86_64-3.7/vendor/http-parser
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include -arch x86_64 -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include -arch x86_64 -I/Users/harisbitsakou/opt/anaconda3/envs/rasavideo/include/python3.7m -c httptools/parser/parser.c -o build/temp.macosx-10.7-x86_64-3.7/httptools/parser/parser.o -O2
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/harisbitsakou/opt/anaconda3/envs/rasavideo/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"'; __file__ ='"'"'/private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-install-xr6sg1c9/httptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)( __file__ );code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__ , '"'"'exec'"'"'))' install --record /private/var/folders/65/fx3_my1x2zxb6pyzdhd_zmqm0000gn/T/pip-record-eybfxq6k/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

```

**Command or request that led to error** :

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

```

**Content of configuration file (config.yml)** (if relevant):

```auto

```

**Content of domain file (domain.yml)** (if relevant):

```auto

```

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [December 28, 2019, 12:07pm UTC](https://forum.rasa.com/t/error-while-installing-rasa-x/22825/2 "2019-12-28T12:07:47Z")

</div>

Hi @chara_bitsako,

as far as I could see, I guess you haven’t installed the python developer dependencies (which deal with GCC). I strongly recommend you to not only use Conda rather than to install Homebrew if not installed yet. However, make sure to install:

```auto
gcc python-dev python3-dev

```

After that, you can try the installation again. Please feel free to post any additional error message!

Regards Julian
