I am starting with building a chatbot using rasa. I have followed the installation guide of rasa documentation
I have installed rasa using
pip install rasa
I can import rasa using import rasa and rasa.__version__ gives me a output 1.10.0 but when I try to import rasa-nlu I get ModuleNotFoundError: No module named 'rasa_nlu' error. I am working on windows and seen few suggestions that Visual Studio Installer is also required for windows set up. Why is Visual Studio Installer required, or am I missing anything?
Well, you are facing the legit error - I would suggest you move to Linux for easy work with rasa.
I have faced the same issue just like you and when worked with Ubuntu to be more specific the work goes way to smooth.
You should install rasa-nlu
pip install rasa-nlu
https://pypi.org/project/rasa-nlu/
If you want to solve visual c++ error, follow the steps in
https://learn.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html
To remove module not found rasa-nlu error, do pip install rasa-nlu and install all other dependencies which you will encounter during installation of rasa-nlu.
Related
I was trying to install Ursina but I was having trouble getting all the required packages I needed to run my code properly. Come to find out, there's a package that refuses to install called 'psd-tools3' that won't install, no matter what I do.
I've been using cmd commands like 'pip install psd-tools3' and 'pip3 install psd-tools3' but no other commands work (i.e. 'sudo pip install psd-tools3' doesn't work because my PC doesn't know what 'sudo' means and doesn't run). I've tried installing required packages for this package, but nothing works. It just keeps giving me this error:
enter image description here
I would really appreciate the help with this problem. All I can really assume is that the Python file '_version' hasn't been created and that's what's throwing the whole program off. If there is a way to add this manually and then install it, I would appreciate steps to do that as well.
I was running this on a Lenovo Thinkpad (Windows 10) on Python 3.10 (I also have Python 3.8.3 but that was installed with the 3.10) and I made sure all packages and pip are up-to-date. Still having this problem and I don't know why.
Seems to me like the issue is on the side of the maintainers of psd-tools3.
For example, looking at the content of the latest source distribution on PyPI, we can see that it does not contain any _version.py file.
This needs to be solved by the project's maintainers, but they do not have a ticket tracker. On the other hand there seems to be an "Author" email address on the project's PyPI page as well as in the project's setup.py script.
A solution might be to clone the project's source code repository (with git), and try to install from the local clone.
Just simply try
pip install psd-tools3==1.9.0
Or
pip install psd-tools3==1.8.2
This should work on your pc as well. I was having same issue, and then I tried this It worked for me
I tried:
pip install python-telegram-bot
pip3 install python-telegram-bot
pip install telegram
pip3 install telegram
But the error keeps showing up telling me there is no such package of 'telegram.ext' offered by python-telegram-bot.
However, my text editor with python plugin is able to find the package telegram.ext in my environment. I also tried using command prompt dirtectly on that virtual environment I created, still doesn't work.
Seems that this same issue is faced by other posts on internet without any resolve.
my text editor plugin can find the package
I just realized the error was because there was another file named 'telegram.py' in the same directory causing the package import problem.
Sorry for this silly mistake. Thank you and I will close the case.
It seems both packages python-telegram-bot and telegram uses the same namespace "telegram". This can cause conflicts, so you should remove one of them.
This uninstalls the telegram package
pip uninstall telegram
Note: use pip3 if on Linux or Mac
Do 1-2 via terminal and 4 on your IDE:
Install pip install telegram
Install pip install python-telegram-bot
If you are using a virtual environment, make sure it is activated
Lastly, import from telegram.ext import
I tried installing visual basic using Linux beta but I got an error message which says!
the following packages have unmet dependencies:
Usually, you have to install the dependencies using your package manager.
sudo apt install -y <depencies> (In Ubuntu)
In Reddit, I saw you can install packages using Portage. But I think the standard is to use ChromeBrew.
You can dowloand the vscode for Gentoo/Portage here.
Aloso, here you have a related question that might help you as well (for Ubuntu)=)
https://askubuntu.com/questions/563178/the-following-packages-have-unmet-dependencies
I am trying to install RASA using instructions here
I created a virtual environment and did a pip install rasa. But below is the error message with multiple dependencies incompatible. Do I install all the specified versions from the error message individually?
I found multiple people having installation issues and tried my best to find a solution in the forum, but couldn't.
error message- list of dependencies
It looks like you are trying to install Rasa1.x in an environment where you had previously installed rasa-nlu and rasa-core separately (pre Rasa 1.x). These are old versions that you can't mix with post-1.x Rasa.
I would recommend creating a new virtual environment, making sure it is active, checking that no rasa-nlu or rasa-core is installed, then running pip install -U rasa or pip install -U rasa==<rasa version that you want> if you want a specific version.
setup.py within the folder raises:
setup.py is not yet supposed to work. Please Use PyInstaller without installation.
as mentioned here. I couldn't follow the solution mentioned there. "pip install pyinstaller" raises the same error. I unzipped the 2.0 version but am now stuck on how to proceed. (for clarification - I want to install pyinstaller-2.0 on my machine so that I can use it to bundle Python modules and send it to others). I have looked at this and this but still no luck. OS = Mountain Lion and Python = 2.7. Pls. help.
I found that installing the development version solved it when I had the problem.