I've been trying to install the "brightway2" pkg in my virtual environment with the latest version of miniconda for macOS M1 chip (Miniconda3 macOS Apple M1 64-bit bash) by following carefully the procedure (https://2.docs.brightway.dev/installation.html) but installation keeps failing due to conflicts.
When I insert this line
conda install -y -q -c conda-forge -c cmutel brightway2 jupyterlab
The command outputs the following
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working...
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python_abi conflicts for:
brightway2 -> python_abi=3.9[build=*_cp39]
brightway2 -> bw2analyzer[version='<0.10.99'] -> python_abi[version='3.10.*|3.7.*|3.8.*',build='*_cp37m|*_cp310|*_cp38']
jupyterlab -> ipython -> python_abi[version='3.10.*|3.8.*|3.9.*',build='*_cp310|*_cp38|*_cp39']
Package wheel conflicts for:
jupyterlab -> jupyter-packaging[version='>=0.7,<1'] -> wheel
python=3.9 -> pip -> wheel
Package jinja2 conflicts for:
jupyterlab -> jupyter_server[version='>=1.4,<2'] -> jinja2[version='>2.10*|>=3.0.3']
jupyterlab -> jinja2[version='>=2.1|>=2.10']
I tried multiple times different versions of python, tried to install with anaconda, other miniconda versions and even pip command but nothing does it... I also made sure to update conda before creating my virtual environement with the following:
./conda update conda
Anybody would know if this is a macOS M1 incompatibility or is there any way around those conflicts?
We have added instructions for M1 Macs here: https://2.docs.brightway.dev/installation.html#installation-on-mac-m1