uma-pi1 / kge

LibKGE - A knowledge graph embedding library for reproducible research
MIT License
765 stars 124 forks source link

ERROR: gpytorch 1.5.1 has requirement torch>=1.8.1, but you'll have torch 1.7.1+cu110 which is incompatible. #246

Closed lihuiliullh closed 2 years ago

lihuiliullh commented 2 years ago

Hi, I met a problem when I tried to install kge.

ERROR: gpytorch 1.5.1 has requirement torch>=1.8.1, but you'll have torch 1.7.1+cu110 which is incompatible. ERROR: botorch 0.5.1 has requirement torch>=1.8.1, but you'll have torch 1.7.1+cu110 which is incompatible.

Can you help me?

rufex2001 commented 2 years ago

It seems your installation of libkge is conflicting with other unrelated libraries you have installed. Have you tried installing libkge in a separate python environment?

lihuiliullh @.***> schrieb am Fr. 19. Nov. 2021 um 20:42:

Hi, I met a problem when I tried to install kge.

ERROR: gpytorch 1.5.1 has requirement torch>=1.8.1, but you'll have torch 1.7.1+cu110 which is incompatible. ERROR: botorch 0.5.1 has requirement torch>=1.8.1, but you'll have torch 1.7.1+cu110 which is incompatible.

Can you help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/uma-pi1/kge/issues/246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEWXZF5OXXHOU6X6L23GG3UM2SDZANCNFSM5IM4D3OA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

lihuiliullh commented 2 years ago

Yes, I installed it in a separate python environment. Can you tell me which version of gpytorch and botorch you use?

rgemulla commented 2 years ago

Fixed in ed53b69aff350de33b236736c86e1ac4e33e3421. Please reinstall via "pip -e ." and reopen if the problem still arises.