Prompt-toolkit version issue- incompatible with rasa-core and spyder - spyder

I am training a question answering model with rasa-nlu and rasa-core from terminal, wherein it requires the version of prompt-toolkit to be less than version 2.0.0 and when I try to open spyder IDEfrom Anaconda prompt, it is throwing error as it is expecting the prompt-toolkit version to be greater than 2. If I upgrade the version of prompt-toolkit the rasa-core code throws error in terminal. Is there any way to overcome this problem?

This was due to the not maintained dependency for PyInquirer in Rasa Core.
The library PyInquirer is replaced in the new Rasa Core release 0.13.0 with the library questionary. If you already want to have the latest release you can use the latest alpha version, by doing pip install rasa_core==0.13.0a5.

Related

I am trying to install Kivy again it is shows this warning

this error and warning is showing when I tried to install Kivy
As Python 3.10 is still currently relatively new and library developers need to recompile their package to the newest version, there is currently no way to install Kivy and its dependencies on Python 3.10 . I suggest you downgrade to Python 3.9 or even 3.8 for the installation to succeed.

Updating opencv to version 4.5.1

I need to update opencv to version 4.5.1 because there is a function that is not implemented in my current version 3.4.2. (I need to use the SIFT_create function, when I google a bit it seems that they removed it from 3.4.2 because of a patent. However, I have also heard from someone that this function has a different name in 3.4.2, so if you know this different name this is fine as well. I googled it but couldn't find anything about it.)
I tried updating opencv in the anaconda navigator but that didn't work. I tried typing
pip install opencv-python==4.0.0.21
(if I replaced 4.0.0.21 by 4.5.1 it couldn't find the version), but when I type
cv2.__version__
afterwards it still says I'm using version 3.4.2. I found this post: How to upgrade OpenCV in Anaconda (windows)? which says I should use
conda install -c conda-forge opencv=4.3.0
I do this, both the exact same command and the command with 4.3.0 replaced by 4.5.1 but in both cases I only get version 4.0.0 (which apparently also doesn't have the SIFT_create function).
Any idea what I could do?
In the meanwhile I found the answer myself (or rather: with the help of non-internet people).
The problem was that while trying to update opencv, I ended up having two versions of opencv at once. I had opencv 4.5.1 and at the same time I had opencv-python 4.0.0.21 installed. When importing opencv, it chose to import opencv-python in stead of just opencv. When I deleted the opencv-python this fixed the problem.

Change Dart VM version

I want to use the stable release of the sdk, which should be 2.2.0, but when I in the console check the version with the command "dart --version", it says I am running "Dart VM version: 2.1.0".
I have tried to upgrade via choco, and it says that I already have 2.2.0 installed.
Do I have multiple versions av Dart installed and can switch between them?
If so, can I set a default version?
I'll just mark this as answered with the comment of jamsdlin, as it was the correct answer for me.
When you run dart, you'll run whichever dart binary is found first in your search PATH. You have multiple versions installed. Uninstall the old version or modify PATH so that the location for 2.2.0 occurs first.

How To Update Spyder 3.3.0

I currently use Spyder 3.2.8 with Anaconda/Miniconda. When I open the Spyder editor, a Spyder update window pops up and shows Spyder 3.3.0 is available. It also indicates that "please wait until new conda packages are available and use conda to perform the update".
I followed the direction using anaconda prompt to update. My computer shows the packages were already installed successfully. However, my Spyder Editor is still the version 3.2.8 I also used Anaconda Navigator to update by clicking on the "gear" but no luck. How can I update from Spyder 3.2.8 to 3.3.0? Thank you!!!!
The only thing which really did the trick is
conda install spyder=3.3.0
so in this case you have to explicitly provide the package version.
I have a clean anaconda 5.2.0 installation.
Update: after that i can "conda update spyder" and everything is consistent (for 3.3.1 and further versions)
(Spyder maintainer here) If you already tried to update (either through Navigator or in a system terminal) and you didn't get a new version, that means that conda packages are still unavailable and you have to wait a couple more days to perform the update.
You can get it from conda-forge:
conda install -c conda-forge spyder
https://anaconda.org/anaconda/spyder
As you can see in that internet address, there is only 3.3.0 version for linux and osx.
I think that 3.3.0 version for window would be a little late.

Install version cordova-ios 4.3.0 for visual studio and issue with cordova command not existing in CLI

Someone has asked the exact question I need on this page.
However, as I am new, my rep will not allow me to comment yet! So I have had to create a new question.
A guy in the question linked above suggests to "Type cordova platform add ios;". So there I suppose is where my question is different.
When I type Cordova in cmd prompt, I get a message saying "cordova is not recognized as an internal or external command, operable program or batch file."
Update: Please note, I have followed these steps: http://cordova.apache.org/docs/en/7.x/guide/cli/ And I am able to run the npm commands in CLI. I was hoping to simply update my ios version only.
I have also looked up PATH but I have no idea where to start, problem is, people suggest that I shouldn't need to adjust PATH as running the CLI commands to install the Cordova CLI should just allow me to use it?
So to summarize:
I downloaded the node.js and installed it
I typed this into cmd "npm install -g cordova" which installed
I type "cordova" and get my "cordova is not recognized as an internal or external command" message above
My aim is to upgrade my cordova-ios 4.2.0 to cordova-ios 4.3.0 to fix my main error of "remote build requires your projects to use cordova-ios 4.3.0 or greater with XCode 8.3"
Update 2 9th oct 2017:
I have given up for now with the above, to work around this i installed Node.js 8.6.0 then updated cordova using npm... im now facing some more issues that I am again stuck on and will create a new question.
Hopefully in the meantime, someone can answer this question and i can try again.
I suspect my issues could be relating to the fact i installed VS 2017 and used all the built in nuget packages (for cordova and node.js) and they are conflicting with the manual way in some way (i suspect that, as running the "cordova" command on my other PC worked fine!)

Resources