spine-tools / Spine-Toolbox

Spine Toolbox is an open source Python package to manage data, scenarios and workflows for modelling and simulation. You can have your local workflow, but work as a team through version control and SQL databases.
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
73 stars 18 forks source link

"Fatal error from pip prevented installation." on Kaggle environment #2911

Closed DenizCanELCI closed 1 month ago

DenizCanELCI commented 3 months ago

I got the following error when I run "!python -m pipx install git+https://github.com/spine-tools/spinetoolbox-dev" on Kaggle environment:

""" Fatal error from pip prevented installation. Full pip output in file:-tools/... /root/.local/state/pipx/log/cmd_2024-08-03_18.28.09_pip_errors.log

pip seemed to fail to build package: psycopg2

Some possibly relevant errors from pip install: Error: pg_config executable not found.

Error installing spinetoolbox-dev from spec 'git+https://github.com/spine-tools/spinetoolbox-dev'. """

ptsavol commented 3 months ago

Which Python? If 3.12, try 3.11.

DenizCanELCI commented 3 months ago

I kinda lost the notebook which I tried. I can close the issue if you say it does work in python 3.12

jkiviluo commented 3 months ago

I'm closing this, since there seems to be no clear fix to do. If something like this repeats, would be good to know. Thanks @DenizCanELCI