inconsistent pip version in PyCharm
I'm using PyCharm on Windows. I have a project setup for small experiments with algorithms that uses it's own virtual environment. I was trying to install tensorflow and I got an error that I'm running pip 10.0.1 and should upgrade to 18.1, which I did through "File/Settings/Project Interpreter". It now says 18.1. But I'm still getting warnings about using version 10.0.1.
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:usersxxxpycharmprojectssovenvlibsite-packages (18.1)
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip list
...
pip 18.1
python python-3.x windows pip
|
show 7 more comments
I'm using PyCharm on Windows. I have a project setup for small experiments with algorithms that uses it's own virtual environment. I was trying to install tensorflow and I got an error that I'm running pip 10.0.1 and should upgrade to 18.1, which I did through "File/Settings/Project Interpreter". It now says 18.1. But I'm still getting warnings about using version 10.0.1.
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:usersxxxpycharmprojectssovenvlibsite-packages (18.1)
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip list
...
pip 18.1
python python-3.x windows pip
Could you just runpython -m pip list
and share the result?
– AlexK
Nov 19 '18 at 11:28
added, and it's different from justpip list
. i understand it even less now
– Maiki Bodhisattva
Nov 19 '18 at 11:34
4
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link topip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are usingpip
in virtualenv always addpython -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation
– AlexK
Nov 19 '18 at 11:42
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
1
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50
|
show 7 more comments
I'm using PyCharm on Windows. I have a project setup for small experiments with algorithms that uses it's own virtual environment. I was trying to install tensorflow and I got an error that I'm running pip 10.0.1 and should upgrade to 18.1, which I did through "File/Settings/Project Interpreter". It now says 18.1. But I'm still getting warnings about using version 10.0.1.
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:usersxxxpycharmprojectssovenvlibsite-packages (18.1)
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip list
...
pip 18.1
python python-3.x windows pip
I'm using PyCharm on Windows. I have a project setup for small experiments with algorithms that uses it's own virtual environment. I was trying to install tensorflow and I got an error that I'm running pip 10.0.1 and should upgrade to 18.1, which I did through "File/Settings/Project Interpreter". It now says 18.1. But I'm still getting warnings about using version 10.0.1.
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:usersxxxpycharmprojectssovenvlibsite-packages (18.1)
(venv) C:usersxxxpycharmprojectsso> pip list
...
pip 10.0.1
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
(venv) C:usersxxxpycharmprojectsso>python -m pip list
...
pip 18.1
python python-3.x windows pip
python python-3.x windows pip
edited Nov 19 '18 at 15:44
Milo Bem
822418
822418
asked Nov 19 '18 at 11:26
Maiki BodhisattvaMaiki Bodhisattva
1787
1787
Could you just runpython -m pip list
and share the result?
– AlexK
Nov 19 '18 at 11:28
added, and it's different from justpip list
. i understand it even less now
– Maiki Bodhisattva
Nov 19 '18 at 11:34
4
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link topip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are usingpip
in virtualenv always addpython -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation
– AlexK
Nov 19 '18 at 11:42
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
1
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50
|
show 7 more comments
Could you just runpython -m pip list
and share the result?
– AlexK
Nov 19 '18 at 11:28
added, and it's different from justpip list
. i understand it even less now
– Maiki Bodhisattva
Nov 19 '18 at 11:34
4
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link topip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are usingpip
in virtualenv always addpython -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation
– AlexK
Nov 19 '18 at 11:42
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
1
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50
Could you just run
python -m pip list
and share the result?– AlexK
Nov 19 '18 at 11:28
Could you just run
python -m pip list
and share the result?– AlexK
Nov 19 '18 at 11:28
added, and it's different from just
pip list
. i understand it even less now– Maiki Bodhisattva
Nov 19 '18 at 11:34
added, and it's different from just
pip list
. i understand it even less now– Maiki Bodhisattva
Nov 19 '18 at 11:34
4
4
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link to
pip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are using pip
in virtualenv always add python -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation– AlexK
Nov 19 '18 at 11:42
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link to
pip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are using pip
in virtualenv always add python -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation– AlexK
Nov 19 '18 at 11:42
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
1
1
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50
|
show 7 more comments
1 Answer
1
active
oldest
votes
After a bit of discussion, we've got the problem solved.
Here's what was wrong:
- PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)
- The reason why installation of Tensorflow was failing at first place was that it strictly requires Python3.5 under Windows, while the problem occured with Python3.7, so switching to Python3.5 VirtualEnv in PyCharm solved the issue.
NOTE: No pip update was required in order to install Tensroflow with Pycharm + Python3.5 venv
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53373632%2finconsistent-pip-version-in-pycharm%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After a bit of discussion, we've got the problem solved.
Here's what was wrong:
- PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)
- The reason why installation of Tensorflow was failing at first place was that it strictly requires Python3.5 under Windows, while the problem occured with Python3.7, so switching to Python3.5 VirtualEnv in PyCharm solved the issue.
NOTE: No pip update was required in order to install Tensroflow with Pycharm + Python3.5 venv
add a comment |
After a bit of discussion, we've got the problem solved.
Here's what was wrong:
- PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)
- The reason why installation of Tensorflow was failing at first place was that it strictly requires Python3.5 under Windows, while the problem occured with Python3.7, so switching to Python3.5 VirtualEnv in PyCharm solved the issue.
NOTE: No pip update was required in order to install Tensroflow with Pycharm + Python3.5 venv
add a comment |
After a bit of discussion, we've got the problem solved.
Here's what was wrong:
- PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)
- The reason why installation of Tensorflow was failing at first place was that it strictly requires Python3.5 under Windows, while the problem occured with Python3.7, so switching to Python3.5 VirtualEnv in PyCharm solved the issue.
NOTE: No pip update was required in order to install Tensroflow with Pycharm + Python3.5 venv
After a bit of discussion, we've got the problem solved.
Here's what was wrong:
- PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)
- The reason why installation of Tensorflow was failing at first place was that it strictly requires Python3.5 under Windows, while the problem occured with Python3.7, so switching to Python3.5 VirtualEnv in PyCharm solved the issue.
NOTE: No pip update was required in order to install Tensroflow with Pycharm + Python3.5 venv
answered Nov 19 '18 at 14:35
AlexKAlexK
844513
844513
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53373632%2finconsistent-pip-version-in-pycharm%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
Could you just run
python -m pip list
and share the result?– AlexK
Nov 19 '18 at 11:28
added, and it's different from just
pip list
. i understand it even less now– Maiki Bodhisattva
Nov 19 '18 at 11:34
4
What is happening is the following: PyCharm has created the virtual env with a given python version and for some reason, I cannot say exactly what it might be right now, the link to
pip
points to the one that is installed system wide, rather than the one in the venv. So just to make sure, when you are usingpip
in virtualenv always addpython -m
in front of it so you know that you are actually calling the virtualenv instance of pip. P.S. that might be some issue with Windows based installation– AlexK
Nov 19 '18 at 11:42
Have you resolved your issue?
– AlexK
Nov 19 '18 at 12:45
1
Oh, here's the problem, you are using python3.7, Tensorflow only supports Python3.5 under Windows. Unfortunately, neither under Windows nor under Linux does Tensorflow support python3.7, the highest you can get to is python3.6 . I can confirm I just installed Tensorflow under Windows using the 64-bit installer of Python3.5.4rc1
– AlexK
Nov 19 '18 at 13:50