(venv) benjamingross@CLV-C02XX6DCJG5J author-level_fractional_counting_for_organizations % python main.py
Traceback (most recent call last):
File "/Users/benjamingross/Documents/git/Clarivate/wos_api_usecases/author-level_fractional_counting_for_organizations/main.py", line 17, in <module>
import tkinter as tk
File "/usr/local/Cellar/python@3.9/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/__init__.py", line 37, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
Which then asked me to run brew install python-tk@3.9
After installing, I get this error.
(venv) benjamingross@CLV-C02XX6DCJG5J author-level_fractional_counting_for_organizations % python main.py
2023-02-06 08:29:46.842 Python[42873:6886818] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
Will need to dig further to see if it's a problem with my installation or not.
Ran into some issues with running this on macOs.
Installed with
brew install python-tk
per https://stackoverflow.com/questions/68554782/modulenotfounderror-no-module-named-tkinter-on-macos.Which then asked me to run
brew install python-tk@3.9
After installing, I get this error.Will need to dig further to see if it's a problem with my installation or not.