inconsistent pip version in PyCharm











up vote
2
down vote

favorite












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.



different version of pip



(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









share|improve this question









New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you just run python -m pip list and share the result?
    – AlexK
    2 days ago












  • added, and it's different from just pip list. i understand it even less now
    – Maiki Bodhisattva
    2 days ago






  • 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
    2 days ago












  • Have you resolved your issue?
    – AlexK
    2 days ago






  • 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
    2 days ago

















up vote
2
down vote

favorite












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.



different version of pip



(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









share|improve this question









New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Could you just run python -m pip list and share the result?
    – AlexK
    2 days ago












  • added, and it's different from just pip list. i understand it even less now
    – Maiki Bodhisattva
    2 days ago






  • 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
    2 days ago












  • Have you resolved your issue?
    – AlexK
    2 days ago






  • 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
    2 days ago















up vote
2
down vote

favorite









up vote
2
down vote

favorite











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.



different version of pip



(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









share|improve this question









New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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.



different version of pip



(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






share|improve this question









New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Milo Bem

427212




427212






New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Maiki Bodhisattva

687




687




New contributor




Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Maiki Bodhisattva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Could you just run python -m pip list and share the result?
    – AlexK
    2 days ago












  • added, and it's different from just pip list. i understand it even less now
    – Maiki Bodhisattva
    2 days ago






  • 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
    2 days ago












  • Have you resolved your issue?
    – AlexK
    2 days ago






  • 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
    2 days ago




















  • Could you just run python -m pip list and share the result?
    – AlexK
    2 days ago












  • added, and it's different from just pip list. i understand it even less now
    – Maiki Bodhisattva
    2 days ago






  • 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
    2 days ago












  • Have you resolved your issue?
    – AlexK
    2 days ago






  • 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
    2 days ago


















Could you just run python -m pip list and share the result?
– AlexK
2 days ago






Could you just run python -m pip list and share the result?
– AlexK
2 days ago














added, and it's different from just pip list. i understand it even less now
– Maiki Bodhisattva
2 days ago




added, and it's different from just pip list. i understand it even less now
– Maiki Bodhisattva
2 days ago




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
2 days ago






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
2 days ago














Have you resolved your issue?
– AlexK
2 days ago




Have you resolved your issue?
– AlexK
2 days ago




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
2 days ago






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
2 days ago














1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










After a bit of discussion, we've got the problem solved.
Here's what was wrong:




  1. PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)

  2. 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






share|improve this answer





















    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',
    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
    });


    }
    });






    Maiki Bodhisattva is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    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








    up vote
    1
    down vote



    accepted










    After a bit of discussion, we've got the problem solved.
    Here's what was wrong:




    1. PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)

    2. 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






    share|improve this answer

























      up vote
      1
      down vote



      accepted










      After a bit of discussion, we've got the problem solved.
      Here's what was wrong:




      1. PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)

      2. 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






      share|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        After a bit of discussion, we've got the problem solved.
        Here's what was wrong:




        1. PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)

        2. 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






        share|improve this answer












        After a bit of discussion, we've got the problem solved.
        Here's what was wrong:




        1. PyCharm is unable to properly update pip under Windows while using virtualenv (possible bug/issue)

        2. 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







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 days ago









        AlexK

        465211




        465211






















            Maiki Bodhisattva is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Maiki Bodhisattva is a new contributor. Be nice, and check out our Code of Conduct.













            Maiki Bodhisattva is a new contributor. Be nice, and check out our Code of Conduct.












            Maiki Bodhisattva is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            Npm cannot find a required file even through it is in the searched directory

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith