initial install and run error Tkinter module import.

24 views
Skip to first unread message

eaglerockdude

unread,
Jun 17, 2018, 10:59:59 PM6/17/18
to nvpy
I use notational velocity on mac for years.  I found nvpy looking for something for linux (I have a pretty new install of Fedora 28)

I cloned the repo and cd'd to nvpy as per the git instructions.

when I run 'python nvpy' I get the error below.

I do have a version of python on my machine looks to be 2.7.14





[eaglerockdude@kenputer nvpy]$ python nvpy
Traceback (most recent call last):
 File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
   "__main__", fname, loader, pkg_name)
 File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
   exec code in run_globals
 File "/home/eaglerockdude/nvpy/nvpy/__main__.py", line 1, in <module>
   import nvpy
 File "nvpy/nvpy.py", line 47, in <module>
   import view
 File "nvpy/view.py", line 8, in <module>
   import search_entry
 File "nvpy/search_entry.py", line 11, in <module>
   import tkinter as Tkinter
ImportError: No module named tkinter


I did a bit of research and looks like it is supposed to be installed with python. 

Is this correct.  I need to install or update python...and which version...the 2 or 3 for this app.

thx.

平野勇輝

unread,
Jun 17, 2018, 11:45:48 PM6/17/18
to nv...@googlegroups.com
The nvpy requires python2 and python2-tkinter.
Please install the python2-tkinter package.

--
You received this message because you are subscribed to the Google Groups "nvpy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nvpy+unsubscribe@googlegroups.com.
To post to this group, send email to nv...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nvpy/60a21c62-7a81-4b49-8d77-4aea7d671f16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

eaglerockdude

unread,
Jun 18, 2018, 12:07:20 AM6/18/18
to nvpy
Thanks...yeah I basically installed the tkinter package once I found it...it was separate from python...now it works.

thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to nvpy+uns...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages