JustinaPetr / Weatherbot_Tutorial

275 stars 446 forks source link

ImportError: cannot import name main #91

Open rahimakhavan opened 5 years ago

rahimakhavan commented 5 years ago

When I do pip install -r requirements.txt in Full Code [Latest release of Rasa NLU and Rasa Core] I got:

ImportError: cannot import name main

baytuch commented 5 years ago

The error occurs when you try to use the updated version of the application pip3. I think this is a bug. For me, the solution was to manually delete the updated version pip3.

find two folders named "pip" here cd ~/.local/lib/python3.6/site-packages/

and delete them

maybe not the best solution but it works for me