I've got some error in rasa when I try to give the comment rasa shell - python-3.8

I'm making rasa chat bot for 2 weeks. I've cloned the code from github the cloned code was in older version rasa 1.8, so converted the code into rasa 2.0 but some error acquired in action.py file .I don't know what the error is please help me to sort it out
I've attached the image below please see to that and give me a solution.
vs code
error which was acquired

Related

ResolvePackageNotFound when trying to create conda environment (Conda Version 4.5.11)

I am trying to reproduce the experiments in the paper Cross Modal Focal Loss for RGBD Face Anti-Spoofing. I have downloaded the source codes from gitlab and moved it to my linux (ubuntu) remote server . I am following the installation steps as given in the gitlab repo . The link to the gitlab repo is as follows :https://gitlab.idiap.ch/bob/bob.paper.cross_modal_focal_loss_cvpr2021
I am getting an error (ResolvePackageNotFound) when I try to build the environment as mentioned on step 2 . It is worthy mentioning that the Bob package isn't installed because I see that it is contained in the 'environment.yml'. The 'environment.yml' file I used is the newest version.
Error result is here.
I hope anyone would be able to assist me in solving this issue. It is very important for me.
I hope anyone would be able to assist me in solving this issue. It is very important for me.

Error with installation of pycocotools for Detr Tensorflow

I'm trying to use Detr Tensorflow models and need to install pycocotools. On a Windows 10 PC, I'm executing this in a Visual Studio Code. I'm following the steps provided in this
GitHub repo : https://github.com/Visual-Behavior/detr-tensorflow#install
I attempted to pip-install pycocotools and received the following error (fails to construct wheel):
Screenshot of Error
Any idea on how to remove this error ?
The solution is in the error output.
You need to install Microsoft C++ Build Tools.

pyinstaller rejects numpy on Mac (M1, Big Sur & Intel Catalina)

pyinstaller have been working fine for me in this program until I began using numpy. The error message seems to be saying that I'm using the wrong version of numpy. I supposed that to mean that version I'm using isn't for the M1 chip. But I've also tried this on an Intel MacBook Air to no avail. Same error message there. And I looked at the material and the error message refers us to, and tried that too. Ie, I ddid a pip install of cython, etc. But.... still no go, and same error message. I'm making the program in Pycharm, and have tried this using both its venv environment and also the conda environment.
Both give the same result. Ideas anyone?
Here's the error message:
Please note and check the following:
The Python version is: Python3.9 from "/Users/abMain/zaad/zaad"
The NumPy version is: "1.21.2"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: dlopen(/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so, 2): no suitable image found. Did find:
/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so: mach-o, but wrong architecture
/private/var/folders/n1/26fjs9wx6hz5q9r5kdt5bn3w0000gp/T/_MEIJmdMCM/numpy/core/_multiarray_umath.cpython-39-darwin.so: mach-o, but wrong architecture

How to integrate SUMO into Flow?

Repost from Antonio D.:
I just installed FLOW following all the instructions given in the following link. After executing the sugiyama example, SUMO shows an error saying this: "Error: tcpip::Storage::readIsSafe: want to read 8 bytes from Storage, but only 4 remaining". I know that after the release of SUMO 1.0.0 TraCI libraries and SUMO are no more compatible but I am not able to downgrade the last version of SUMO in my machine (MacBook). Which is the version I should downgrade tool and how can I do it?
I would really appreciate if anyone could help me to fix this.
Repost from Flow team:
This is probably happening because your conda environment cannot find the associate binaries. I would recommend installing the binaries into your conda environment; that should fix this. You can do so from your terminal by running the following commands:
cd /path/to/flow
source activate flow
scripts/setup_sumo_osx.sh
Hope this helps.

SensorKinect not installing?

I was recently following a tutorial in a "Kinect Hacking" book that I purchased on Amazon. The first thing I was asked to do, is to check to see if my Kinect plug would fit into my laptop's which it did. I was then asked to download OpenNI from the following link: http://www.openni.org/Downloads/OpenNIModules.aspx
The only problem is that the link given above redirects to a "unknown page" (which is probably due to a recent site update...Anyway, I download OpenNI from here instead: http://www.openni.org/openni-sdk/ (for Windows), and it installed fine, though after then asked to additionally install Sensor Kinect from the following link: https://github.com/avin2/SensorKinect (that link did work) and executing the .exe file, I received an error message saying to: "Please install OpenNI version 1.2.0.4 or higher!"
So...what should I do?
Thanks in advance! (I haven't had any help on the OpenNI forums, so I posted here).
P.S I'm running Windows 8
Apparently I'm not the only one with this problem, and after some research I found that the new OpenNI isn't compatible with the SensorKinect, so in order to fix this I have to download the version that is slightly dated, luckily a site called "ZigFu" has all the necesary plugins built onto one: http://zigfu.com/en/downloads/browserplugin/