Rasa.exe is not able to find it

I use windows 10 and python 3.9.4

I made a virttual environment with >virtualenv venv

then activated virtualenv with >venv\Scripts\activate

activating was success

Next, I installed rasa >pip install rasa installing was success too. >pip show rasa was ran.

But, I can’t do >rasa init

cmd shows these comments (venv) D:\Program Files (x86)\Microsoft Visual Studio Code>rasa init 'rasa’은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.

It means “internal or external command operable program or batch file”

So I tried to find rasa.exe to add environment variable but I couldn’t

what should I do?

What happens if you do python -m rasa init?

Not sure if rasa is available in Python 3.9

Downgrade your python

D:\Program Files (x86)\Microsoft Visual Studio Code\venv\Scripts\python.exe: No module named rasa

Oh I’ll try it

Thanks a lot!!! I can do now

I am using python 3.9.6 version; I tried to downgrade python from 3.9.6 to 3.8 but I couldn’t. I tried creating a virtual environment using this: python -m venv ./RASA_venv python==3.8 but still python 3.9.6 is getting installed in the venv too. Any thoughts on this?

I successfully downgraded the version from python 3.9 to 3.8.8. If the pip install python==3.8 doesn’t work, then try downloading the required version from the official “python downloads for windows” website (Sorry it doesn’t allow me to post the actual link here) and add the python version to environment variable path. Restart the command prompt. Now type python --version & check if you see the desired version. This worked for me.

1 Like