Closed manuelma closed 3 years ago
Duplicate of #1448? I closed it because bugs in pipx are not our concern. Maybe we should not mention anything about Windows store python in our readme though.
We should probably remove everything about pipx in the readme too and just tell them to use pip install spinetoolbox
.
Duplicate of #1448?
Likely. The thing is, we don't provide any help to our users. They just see an error, it's a very bad experience to be honest. We need a real solution, a fully foolproof set of steps that welcome users to our application!
Commit coming up
Installation instructions from PyPI should be foolproof now. See also a new thing in troubleshooting section.
Thank you @PekkaSavolainen
I think this needs more discussion, I mean, what happens now if they are using their python for something else? Wasn't the purpose of using pipx
to ensure isolation within an environment or something like that?
Not to panic, but webinars attendants might be looking at these instructions soon, we need to get our story straight. I'm not saying I have a solution, just want things to work smoothly without disappointments.
Yeah, that was the purpose of what pipx was supposed to do but it would be nice if it would work with Windows store Python's as well. As such, we cannot really recommend users to do that as the primary installation option.
I did add a mention about pipx and ana/miniconda to troubleshooting section for this purpose. It's perfect now. Pekka out.
It's a pipy that pipx doesn't work as intended. I feel it's important to setup an environment for Toolbox, since many researchers nowadays use Python for multiple purposes. For me, conda has been working mostly fine for that purpose.
I understand that this is what we have for now, but I also feel the instructions needs to include that environment option too.
That’s right. Installing stuff globally is a potential source of a lot of trouble, and isolation (with pipx or virtual/conda envs) really is important. Options:
This is hopefully fixed now.
When following the recommended installation steps, things go well until step 5,
pipx install spinetoolbox
, where users may getpipx not recognized as a program
. Does this meanpython -m pipx ensurepath
didn't do its job?Running
python -m pipx install spinetoolbox
works, but thenspinetoolbox
doesn't work (spinetoolbox not recognized as a program
). This is because thebin
folder where the spinetoolbox executable is placed is not in the path.Installation instructions should be foolproof and it seems that currently we don't cover some corner cases. Any ideas? @ererkka @PekkaSavolainen