Closed MoiseRousseau closed 11 months ago
Hi, I have upgraded my setup tools but when I use "pip install ." i get the following error:
C:\Users\dharvey\Documents\Automation Projects\Python\PyGeostudio\PyGeoStudio-main\PyGeoStudio-main>pip install . Processing c:\users\dharvey\documents\automation projects\python\pygeostudio\pygeostudio-main\pygeostudio-main Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Traceback (most recent call last):
File "C:\Users\dharvey\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Did you also upgrade the pip
module ? Looks like now you have multiple .egg-info folders... Can you upgrade pip
and then reinstall with the command pip install . -vvv
?
From comment on commit https://github.com/MoiseRousseau/PyGeoStudio/commit/e4045e2e34bfdaba2fd40ae9340b8a4959cc3278 from diharvey:
I would love to use this package as I would like to run thousands of geostudio models in order to develop and understanding of the relationship of the phreatic surface elevation and the FoS of the slope in question. I am struggling to import the package and VS Code keeps giving me the error "pygeostudio is not a package. I have tried the fix mentioned above but i receive the error "ERROR: No .egg-info directory found". Please could you help me get this installed, I would love to use PyGeostudio.
This looks like you pip package is not up to date as on https://stackoverflow.com/questions/26091641/what-does-a-could-not-find-egg-info-directory-in-install-record-from-pip-mean. I advise you to update your pip version using the step describe in the link. Else, can you send me the full output of your VS code terminal ?
Moise