How to install RecBole on windows PyCharm? (package versions have conflicting dependencies error) #806
Unanswered
alanjacob10
asked this question in
Q&A
Replies: 1 comment 4 replies
-
It seems that you have pytorch < 1.6.0 on your Windows device, while RecBole 0.2.1 requires pytorch >= 1.7.0. Upgrade your pytorch package and try again? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Does anybody know why i get the following error when trying to install recbole in PyCharm? :
Error occured:
`ERROR: Cannot install recbole==0.1.0, recbole==0.1.1, recbole==0.1.2 and recbole==0.2.1 because these package versions have conflicting dependencies.
Proposed solution:
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at 'C:\Users\AlanR\PycharmProjects\recboletest1\venv\Scripts\python.exe'.
Command Output:
Collecting recbole
Using cached recbole-0.2.1-py3-none-any.whl (2.0 MB)
Collecting colorlog==4.7.2
Using cached colorlog-4.7.2-py2.py3-none-any.whl (10 kB)
Collecting pyyaml>=5.1.0
Using cached PyYAML-5.4.1-cp37-cp37m-win32.whl (193 kB)
Collecting colorama==0.4.4
Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting scikit-learn>=0.23.2
Using cached scikit_learn-0.24.1-cp37-cp37m-win32.whl (6.1 MB)
Collecting recbole
Using cached recbole-0.1.2-py3-none-any.whl (2.0 MB)
Using cached recbole-0.1.1-py3-none-any.whl (2.0 MB)
Using cached recbole-0.1.0-py3-none-any.whl (2.0 MB)
Collecting hyperopt>=0.2.4
Using cached hyperopt-0.2.5-py2.py3-none-any.whl (965 kB)
The conflict is caused by:
recbole 0.2.1 depends on torch>=1.7.0
recbole 0.1.2 depends on torch>=1.6.0
recbole 0.1.1 depends on torch>=1.6.0
recbole 0.1.0 depends on torch>=1.6.0
To fix this you could try to:
ERROR: Cannot install recbole==0.1.0, recbole==0.1.1, recbole==0.1.2 and recbole==0.2.1 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies`
I tried updating pip, and also install recbole through commando promt but didn't seem to react to this. Still can't install in PyCharm.
Ps. Recbole support kindly helped me with another issue in another discussion, but do to too much memory power required by the algorithms I had to switch to a windows computer with more RAM and here this issue occured.
Sincerely,
Alan
Beta Was this translation helpful? Give feedback.
All reactions