Problem to install Rasa Open Source - Running setup.py install for dm-tree ... error

Hi Community.

I am new in Rasa. I am installing Rasa Open Source following instruction in documentation Installation, but it have been imposible. Someone have any recommedation or solutions.

My laptop: MacOs High Sierra Version 10.13.6 Python version in my environment: Python 3.8.1 [Also try with Python 3.7.7]

Error is displayed in the follow image:

Thanks for read and help.

1 Like

@sahlre What steps you are following while installing rasa open source and which version of rasa you are trying to install? check for software update in your Mac please.

For Mac: https://youtu.be/fqzsE70Rvr0

For Window: https://youtu.be/4ewIABo0OkU

Good Luck! Try it and let see how you doing.

1 Like

Hi @nik202 thanks for your answer.

Steps:

  1. Create env: python3 -m venv env
  2. Activate env: source env/bin/activate
  3. Update pip: pip3 install -U pip
  4. Install rasa: pip3 install rasa==2.7

I am trying install rasa 2.7

I’ll check software update in my Mac and I’ll tell you how it was.

@sahlre If you unable to install 2.7 try install lower version of rasa like 1.10 or 2.0 etc. If you able to install that then you can any time upgrade to rasa 2.7, by that you are able to find why the issue still persistent. I hope you got my point?

1 Like

@nik202 I tried install 1.0 and 2.0 rasa versions but it was impossible.

But when I tried to install older version that 1.0 following these docs: Legacy docs to 1.0 I was successfull.

I’ll try to update my macOS to Big Sur, then I’ll install rasa (2.7, 2.6, etc) and I’ll be telling you the result.

@sahlre If you able to install one version, you can update the rasa. Did you done that process also?

What is your current issue or error?

@nik202 I want to clarify, I have not been able to install any version of Rasa.

When I followed the steps in Legacy docs to 1.0, rasa-core (0.8.6) and rasa-nlu (0.11.5) were installed. However, no version of Rasa is ever installed.

After installing rasa-core and rasa-nlu, I installed rasa and the same error appeared:

I’ll try to update my macOS to Big Sur, then I’ll install rasa (2.7, 2.6, etc) and I’ll be telling you the result.

@sahlre have you tried installing bazel using instructions available on tensorflow.org ? Even try pip install dm-tree

Hi @nik202 I have finally been able to install rasa. Thank your great help.

How did I find the solution?

  1. Format my Mac
  2. Install macOS Big Sur (my laptop was macOS High Sierra 10.13.6 and it was never update to date)
  3. Follow Installing Rasa Open Source on MacOS
  4. Enjoy :smiley:

Learning: In my case as a mac user I must check software update

Finally, I tried install bazel and dm-tree but it wasn’t work.

@sahlre Congratulations :+1: Happy Rasa Learning!! I suggested you this in my second comment :stuck_out_tongue: Problem to install Rasa Open Source - Running setup.py install for dm-tree ... error - #2 by nik202

1 Like