Hi there,
I have noticed something strange going on with snappy and the tkinter module.
In my script, I open a folder using the gui from tkinter:
…
root = tk.Tk()
root.withdraw()
fname = filedialog.askdirectory(initialdir=“.”, title=‘Open:’)
return fname
which yields the selection box. https://i.stack.imgur.com/UtNlI.png
I am working in Python 3.4 in a anaconda virtual environment. I install snappy by doing the following (in the virtual env):
- Go to the jpy folder and do
python setup.py --maven build
- Navigate to snap/bin/ and do
./snappy-conf /home/username/anaconda3/envs/environement_name/bin/python
At this point the tkinter GUI still works fine, but I can’t use snappy. So I go to /snap/snappy and do:
python setup.py install
At this point I can import snappy, however when I run the code, the tkinter window is frozen: i.e. I can access the buttons and the navigation bar, but the folders are not clickable. The window also makes the program hang and I need to force restart the kernel (working in Spyder).
Any idea what this could be due to?