-
-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Colab fails to install PyBaMM #2524
Comments
This is a known Reported last year here - pybamm-team/BattBot#47 The error comes from - Line 149 in c17756f
because the Lines 38 to 39 in c17756f
Maybe we can execute these lines only when a user is not on |
Thanks @Saransh-cpp , sounds like a good workaround |
currently i am working in pybamm i,should i wait for the the bug to be cleared.or should i go to comsol |
@reenubosepybamm you should be able to install PyBaMM's latest version in your local environment (not Google Colab) without any issues. This issue has also been fixed and you can install the develop version of PyBaMM on Google Colab (till the time a new release is made) -
instead of -
|
I have been using PyBaMM for most of 2022 with no issues, but since Google Colab was updated to Python 3.8, I have not been able to run any simulations. I have tried the following fixes to no avail:
Any other suggestions? |
Discussed in #2521
Google Colab has updated to Python 3.8 but now fails to install PyBaMM due to pybtex.
Originally posted by reenubosepybamm December 5, 2022
%pip install pybamm -q # install PyBaMM if it is not installed
import pybamm
import numpy as np
import matplotlib.pyplot as plt
GIVING AN ERROR
PluginNotFound Traceback (most recent call last)
in
2 get_ipython().run_line_magic('pip', 'install pybamm --no-cache -q')
3 get_ipython().run_line_magic('pip', 'install pybamm -q # install PyBaMM if it is not installed')
----> 4 import pybamm
5 import numpy as np
6 import matplotlib.pyplot as plt
6 frames
/usr/local/lib/python3.8/dist-packages/pybtex/plugin/init.py in _load_entry_point(group, name, use_aliases)
79 for entry_point in pkg_resources.iter_entry_points(search_group, name):
80 return entry_point.load()
---> 81 raise PluginNotFound(group, name)
82
83
PluginNotFound: plugin pybtex.database.input.bibtex not found
The text was updated successfully, but these errors were encountered: