Skip to content
Permalink
Browse files

fix import issue

  • Loading branch information...
sdpython committed Jan 29, 2018
1 parent 2dce3ef commit 606826050ef58dcc5bd90f53485fe572cf63636a
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/pyquickhelper/pycode/tkinter_helper.py
@@ -7,6 +7,7 @@
import os
import sys
import warnings
import ctypes

_first_execution = False

@@ -40,9 +41,7 @@ def fix_tkinter_issues_virtualenv(exc=True, fLOG=None):
global _first_execution

def location():
import numpy
site = os.path.normpath(os.path.dirname(
os.path.join(os.path.abspath(ctypes.__file__))))
site = os.path.normpath(os.path.dirname(os.path.join(os.path.abspath(ctypes.__file__))))
rev = os.path.join(site, "..", "..")
if sys.platform.startswith("win"):
site = os.path.join(rev, "tcl")

0 comments on commit 6068260

Please sign in to comment.
You can’t perform that action at this time.