Z
Z
zkweb2015-08-17 17:52:57
Python
zkweb, 2015-08-17 17:52:57

How to solve the problem with CommandNotFound?

I don't remember exactly what I did, so it ended up being a mistake. Help, please, how to solve?

Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 10, in <module>
    import CommandNotFound
ImportError: No module named CommandNotFound

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2015-08-17
@zkweb

or you don't have /usr/lib/command-not-found
then you need to install it.
or the necessary dependencies are missing to run it,
then you need to look at what is missing through ldd /usr/lib/command-not-found and install it

G
GavriKos, 2015-08-17
@GavriKos

Install the CommandNotFound module, obviously.
In general, you need to remember what you did. Telepaths on vacation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question