sn-gamestate icon indicating copy to clipboard operation
sn-gamestate copied to clipboard

when I run the command of 'pip install -e .' in sn-gamestate,there is a Error,how to sovle it?

Open Xv-M-S opened this issue 10 months ago • 7 comments

image

Xv-M-S avatar Apr 22 '24 12:04 Xv-M-S

Hi,

Could you give some information on the system you're running the installation ?

  • OS (Mac/Linux/Windows) and version (e.g. Ubuntu 22.04)
  • python version
  • GPU version and driver

If you could also give a bigger screenshot of the error, as there isn't much information on the current screenshot.

Thanks ! Victor

victorjoos avatar Apr 24 '24 08:04 victorjoos

Actually, from re-reading the error, this might be a problem where python doesn't find git or you have an old git version.

Could you check that you have git correctly installed, and it's found in your environment ?

victorjoos avatar Apr 24 '24 08:04 victorjoos

Ok, thank for your answer. Here is information abort my OS and version: image Here is python version: image Here is GPU version and driver: image image As for git version,it is 2.25.1,is that too old? image

Xv-M-S avatar Apr 25 '24 06:04 Xv-M-S

No your git version should be good enough. And we haven't yet seen installation problems on this version of ubuntu.

Could you send a screenshot of the full stack-trace of the installation error ? I don't have enough information right now to figure out what the problem is.

victorjoos avatar Apr 26 '24 13:04 victorjoos

Ok,here is the complete information about the Error. image image image image image

Xv-M-S avatar Apr 26 '24 14:04 Xv-M-S

I'm really not sure what happens, I'll try to reproduce this error on my side, but what I can already recommend you can try on your side :

  • Try to install everything with poetry instead of pip and conda (I think this will be the easiest way of making it work)
  • Maybe update pip ? I found this blog post : https://konkle.us/2013624pip-bug-with-new-versions-of-git/, but it seems quite old
  • Are you on the latest version of tracklab ?

victorjoos avatar Apr 26 '24 15:04 victorjoos

Thank you for patient answer,I'll try install everything with poetry later. I had run a command of "git -C ../tracklab pull" before using pip to install and my pip version is 23.3.1.

Xv-M-S avatar Apr 26 '24 16:04 Xv-M-S