-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Bug Summary
The module cannot be imported if the tkinter module is not installed in Python.
Module version
v0.2.0
Platform version
- Python 3.7.3
- RHEL 7
Steps to reproduce
- install the 0.2.0 version
pip install tideway==0.2.0
- import the module in your code :
#!/usr/bin/env python3 # coding: utf-8 import os import sys from pathlib import Path import argparse import json import tideway
Actual results
The following error message appears with running the code :
import tideway
File "/venv/lib/python3.7/site-packages/tideway-0.2.0-py3.7.egg/tideway/__init__.py", line 4, in <module>
from tideway import main, \
File "/venv/lib/python3.7/site-packages/tideway-0.2.0-py3.7.egg/tideway/main.py", line 4, in <module>
from tkinter import BASELINE
File "/usr/local/lib/python3.7/tkinter/__init__.py", line 36, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
Additional information
tkinter is imported in main.py as follows :
from tkinter import BASELINE
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed