You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to import MatchingMarkets in Google Codelab environment running Python 3.6 however getting the following error:
import matchingmarkets as mm
ImportError Traceback (most recent call last)
in ()
----> 1 import matchingmarkets as mm
2 #import matplotlib
3 #matplotlib.use('TKAgg')
4 frames
/usr/local/lib/python3.6/dist-packages/matplotlib/pyplot.py in switch_backend(newbackend)
234 "Cannot load backend {!r} which requires the {!r} interactive "
235 "framework, as {!r} is currently running".format(
--> 236 newbackend, required_framework, current_framework))
237
238 rcParams['backend'] = rcParamsDefault['backend'] = newbackend
ImportError: Cannot load backend 'Qt5Agg' which requires the 'qt5' interactive framework, as 'headless' is currently running
After doing some research on the error, it seems others have had similar error with matplotlib, though it is not clear if the suggested workaround would help in this case.
Any insights would be greatly appreciated.. or alternatively if you happen to have a clean install with MatchingMarkets already working somewhere in an online notebook/environment , please advise where it can be accessed. Thanks.
The text was updated successfully, but these errors were encountered:
I think the issue is from the interactive plots (like the one at the top of the README) not playing nice with some package versions. I'll update here when I find out.
Attempting to import MatchingMarkets in Google Codelab environment running Python 3.6 however getting the following error:
import matchingmarkets as mm
ImportError Traceback (most recent call last)
in ()
----> 1 import matchingmarkets as mm
2 #import matplotlib
3 #matplotlib.use('TKAgg')
4 frames
/usr/local/lib/python3.6/dist-packages/matplotlib/pyplot.py in switch_backend(newbackend)
234 "Cannot load backend {!r} which requires the {!r} interactive "
235 "framework, as {!r} is currently running".format(
--> 236 newbackend, required_framework, current_framework))
237
238 rcParams['backend'] = rcParamsDefault['backend'] = newbackend
ImportError: Cannot load backend 'Qt5Agg' which requires the 'qt5' interactive framework, as 'headless' is currently running
After doing some research on the error, it seems others have had similar error with matplotlib, though it is not clear if the suggested workaround would help in this case.
Any insights would be greatly appreciated.. or alternatively if you happen to have a clean install with MatchingMarkets already working somewhere in an online notebook/environment , please advise where it can be accessed. Thanks.
The text was updated successfully, but these errors were encountered: