Closed marc-vdm closed 4 weeks ago
install
argument was missing)cd
is also a correct command to enter a folder on Windows (maybe you meant dir
/ls
?)numpy<=1.24.4
that is incompatible with Python 3.12. Hence, I now restricted the package compatibility to 3.9-3.11. We need numpy<=1.24.4
because of bw2io
.git clone
option1 & 3: could it be that the environment uses Python 3.12?
Yes that resolves 1&3, should have looked better.
For 4: my conda sees the version of today with conda search -c romainsacchi -f pathways
but still has the original error, also with python=3.11
Ah ok, forget my last comment then.
conda install romainsacchi::pathways
which fetches today's release (from 20 minutes ago), and it seems to work fine now (and bw2calc
and datapackage
are now part of the environment). Can you confirm?For me it keeps failing:
(pw) marc@framework7640u:~$ conda install romainsacchi::pathways=2024.10.29
Channels:
- defaults
- romainsacchi
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- nothing provides bw2calc needed by pathways-2024.10.29-py_0
Could not solve for environment specs
The following package could not be installed
└─ pathways 2024.10.29* is not installable because it requires
└─ bw2calc, which does not exist (perhaps a missing channel).
I see. I think that is because I forgot to specify the conda-forge
channel. I changed the instruction to:
conda install -c conda-forge -c romainsacchi pathways
. Now it should find the missing packages.
All work for me now.
related to https://github.com/openjournals/joss-reviews/issues/7309
When I
conda create -n pw pip
andpip git+https://github.com/polca/pathways.git
I get:ERROR: unknown command "git+https://github.com/polca/pathways.git"
When I
conda create -n pw pip
andcd
is a MacOS and Linux command, I don't expect this to work on Windows (I think it'sdir
?)I get:
When I
conda create -n pw
andconda install romainsacchi::pathways
I get the error thatbw2calc
is not installed, after that thatdatapackage
is not installed, after which I stopped.