-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Tkinter - fails in a virtual env #56
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
Comments
Actually a better way of fixing this would be to set the TCL_LIBRARY path in
|
I too am just setting the environment variable TCL_LIBRARY path in activate.bat. So all virtualenv needs to do is add that line to activate.bat automagically. |
There is a thread on stackoverflow on this issue as well: I also just set the environment variable in activate.bat. However would be great if this would be done automatically. |
Still a problem in virtualenv 15.0.1. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions. |
Looks like it's still a problem |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions. |
This is still a problem. I hit it most recently on Mac -- the fix for #93 did not resolve the issue on Mac. |
Someone need to reactivate this issue. Just because it has sat around without getting any traction, that doesn't mean it's no longer an issue. It just means the project maintainers have not prioritized it like they should. |
On Windows, still an issue with Python 2.7 but seems solved in Python 3.8 with the |
Please feel free to file a new issue, with the error message, reproduction instructions and information on how you installed Python. |
Considering project maintainers are not paid, and do it for free in their personal time I don't believe you can talk about |
When a virtualenv which shares the global environment site-packges is used for Tk based application using the global Tk.
Tkinter cannot initialise correctly in a virtualenv as it fails to correctly search for it's resources - which are still in the global python environment.
What I would expect is for a virtual env to work the same as the globale environment like so:--
After some experimentation I have found that copying c:\python26\tcl{tcl,tk}8.5 directories into the c:\venvtest\Libs solve the issues.
The text was updated successfully, but these errors were encountered: