RasaHQ / rasa-demo

:tiger: Sara - the Rasa Demo Bot: An example of a contextual AI assistant built with the open source Rasa Stack
GNU General Public License v3.0
959 stars 793 forks source link

python3 command #732

Closed johnycage closed 8 months ago

johnycage commented 8 months ago

python3 command is needed for latest version. Suggested changes in Makefile.

trammell commented 8 months ago

I can't think of any OS or environment that uses python 2.x these days. Is this really a problem?

johnycage commented 8 months ago

I can't think of any OS or environment that uses python 2.x these days. Is this really a problem?

I don't have 'python-is-python3' package installed on my Ubuntu 22.04 and so for any default installation on Ubuntu python3 is goto command. (python i.e. python2 is not installed). May be a note can be added, so make install can run smoothly.

trammell commented 8 months ago

One possible workaround for you would be to create a shell alias, something like

alias python=/usr/bin/python3.10
johnycage commented 8 months ago

One possible workaround for you would be to create a shell alias, something like

alias python=/usr/bin/python3.10

That's right, but then we must mention in the setup documentation about python3 caveat. Let's add a line in readme maybe.