0 votes
I have been facing the problem of "Tkinter module not found" every time when try to run the code recipe in DDP.

the problem is only notebook is there as the interactive platform in DDP for python so either tell the way to install python Tkinter through notebook or tell me the other way if any ?

But anyone please help....!
asked by anonymous
I am not aware of tkinter being a required dependency to run python recipe. Do you import it in your code?
If you need it you can install it, see: https://www.dataiku.com/learn/guide/code/python/install-python-packages.html

1 Answer

0 votes

You can try the following sequence:

  • unload the python notebook
  • open the python notebook
  • run this in a cell (important : BEFORE running the %pylab...)
import matplotlib
matplotlib.use('Agg')

 

answered by
595 questions
605 answers
440 comments
327 users