error i'm getting--
ERROR: pip's legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.
tensorflow 2.6.3 requires six~=1.15.0, but you'll have six 1.16.0 which is incompatible.
tensorflow 2.6.3 requires typing-extensions<3.11,>=3.7, but you'll have typing-extensions 4.0.1 which is incompatible.
rasa-sdk 2.8.4 requires typing-extensions<4.0.0,>=3.7.4, but you'll have typing-extensions 4.0.1 which is incompatible.
sanic-jwt 1.6.0 requires pyjwt==2.0.0, but you'll have pyjwt 2.3.0 which is incompatible.
rasa 2.8.23 requires aiohttp!=3.7.4.post0,<3.8,>=3.6, but you'll have aiohttp 3.8.1 which is incompatible.
rasa 2.8.23 requires apscheduler<3.8,>=3.6, but you'll have apscheduler 3.8.1 which is incompatible.
rasa 2.8.23 requires prompt-toolkit<3.0,>=2.0, but you'll have prompt-toolkit 3.0.27 which is incompatible.
rasa 2.8.23 requires sentry-sdk<1.3.0,>=0.17.0, but you'll have sentry-sdk 1.3.1 which is incompatible.
please look at image for more clarity of the error-
[1]: https://i.stack.imgur.com/Vdxo0.png
Version using for Installation--
conda create -n rasavirtualenv python=3.7.6
pip install --upgrade pip==21.3
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple --use deprecated=legacy-resolver
Most probably this is caused because of pip's version. You should downgrade the pip version and see if that works. So make sure the virtual environment with rasa is active and:
pip install --upgrade pip==20.2, then run pip -V to make sure the right version is installed, lastly run pip install -U rasa-x --extra-index-url https://pypi.rasa.com/simple to install Rasa-x.
Related
I just installed a package using pip3 install maigret
i installed another thing using pip3 install but same error
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
crackmapexec 5.2.2 requires bs4<0.0.2,>=0.0.1, which is not installed.
crackmapexec 5.2.2 requires impacket<0.10.0,>=0.9.23, but you have impacket 0.10.0 which is incompatible.
crackmapexec 5.2.2 requires neo4j<5.0.0,>=4.1.1, but you have neo4j 1.7.0.dev0 which is incompatible.
crackmapexec 5.2.2 requires pylnk3<0.4.0,>=0.3.0, but you have pylnk3 0.4.2 which is incompatible.
You can try using following :-
pip install --use-feature=2020-resolver
I try to install Tensorflow using this line in PowerShell (as admin):
pip install tensorflow
But received this ERROR:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
astroid 2.3.2 requires six==1.12, but you have six 1.15.0 which is incompatible.
astroid 2.3.2 requires wrapt==1.11.*, but you have wrapt 1.12.1 which is incompatible.
Also, I tried to uninstall six and wrapt using: pip uninstall six wrapt and run pip install tensorflow again but still got the same error as above.
Thank you in advance!
I was opening Anaconda Navigator so I closed it and reopened PowerShell again, ran the install command and it went smoothly without further error.
when I'm running
pip3 install face-compare
I got the below error, any suggestions
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.
tensorflow 2.3.0 requires h5py<2.11.0,>=2.10.0, but you'll have h5py 3.1.0 which is incompatible.
pip uninstall h5py
pip install h5py==2.10.0
I am a beginner and working on a Chatbot project using RASA framework. When I try to install RASA using "pip install rasa" commands or dependencies inside requirement.txt [snap attached] using "pip install -r requirements.txt",I'm getting below error.
In order to resolve the issue I changed concern dependencies version in Requirement.txt but even that couldn't help me out.
For instance in below case, per logs there is requirement of "fbmessenger~=6.0" instead of Version 5.0.0 (existing one).
ERROR: rasa 1.3.9 has requirement fbmessenger~=6.0, but you'll have fbmessenger 5.0.0 which is incompatible.
If I change the version 5.0 to 6.0 in requirement.txt file and run command then it will again throw error with now requirement of 5.0 version. like
ERROR: rasa 1.2 has requirement fbmessenger~=5.0, but you'll have fbmessenger 6.0.0 which is incompatible.
Error Trace :--
ERROR: tensorflow 1.14.0 has requirement wrapt>=1.11.1, but you'll have wrapt 1.10.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement fbmessenger~=6.0, but you'll have fbmessenger 5.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement matplotlib~=3.0, but you'll have matplotlib 2.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement packaging~=19.0, but you'll have packaging 18.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement pika~=1.0.0, but you'll have pika 0.12.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement python-socketio>=4.3.1, but you'll have python-socketio 3.0.0 which is incompatible.
ERROR: rasa 1.3.9 has requirement pytz~=2019.1, but you'll have pytz 2018.9 which is incompatible.
ERROR: rasa 1.3.9 has requirement redis~=3.3.5, but you'll have redis 2.0.0 which is incompatible.
ERROR: rasa-x 0.21.4 has requirement pika~=1.0.0, but you'll have pika 0.12.0 which is incompatible.
ERROR: rasa-x 0.21.4 has requirement requests~=2.22, but you'll have requests 2.21.0 which is incompatible.
ERROR: rasa-sdk 1.3.3 has requirement ConfigArgParse~=0.14, but you'll have configargparse 0.13.0 which is incompatible.
ERROR: rasa-core 0.13.8 has requirement tensorflow~=1.12.0, but you'll have tensorflow 1.14.0 which is incompatible.
ERROR: gym 0.15.3 has requirement cloudpickle~=1.2.0, but you'll have cloudpickle 0.6.1 which is incompatible.
Requirement.txt Content :-
gspread==3.0.0
beautifulsoup4~=4.6.3
requests~=2.21.0
geopy~=1.18.1
pandas~=0.24.1
rasa==1.3.9
future==0.17.1
fakeredis==0.10.1
keras-applications==1.0.6
keras-preprocessing==1.0.5
dill==0.2.9
tensorflow==1.14.0
wrapt==1.10.0
fbmessenger==5.0
matplotlib==2.0
packaging==18.0
pika==0.12.0
pyhton-socketio==3.0
pytz==2018.9
redis==2.0
ConfigArgParse==0.13
cloudpickle==0.6.1
mailchimp3==3.0.2
oauth2client==4.1.2
Other Details :--
OS-Window 10
Python - 3.6.0
pip -19.3
VS Code - 1.39
This occurs when you try to install a older version which is incompatible with new ones. Rather than having all the document i suggest that you can install the latest version of those packages manually.
However most of those packages comes with rasa. You can just install them with:
pip install rasa
If you have some libaries other than those coming with rasa just install them with "pip install (package_name)"
I feel you are trying to install rasa-x in an already existing virtual environment(venv).
Please create a new venv folder and then fire the below command and everything will work fine.
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
Earlier someone must have installed rasa-x. The earlier version had different versions of dependencies and in between rasa-x got upgraded along with its dependency versions. Now when you are trying to reinstall it, you are facing conflicts.
If you have a specific version of rasa-x, say 0.21.4, in your mind then you can install it in a new venv as follows:
pip install rasa-x==0.21.4 --extra-index-url https://pypi.rasa.com/simple
I have just appended the version number to the package name.
tensorflow 1.7.0 has requirement numpy>=1.13.3, but you'll have numpy 1.11.0 which is incompatible.
tensorboard 1.7.0 has requirement html5lib==0.9999999, but you'll have html5lib 0.999 which is incompatible.
tensorboard 1.7.0 has requirement numpy>=1.12.0, but you'll have numpy 1.11.0 which is incompatible.
Please refer to this screenshot
Why are these messages showing up...even though I have the proper versions installed??I have upgraded and reinstalled them over and over. I also reinstalled pip and also tried easy install for pip. But the problem persists.
Could something be wrong with my OS installation? (Ubuntu 16.4)
These are some results I got by running
pip freeze
tensorboard==1.8.0
tensorflow==1.8.0
numpy==1.14.3
html5lib==0.9999999
httplib2==0.9.1
The error showing up because
installing lxml require installing numpy-1.11.0
tensorflow (already installed) require numpy>=1.13.3 (already installed)
To solve, you can:
downgrade tensorflow
try install a newer version of lxml.
Probably you need to uninstall and reinstall compatible version
pip uninstall tensorflow-tensorboard
And then reinstall
pip install tensorflow-tensorboard==<your_version>
Ex. I did
pip install tensorflow-tensorboard==1.5.1