Problems installing pybamm from conda forge #2668
Replies: 5 comments 3 replies
-
Use python 3.7 today, pip install is OK |
Beta Was this translation helpful? Give feedback.
-
@AlvarmenTUD please install
@Jerry841124 please avoid using |
Beta Was this translation helpful? Give feedback.
-
Dear all, I had the latest python version (3.10) and was trying to install the newest version of pybamm (23). It appears that was the problem, not sure if it was something about the library itself or my computer. I solved it by creating a new environment with python 3.9 and installing pybamm 22.12. With older versions in both, I was able to install and run it. |
Beta Was this translation helpful? Give feedback.
-
Hi! PyBaMM still does not support Python 3.10, only 3.8 and 3.9. The most recent versions should work with Python 3.9 as well. |
Beta Was this translation helpful? Give feedback.
-
Hi! I believe PyBaMM now does support Python 3.10, but I'm still having trouble installing the latest version I've tested on MacOS (x64) and Linux, and conda-forge tends to pick version Minimal example: Traceback: UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package python conflicts for:
python=3.10
pybamm=23.5 -> python[version='>=3.8,<3.9.0a0|>=3.9,<3.10.0a0']
pybamm=23.5 -> anytree[version='>=2.4.3'] -> python[version='*|2.7.*|3.5.*|3.6.*|>=3.6|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3|>=3.7,<3.8.0a0|>=3.12,<3.13.0a0|>=3.6,<3.7.0a0|>=2.7,<2.8.0a0|>=3.12.0rc3,<3.13.0a0|>=3.7.1,<3.8.0a0|3.8.*|>=3.8|>=3.7|>=2.7|3.4.*|>=3.5,<3.6.0a0|>=3.9|>=3.5.3|>=3.5|3.9.*',build=*_cpython]The following specifications were found to be incompatible with your system:
- feature:/osx-64::__osx==10.16=0
- feature:/osx-64::__unix==0=0
- feature:|@/osx-64::__osx==10.16=0
- feature:|@/osx-64::__unix==0=0
- pybamm=23.5 -> matplotlib-base[version='>=2.0'] -> __osx[version='>=10.11|>=10.12|>=10.9']
- pybamm=23.5 -> sympy[version='>=1.8'] -> __unix
Your installed version is: 10.16 However, the following options work:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am trying to install PyBaMM from Anaconda Prompt using
conda install -c conda-forge pybamm
I have created a new environment for this purpose with both python 3.9 and 3.8 but still not able, I am getting the following error:
Been trying to install the package for some time but I am getting this or other problems, doing it from anaconda navigator and from anaconda prompt.
I have tried with pip from windows powershell and still not able to install the package.
Any idea what can be the cause of these problems???
Thanks a lot in advance.
Beta Was this translation helpful? Give feedback.
All reactions