RasaHQ / rasa-masterclass

Data and code files for specific Rasa Masterclass episodes
Apache License 2.0
140 stars 176 forks source link

Ansible playbook fails to provision the instance #5

Closed sinistersig closed 4 years ago

sinistersig commented 4 years ago

I have been following along with the masterclass pdf, however im stuck installing rasa x on GCP. While runnning the script I got the following error.

fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/local/sbin/pip", "uninstall",
 "-y", "docker-py"], "msg": "\n:stderr: *****************************************************
***************************\nPython 2 is deprecated. Upgrade to pip3 as soon as possible.\nSe
e https://cloud.google.com/python/docs/python2-sunset\n\nTo suppress this warning, create an 
empty ~/.cloudshell/no-pip-warning file.\nThe command will automatically proceed in 5 seconds
 or on any key.\n****************************************************************************
****\n/usr/local/sbin/pip: line 19: /usr/bin/pip: No such file or directory\n"}

Any help would be appreciated.

sara-tagger commented 4 years ago

Thanks for raising this issue, @Ghostvv will get back to you about it soon✨

Please also check out the docs and the forum in case your issue was raised there too 🤗
Ghostvv commented 4 years ago

from the message above, I think you need to install python3

sinistersig commented 4 years ago

Python3 was installed ok but I believe the issues are with the playbook not using pip3 instead pip

Ghostvv commented 4 years ago

which masterclass is not working?

sinistersig commented 4 years ago

Chapter 9, following the ebook that is currently available on the Rasa site

karen-white commented 4 years ago

hey @sinistersig, which version of Rasa X are you installing?

sinistersig commented 4 years ago

Just tried with 0.31.5 and it worked, the version in the book is 0.23.3