Open jkiviluo opened 1 year ago
You're trying to install the entity branch, right? I guess it won't work since the branches don't have version tags.
Installing Spine Toolbox from master branches works fine on my system. Maybe you skipped step 5.
python -m pip install --upgrade pip
Is this the case?
@soininen This issue is about the master branch being possibly broken. Please see chat on element.
Aye, it's the environment name (spi-entity2
) that let me astray here.
Actually this might be caused by the new dynamic versioning thing. The easiest fix is to clone the spinetoolbox repo again.
I did clean install with new conda environment. Did all the steps. Still the same.
I also did a clean install (freshly cloned Spine-Toolbox repository) with new conda environment and got toolbox running smoothly. @jkiviluo Can you provide any other information about your Python environment?
(spi-master) C:\data\spi-entity\Spine-Toolbox\src\spinedb-api>conda list
# packages in environment at C:\Users\prokjt\Miniconda3\envs\spi-master:
#
# Name Version Build Channel
ca-certificates 2023.08.22 haa95532_0
openssl 3.0.11 h2bbff1b_2
pip 23.2.1 py39haa95532_0
python 3.9.18 h1aa4202_0
setuptools 68.0.0 py39haa95532_0
sqlite 3.41.2 h2bbff1b_0
tzdata 2023c h04d1e81_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wheel 0.41.2 py39haa95532_0
I just re-tried and now it goes through. I was on a shaky wi-fi last time (but I tried it twice). And the error does not say it was because of lost internet connection. Well, let's hope this will not repeat. Closing...
Just kidding. I was in wrong directory (v0.8) where the
python -m pip install -r requirements.txt
works. So, in master still the same error message.
@jkiviluo Did you ever get installation from master branch working? There's a new issue (#2462), which is probably related somehow.
Still the same. Created a new environment, followed instructions for git installation and got the same AssertionError.
Somebody seems to know something about this; https://hpc-discourse.usc.edu/t/trouble-installing-modules-via-pip/784
I don't know what I should do in my case though.
When trying to follow installation instructions for git (https://github.com/spine-tools/Spine-Toolbox#installation-from-sources-using-git), at step 6 (install requirements), I get this. Doing python 3.9.
It works when I do it in the 0.8-dev branch.