PIP - Corrupted update
Today I updated the pip using the recomended command and it download the new version of pip, unistaled the current one but then it couldn't install the new one.
After that I follow every step from here to install pip. It runs sucessufly, however when I do the list command it gives me this awfull error:
Exception: Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2584, in version
return self._version File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2691, in __getattr__
raise AttributeError(attr) AttributeError: _version
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalclibase_command.py",
line 179, in main
status = self.run(options, args) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 148, in run
self.output_package_listing(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 205, in output_package_listing
data, header = format_for_columns(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 271, in format_for_columns
row = [proj.project_name, proj.version] File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2589, in version
raise ValueError(tmpl % self.PKG_INFO, self) ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version]
(c:program files (x86)microsoft visual
studiosharedpython36_64libsite-packages))
Why it is giving this error and how could I fix it?
EDIT:
I instaled the python via the VS Community installer and it instaled the Anaconda. So, for now, I have the situation under control. However I would like to, at least, know why pip doesn't work. I even tried install an older version, without success.
pip
add a comment |
Today I updated the pip using the recomended command and it download the new version of pip, unistaled the current one but then it couldn't install the new one.
After that I follow every step from here to install pip. It runs sucessufly, however when I do the list command it gives me this awfull error:
Exception: Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2584, in version
return self._version File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2691, in __getattr__
raise AttributeError(attr) AttributeError: _version
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalclibase_command.py",
line 179, in main
status = self.run(options, args) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 148, in run
self.output_package_listing(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 205, in output_package_listing
data, header = format_for_columns(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 271, in format_for_columns
row = [proj.project_name, proj.version] File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2589, in version
raise ValueError(tmpl % self.PKG_INFO, self) ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version]
(c:program files (x86)microsoft visual
studiosharedpython36_64libsite-packages))
Why it is giving this error and how could I fix it?
EDIT:
I instaled the python via the VS Community installer and it instaled the Anaconda. So, for now, I have the situation under control. However I would like to, at least, know why pip doesn't work. I even tried install an older version, without success.
pip
add a comment |
Today I updated the pip using the recomended command and it download the new version of pip, unistaled the current one but then it couldn't install the new one.
After that I follow every step from here to install pip. It runs sucessufly, however when I do the list command it gives me this awfull error:
Exception: Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2584, in version
return self._version File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2691, in __getattr__
raise AttributeError(attr) AttributeError: _version
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalclibase_command.py",
line 179, in main
status = self.run(options, args) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 148, in run
self.output_package_listing(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 205, in output_package_listing
data, header = format_for_columns(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 271, in format_for_columns
row = [proj.project_name, proj.version] File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2589, in version
raise ValueError(tmpl % self.PKG_INFO, self) ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version]
(c:program files (x86)microsoft visual
studiosharedpython36_64libsite-packages))
Why it is giving this error and how could I fix it?
EDIT:
I instaled the python via the VS Community installer and it instaled the Anaconda. So, for now, I have the situation under control. However I would like to, at least, know why pip doesn't work. I even tried install an older version, without success.
pip
Today I updated the pip using the recomended command and it download the new version of pip, unistaled the current one but then it couldn't install the new one.
After that I follow every step from here to install pip. It runs sucessufly, however when I do the list command it gives me this awfull error:
Exception: Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2584, in version
return self._version File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2691, in __getattr__
raise AttributeError(attr) AttributeError: _version
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:Program Files
(x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalclibase_command.py",
line 179, in main
status = self.run(options, args) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 148, in run
self.output_package_listing(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 205, in output_package_listing
data, header = format_for_columns(packages, options) File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_internalcommandslist.py",
line 271, in format_for_columns
row = [proj.project_name, proj.version] File "C:Program Files (x86)Microsoft Visual
StudioSharedPython36_64libsite-packagespip_vendorpkg_resources__init__.py",
line 2589, in version
raise ValueError(tmpl % self.PKG_INFO, self) ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version]
(c:program files (x86)microsoft visual
studiosharedpython36_64libsite-packages))
Why it is giving this error and how could I fix it?
EDIT:
I instaled the python via the VS Community installer and it instaled the Anaconda. So, for now, I have the situation under control. However I would like to, at least, know why pip doesn't work. I even tried install an older version, without success.
pip
pip
edited Feb 14 at 14:49
Simple coder
asked Feb 12 at 21:40
Simple coderSimple coder
13
13
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1405021%2fpip-corrupted-update%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 Super User!
- 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%2fsuperuser.com%2fquestions%2f1405021%2fpip-corrupted-update%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