-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello Dr. Lubba,
I Installed the package but does not work correctly when I am executing text.py
I will get these errors:
File "test.py", line 1, in <module> import PyPNS File "/home/jovyan/PyPNS/PyPNS/__init__.py", line 1, in <module> from PyPNS.bundleClass import Bundle File "/home/jovyan/PyPNS/PyPNS/bundleClass.py", line 10, in <module> mpl.use('TkAgg') File "/opt/conda/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 296, in wrapper return func(*args, **kwargs) File "/opt/conda/lib/python3.7/site-packages/matplotlib/cbook/deprecation.py", line 358, in wrapper return func(*args, **kwargs) File "/opt/conda/lib/python3.7/site-packages/matplotlib/__init__.py", line 1281, in use plt.switch_backend(name) File "/opt/conda/lib/python3.7/site-packages/matplotlib/pyplot.py", line 237, in switch_backend newbackend, required_framework, current_framework)) ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running
I tried that on my Macbook, I intalled on a linux mechine and on a docker container but so far none of them are working.
What do you suggest?
Thanks,
Morteza.