Installed Anaconda -> strange behavior with DNF
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I am using Fedora 26.
Since I installed Anaconda, if I type in Terminal something like
sudo dnf install gnome[TAB]
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'dnf'
zsh: do you wish to see all 313 possibilities (317 lines)?
Any idea what could have happened? It has something to do with python I guess...
UPDATE:
When I removed Anaconda from the path, i get following message:
â ~ sudo dnf install gnomezsh: sqlite3: command not found...
Install package 'sqlite' to provide command 'sqlite3'? [N/y]
I should also mention that I am using zsh with oh-my/zsh.
fedora dnf anaconda
add a comment |Â
up vote
1
down vote
favorite
I am using Fedora 26.
Since I installed Anaconda, if I type in Terminal something like
sudo dnf install gnome[TAB]
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'dnf'
zsh: do you wish to see all 313 possibilities (317 lines)?
Any idea what could have happened? It has something to do with python I guess...
UPDATE:
When I removed Anaconda from the path, i get following message:
â ~ sudo dnf install gnomezsh: sqlite3: command not found...
Install package 'sqlite' to provide command 'sqlite3'? [N/y]
I should also mention that I am using zsh with oh-my/zsh.
fedora dnf anaconda
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It seems that you have brokendnf
. Did you uninstall python?
â imvpn22
Nov 17 '17 at 13:16
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am using Fedora 26.
Since I installed Anaconda, if I type in Terminal something like
sudo dnf install gnome[TAB]
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'dnf'
zsh: do you wish to see all 313 possibilities (317 lines)?
Any idea what could have happened? It has something to do with python I guess...
UPDATE:
When I removed Anaconda from the path, i get following message:
â ~ sudo dnf install gnomezsh: sqlite3: command not found...
Install package 'sqlite' to provide command 'sqlite3'? [N/y]
I should also mention that I am using zsh with oh-my/zsh.
fedora dnf anaconda
I am using Fedora 26.
Since I installed Anaconda, if I type in Terminal something like
sudo dnf install gnome[TAB]
I get
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'dnf'
zsh: do you wish to see all 313 possibilities (317 lines)?
Any idea what could have happened? It has something to do with python I guess...
UPDATE:
When I removed Anaconda from the path, i get following message:
â ~ sudo dnf install gnomezsh: sqlite3: command not found...
Install package 'sqlite' to provide command 'sqlite3'? [N/y]
I should also mention that I am using zsh with oh-my/zsh.
fedora dnf anaconda
edited Nov 11 '17 at 11:42
asked Nov 10 '17 at 20:06
Leta
244
244
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It seems that you have brokendnf
. Did you uninstall python?
â imvpn22
Nov 17 '17 at 13:16
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22
add a comment |Â
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It seems that you have brokendnf
. Did you uninstall python?
â imvpn22
Nov 17 '17 at 13:16
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It seems that you have broken
dnf
. Did you uninstall python?â imvpn22
Nov 17 '17 at 13:16
It seems that you have broken
dnf
. Did you uninstall python?â imvpn22
Nov 17 '17 at 13:16
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
This is a bug in zsh
. Change the instances of python2 and python3 in /usr/share/zsh/5.*your_version*/functions/_dnf
to /usr/bin/python2
and /usr/bin/python3
respectively.
This solved my problem. Big thanks to https://github.com/ContinuumIO/anaconda-issues/issues/886
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This is a bug in zsh
. Change the instances of python2 and python3 in /usr/share/zsh/5.*your_version*/functions/_dnf
to /usr/bin/python2
and /usr/bin/python3
respectively.
This solved my problem. Big thanks to https://github.com/ContinuumIO/anaconda-issues/issues/886
add a comment |Â
up vote
1
down vote
This is a bug in zsh
. Change the instances of python2 and python3 in /usr/share/zsh/5.*your_version*/functions/_dnf
to /usr/bin/python2
and /usr/bin/python3
respectively.
This solved my problem. Big thanks to https://github.com/ContinuumIO/anaconda-issues/issues/886
add a comment |Â
up vote
1
down vote
up vote
1
down vote
This is a bug in zsh
. Change the instances of python2 and python3 in /usr/share/zsh/5.*your_version*/functions/_dnf
to /usr/bin/python2
and /usr/bin/python3
respectively.
This solved my problem. Big thanks to https://github.com/ContinuumIO/anaconda-issues/issues/886
This is a bug in zsh
. Change the instances of python2 and python3 in /usr/share/zsh/5.*your_version*/functions/_dnf
to /usr/bin/python2
and /usr/bin/python3
respectively.
This solved my problem. Big thanks to https://github.com/ContinuumIO/anaconda-issues/issues/886
answered Nov 19 '17 at 18:44
Pratik Bhangale
365
365
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403815%2finstalled-anaconda-strange-behavior-with-dnf%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What are you trying to install actually?
â imvpn22
Nov 17 '17 at 3:47
It's not about what I am trying to install... Whatever I would like to install, I get the same, strange, behavior...
â Leta
Nov 17 '17 at 7:55
It seems that you have broken
dnf
. Did you uninstall python?â imvpn22
Nov 17 '17 at 13:16
There is an old question with similar problem.
â imvpn22
Nov 17 '17 at 13:22