-
Notifications
You must be signed in to change notification settings - Fork 26
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
Blender 2.79b Not Compatible with tkinter #187
Comments
Adding these to the first two lines of src/mmvt_addon/colors_utils.py solved the installer issue but might not be a long-term fix. import matplotlib The matt_hilbert brain was inflated when I loaded MMVT but I just changed to inflated and back to pial and it fixed. But then I get the following non-fatal traceback while running MMVT, which is probably due to the file being generated in an older version of python: Traceback (most recent call last): Exception ignored in: <bound method NpzFile.del of <numpy.lib.npyio.NpzFile object at 0x2af2f51cac88>> |
Well, this is a problem. We need to understand the NpzFile error. Also, I think we don't need to import matplotlib. Until now, we could find a workaround. |
It looks like there were some developments and tkinter isn't included in the new blender python3.5m package. This causes issues with the current version of MMVT when importing matplotlib.
https://developer.blender.org/feed/?after=6540497215700866334
[karima:mmvt] (nmr-stable60-env) Traceback (most recent call last):
File "/autofs/space/karima_001/users/alex/software/mmvt_root_alex/mmvt_blend/empty_subject.blend/run_mmvt.py", line 12, in
File "/autofs/space/karima_001/users/alex/software/mmvt_root_alex/mmvt/src/mmvt_addon/mmvt_addon.py", line 29, in
import colors_utils
File "/autofs/space/karima_001/users/alex/software/mmvt_root_alex/mmvt/src/mmvt_addon/colors_utils.py", line 5, in
import matplotlib.pyplot as plt
File "/autofs/space/karima_001/users/alex/software/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/site-packages/matplotlib/pyplot.py", line 2374, in
switch_backend(rcParams["backend"])
File "/autofs/space/karima_001/users/alex/software/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/site-packages/matplotlib/pyplot.py", line 207, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "/autofs/space/karima_001/users/alex/software/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/autofs/space/karima_001/users/alex/software/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/site-packages/matplotlib/backends/backend_tkagg.py", line 1, in
from . import _backend_tk
File "/autofs/space/karima_001/users/alex/software/blender-2.79b-linux-glibc219-x86_64/2.79/python/lib/python3.5/site-packages/matplotlib/backends/_backend_tk.py", line 5, in
import tkinter as Tk
ImportError: No module named 'tkinter'
The text was updated successfully, but these errors were encountered: