ImportError: No module named toolkit.interface

0 votes

Hi Guys,

I have one python script. In that file I tried to import the below module.

from toolkit.interface import interface

But I got this below error.

Traceback (most recent call last):
  File "menu.py", line 18, in ?
    from toolkit.interface import interface
ImportError: No module named toolkit.interface
Apr 22 in Python by akhtar
• 11,270 points
47 views

1 answer to this question.

0 votes

I think you didn't set your python path in .bashrc file. So set your pythonpath and then try.

$ export PYTHONPATH={set your path here}

Hope this will work.

answered Apr 22 by MD
• 24,500 points

Related Questions In Python

0 votes
1 answer

ImportError: No module named requests

Requests is not available for use by ...READ MORE

answered Jun 26, 2018 in Python by Hamartia's Mask
• 1,580 points
1,182 views
+3 votes
1 answer

Tensorflow 1.5 ImportError: No module named tensorflow.python.client

I think it's a bug in Tensorflow ...READ MORE

answered Sep 25, 2018 in Python by charlie_brown
• 7,760 points
4,989 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 5, 2018 in Python by Priyaj
• 57,530 points
1,111 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 9, 2018 in Python by Priyaj
• 57,530 points
213 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 963 views
0 votes
0 answers
+4 votes
6 answers
0 votes
1 answer

how to solve the error : "ImportError: No module named Tkinter" in python.

Hi@Umama, If you are using Linux system, then ...READ MORE

answered Apr 27 in Python by MD
• 24,500 points
467 views
0 votes
1 answer

import NumPy as np ImportError: No module named NumPy

Hi@akhtar, Whenever you import a module, python will ...READ MORE

answered Apr 9 in Python by MD
• 24,500 points
593 views