Program uninstalled but still gives error: ContextualVersionConflict
I use ubuntu 18.04.
I recently installed certbot to create an SSH and it worked. Then I decide to install python-pip and certbot-dns-cloudflare using this command
sudo apt install python-pip
sudo pip install certbot-dns-cloudflare
after installing, when I ran certbot I always get the error
An unexpected error occurred:
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
Please see the logfile '/tmp/tmpg0HmH3' for more details.
the log file output:
2019-01-08 01:54:07,629:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/certbot/main.py", line 1334, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 206, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 52, in __init__
self.plugin_cls = entry_point.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2323, in load
self.require(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
2019-01-08 01:54:07,629:ERROR:certbot.log:An unexpected error occurred:
even when I uninstalled python-pip certbot-dns-cloudflare and certbot using
sudo pip uninstall certbot-dns-cloudflare
sudo apt remove python-pip
sudo apt remove certbot
I still got the same error, shouldn't it tells me that the program is not installed?
apt 18.04 uninstall
add a comment |
I use ubuntu 18.04.
I recently installed certbot to create an SSH and it worked. Then I decide to install python-pip and certbot-dns-cloudflare using this command
sudo apt install python-pip
sudo pip install certbot-dns-cloudflare
after installing, when I ran certbot I always get the error
An unexpected error occurred:
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
Please see the logfile '/tmp/tmpg0HmH3' for more details.
the log file output:
2019-01-08 01:54:07,629:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/certbot/main.py", line 1334, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 206, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 52, in __init__
self.plugin_cls = entry_point.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2323, in load
self.require(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
2019-01-08 01:54:07,629:ERROR:certbot.log:An unexpected error occurred:
even when I uninstalled python-pip certbot-dns-cloudflare and certbot using
sudo pip uninstall certbot-dns-cloudflare
sudo apt remove python-pip
sudo apt remove certbot
I still got the same error, shouldn't it tells me that the program is not installed?
apt 18.04 uninstall
add a comment |
I use ubuntu 18.04.
I recently installed certbot to create an SSH and it worked. Then I decide to install python-pip and certbot-dns-cloudflare using this command
sudo apt install python-pip
sudo pip install certbot-dns-cloudflare
after installing, when I ran certbot I always get the error
An unexpected error occurred:
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
Please see the logfile '/tmp/tmpg0HmH3' for more details.
the log file output:
2019-01-08 01:54:07,629:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/certbot/main.py", line 1334, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 206, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 52, in __init__
self.plugin_cls = entry_point.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2323, in load
self.require(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
2019-01-08 01:54:07,629:ERROR:certbot.log:An unexpected error occurred:
even when I uninstalled python-pip certbot-dns-cloudflare and certbot using
sudo pip uninstall certbot-dns-cloudflare
sudo apt remove python-pip
sudo apt remove certbot
I still got the same error, shouldn't it tells me that the program is not installed?
apt 18.04 uninstall
I use ubuntu 18.04.
I recently installed certbot to create an SSH and it worked. Then I decide to install python-pip and certbot-dns-cloudflare using this command
sudo apt install python-pip
sudo pip install certbot-dns-cloudflare
after installing, when I ran certbot I always get the error
An unexpected error occurred:
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
Please see the logfile '/tmp/tmpg0HmH3' for more details.
the log file output:
2019-01-08 01:54:07,629:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/certbot/main.py", line 1334, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 206, in find_all
plugin_ep = PluginEntryPoint(entry_point)
File "/usr/local/lib/python2.7/dist-packages/certbot/plugins/disco.py", line 52, in __init__
self.plugin_cls = entry_point.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2323, in load
self.require(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.2.1'), set(['PyOpenSSL']))
2019-01-08 01:54:07,629:ERROR:certbot.log:An unexpected error occurred:
even when I uninstalled python-pip certbot-dns-cloudflare and certbot using
sudo pip uninstall certbot-dns-cloudflare
sudo apt remove python-pip
sudo apt remove certbot
I still got the same error, shouldn't it tells me that the program is not installed?
apt 18.04 uninstall
apt 18.04 uninstall
asked Jan 8 at 1:59
otongotong
136
136
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107858%2fprogram-uninstalled-but-still-gives-error-contextualversionconflict%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107858%2fprogram-uninstalled-but-still-gives-error-contextualversionconflict%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown