"brightway2" pkg 在 macOS Apple M1 上不兼容?
"brightway2" pkg incompatible on macOS Apple M1?
我一直在尝试使用适用于 macOS M1 芯片的最新版 miniconda(Miniconda3 macOS Apple M1 64 位 bash[在我的虚拟环境中安装“brightway2”pkg =26=]) 仔细按照程序 (https://2.docs.brightway.dev/installation.html) 安装,但由于冲突,安装一直失败。
当我插入这一行
conda install -y -q -c conda-forge -c cmutel brightway2 jupyterlab
命令输出如下
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']
我尝试了多次不同版本的 python,尝试使用 anaconda、其他 miniconda 版本甚至 pip 命令进行安装,但没有任何效果...我还确保在创建虚拟环境之前更新 conda具有以下内容:
./conda update conda
有人知道这是否是 macOS M1 不兼容,或者有什么办法可以解决这些冲突?
我们在此处添加了 M1 Mac 的说明:https://2.docs.brightway.dev/installation.html#installation-on-mac-m1
我一直在尝试使用适用于 macOS M1 芯片的最新版 miniconda(Miniconda3 macOS Apple M1 64 位 bash[在我的虚拟环境中安装“brightway2”pkg =26=]) 仔细按照程序 (https://2.docs.brightway.dev/installation.html) 安装,但由于冲突,安装一直失败。
当我插入这一行
conda install -y -q -c conda-forge -c cmutel brightway2 jupyterlab
命令输出如下
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']
我尝试了多次不同版本的 python,尝试使用 anaconda、其他 miniconda 版本甚至 pip 命令进行安装,但没有任何效果...我还确保在创建虚拟环境之前更新 conda具有以下内容:
./conda update conda
有人知道这是否是 macOS M1 不兼容,或者有什么办法可以解决这些冲突?
我们在此处添加了 M1 Mac 的说明:https://2.docs.brightway.dev/installation.html#installation-on-mac-m1