Switching to other versions of PyCharm unsets the Project Interpreter in the previous one












0















I have installed both PyCharm Edu 2018.3 and PyCharm Professional 2018.1.5 in my computer. Every time I switch from Edu to Professional and vice versa, I have to set the Project Interpreter, because it's lost.





The detailed description (TL;DR):



I open some project in one of these versions of PyCharm, and all is OK.



Then I open the same project in the other one - to find that the Project Interpreter is not set - in spite that I set it before (to the path C:UsersUserAnaconda3python.exe). So I set it to the same path again, and all things work.



But this time only in this version of PyCharm.



Because when I switch back to the previous version of Pycharm, the situation is similar - I find that the Project Interpreter is not set - in spite that all things worked before, and the Project Interpreter was set (to the same path C:UsersUserAnaconda3python.exe).



So I set it to the same path again, and all things work now - but only in this version of Pycharm, because after switching back to the other version, the Project Interpreter is not set.



It doesn't matter when I switch between active versions of PyCharm, or when I exit one version, and then I launch the other one.



One version of PyCharm unset Project Interpreter in the other one, and vice versa.



What happens, and how to fix it?










share|improve this question





























    0















    I have installed both PyCharm Edu 2018.3 and PyCharm Professional 2018.1.5 in my computer. Every time I switch from Edu to Professional and vice versa, I have to set the Project Interpreter, because it's lost.





    The detailed description (TL;DR):



    I open some project in one of these versions of PyCharm, and all is OK.



    Then I open the same project in the other one - to find that the Project Interpreter is not set - in spite that I set it before (to the path C:UsersUserAnaconda3python.exe). So I set it to the same path again, and all things work.



    But this time only in this version of PyCharm.



    Because when I switch back to the previous version of Pycharm, the situation is similar - I find that the Project Interpreter is not set - in spite that all things worked before, and the Project Interpreter was set (to the same path C:UsersUserAnaconda3python.exe).



    So I set it to the same path again, and all things work now - but only in this version of Pycharm, because after switching back to the other version, the Project Interpreter is not set.



    It doesn't matter when I switch between active versions of PyCharm, or when I exit one version, and then I launch the other one.



    One version of PyCharm unset Project Interpreter in the other one, and vice versa.



    What happens, and how to fix it?










    share|improve this question



























      0












      0








      0








      I have installed both PyCharm Edu 2018.3 and PyCharm Professional 2018.1.5 in my computer. Every time I switch from Edu to Professional and vice versa, I have to set the Project Interpreter, because it's lost.





      The detailed description (TL;DR):



      I open some project in one of these versions of PyCharm, and all is OK.



      Then I open the same project in the other one - to find that the Project Interpreter is not set - in spite that I set it before (to the path C:UsersUserAnaconda3python.exe). So I set it to the same path again, and all things work.



      But this time only in this version of PyCharm.



      Because when I switch back to the previous version of Pycharm, the situation is similar - I find that the Project Interpreter is not set - in spite that all things worked before, and the Project Interpreter was set (to the same path C:UsersUserAnaconda3python.exe).



      So I set it to the same path again, and all things work now - but only in this version of Pycharm, because after switching back to the other version, the Project Interpreter is not set.



      It doesn't matter when I switch between active versions of PyCharm, or when I exit one version, and then I launch the other one.



      One version of PyCharm unset Project Interpreter in the other one, and vice versa.



      What happens, and how to fix it?










      share|improve this question
















      I have installed both PyCharm Edu 2018.3 and PyCharm Professional 2018.1.5 in my computer. Every time I switch from Edu to Professional and vice versa, I have to set the Project Interpreter, because it's lost.





      The detailed description (TL;DR):



      I open some project in one of these versions of PyCharm, and all is OK.



      Then I open the same project in the other one - to find that the Project Interpreter is not set - in spite that I set it before (to the path C:UsersUserAnaconda3python.exe). So I set it to the same path again, and all things work.



      But this time only in this version of PyCharm.



      Because when I switch back to the previous version of Pycharm, the situation is similar - I find that the Project Interpreter is not set - in spite that all things worked before, and the Project Interpreter was set (to the same path C:UsersUserAnaconda3python.exe).



      So I set it to the same path again, and all things work now - but only in this version of Pycharm, because after switching back to the other version, the Project Interpreter is not set.



      It doesn't matter when I switch between active versions of PyCharm, or when I exit one version, and then I launch the other one.



      One version of PyCharm unset Project Interpreter in the other one, and vice versa.



      What happens, and how to fix it?







      windows-7 python pycharm






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 23 at 12:53







      MarianD

















      asked Jan 20 at 19:48









      MarianDMarianD

      1,4911618




      1,4911618






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Configuration parameters are saved in 2 different places:



          2 Configuration Places



          You have installed 2 version of PyCharm - Edu and Professional - so you have 3 configuration places:



          3 Configuration Places



          Every version of PyCharm has its own list of available interpreters, for example:



          Lists of Interpreters
          Note that the Project Interpreter is (so far) not set, and that every interpreter has its name.



          Now we open our project in Pycharm Edu, and select a Project Interpreter for it:



          Select an Interpreter
          Note that in the Project Configuration, the selected interpreter is saved as its name, and NOT as the interpreter itself (a path to it).



          Now we open the same project in PyCharm Professional (or switch to it, if it was already opened):



          No Such Name



          We may see, that the name of its Project Interpreter (Name1) is NOT found in the PyCharm Professional list of its interpreters. And as the result of it, you have NOT set the Project Interpreter for PyCharm professional!



          So you are forced to select one - and you select the same interpreter, but now with the name NameA. All is OK, while you don't switch to PyCharm Edu, after that you will meet the same problems.



          The solution is to assign the same names for the same interpreters in both version of Pycharm (Edu and Professional):
          Now it is OK



          That's all. Now you can freely switch between 2 versions of PyCharm, and nothing bad happens.





          How that problem may arise?





          1. Because the original names of interpreters were long and very, very similar. Compare the following names:



            Python 3.6 (C:UsersUserAnaconda3python.exe)
            Python 3.6.1 (C:UsersUserAnaconda3python.exe)



          2. Because as part of that names was the full path to the corresponding interpreter, so the user was misguided - they supposed that they selected an interpreter, while they selected a name.



          Who assigned those long names, and why to the same path were chosen different names in different versions of PyCharm (Edu and Professional)?



          The PyCharm itself. In the time of its installation (or just after it) it searches local disk(s) for Python Interpreters, adds each one into its list, and assigns it a name composed of




          • the interpreter's name,

          • the interpreter's version number, and

          • the full path to it (in parentheses).


          If between installations of two PyCharm versions the user updates a particular interpreter, its new version number becomes the part of its new name, so it will differ from the name used in the Python Interpreter list of the first PyCharm version.



          And the problems listed in the question will arise...





          How to change the name of an interpreter?



          From the Project Interpreter.



          It's a little counter-intuitive, because the list of interpreters (with their names) has nothing with the project configuration - it's a part of a particular PyCharm edition configuration.



          File | Settings... | Project: (your_project_name) | Project Interpreter


          Then click on Project Interpreter combo-box (1), and select "Show all..." (2).



          Pops-up a window with a misleading, deceptive name "Project Interpreters" in its title. It's not true, as it lists NOT project interpreters, but Pycharm (this particular version) interpreters!



          Select the interpreter with the unsatisfactory name, click on icon with a pencil on it (3) to edit it, and in another popup window rewrite the name of that interpreter (4):



          enter image description here






          share|improve this answer

























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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396376%2fswitching-to-other-versions-of-pycharm-unsets-the-project-interpreter-in-the-pre%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









            0














            Configuration parameters are saved in 2 different places:



            2 Configuration Places



            You have installed 2 version of PyCharm - Edu and Professional - so you have 3 configuration places:



            3 Configuration Places



            Every version of PyCharm has its own list of available interpreters, for example:



            Lists of Interpreters
            Note that the Project Interpreter is (so far) not set, and that every interpreter has its name.



            Now we open our project in Pycharm Edu, and select a Project Interpreter for it:



            Select an Interpreter
            Note that in the Project Configuration, the selected interpreter is saved as its name, and NOT as the interpreter itself (a path to it).



            Now we open the same project in PyCharm Professional (or switch to it, if it was already opened):



            No Such Name



            We may see, that the name of its Project Interpreter (Name1) is NOT found in the PyCharm Professional list of its interpreters. And as the result of it, you have NOT set the Project Interpreter for PyCharm professional!



            So you are forced to select one - and you select the same interpreter, but now with the name NameA. All is OK, while you don't switch to PyCharm Edu, after that you will meet the same problems.



            The solution is to assign the same names for the same interpreters in both version of Pycharm (Edu and Professional):
            Now it is OK



            That's all. Now you can freely switch between 2 versions of PyCharm, and nothing bad happens.





            How that problem may arise?





            1. Because the original names of interpreters were long and very, very similar. Compare the following names:



              Python 3.6 (C:UsersUserAnaconda3python.exe)
              Python 3.6.1 (C:UsersUserAnaconda3python.exe)



            2. Because as part of that names was the full path to the corresponding interpreter, so the user was misguided - they supposed that they selected an interpreter, while they selected a name.



            Who assigned those long names, and why to the same path were chosen different names in different versions of PyCharm (Edu and Professional)?



            The PyCharm itself. In the time of its installation (or just after it) it searches local disk(s) for Python Interpreters, adds each one into its list, and assigns it a name composed of




            • the interpreter's name,

            • the interpreter's version number, and

            • the full path to it (in parentheses).


            If between installations of two PyCharm versions the user updates a particular interpreter, its new version number becomes the part of its new name, so it will differ from the name used in the Python Interpreter list of the first PyCharm version.



            And the problems listed in the question will arise...





            How to change the name of an interpreter?



            From the Project Interpreter.



            It's a little counter-intuitive, because the list of interpreters (with their names) has nothing with the project configuration - it's a part of a particular PyCharm edition configuration.



            File | Settings... | Project: (your_project_name) | Project Interpreter


            Then click on Project Interpreter combo-box (1), and select "Show all..." (2).



            Pops-up a window with a misleading, deceptive name "Project Interpreters" in its title. It's not true, as it lists NOT project interpreters, but Pycharm (this particular version) interpreters!



            Select the interpreter with the unsatisfactory name, click on icon with a pencil on it (3) to edit it, and in another popup window rewrite the name of that interpreter (4):



            enter image description here






            share|improve this answer






























              0














              Configuration parameters are saved in 2 different places:



              2 Configuration Places



              You have installed 2 version of PyCharm - Edu and Professional - so you have 3 configuration places:



              3 Configuration Places



              Every version of PyCharm has its own list of available interpreters, for example:



              Lists of Interpreters
              Note that the Project Interpreter is (so far) not set, and that every interpreter has its name.



              Now we open our project in Pycharm Edu, and select a Project Interpreter for it:



              Select an Interpreter
              Note that in the Project Configuration, the selected interpreter is saved as its name, and NOT as the interpreter itself (a path to it).



              Now we open the same project in PyCharm Professional (or switch to it, if it was already opened):



              No Such Name



              We may see, that the name of its Project Interpreter (Name1) is NOT found in the PyCharm Professional list of its interpreters. And as the result of it, you have NOT set the Project Interpreter for PyCharm professional!



              So you are forced to select one - and you select the same interpreter, but now with the name NameA. All is OK, while you don't switch to PyCharm Edu, after that you will meet the same problems.



              The solution is to assign the same names for the same interpreters in both version of Pycharm (Edu and Professional):
              Now it is OK



              That's all. Now you can freely switch between 2 versions of PyCharm, and nothing bad happens.





              How that problem may arise?





              1. Because the original names of interpreters were long and very, very similar. Compare the following names:



                Python 3.6 (C:UsersUserAnaconda3python.exe)
                Python 3.6.1 (C:UsersUserAnaconda3python.exe)



              2. Because as part of that names was the full path to the corresponding interpreter, so the user was misguided - they supposed that they selected an interpreter, while they selected a name.



              Who assigned those long names, and why to the same path were chosen different names in different versions of PyCharm (Edu and Professional)?



              The PyCharm itself. In the time of its installation (or just after it) it searches local disk(s) for Python Interpreters, adds each one into its list, and assigns it a name composed of




              • the interpreter's name,

              • the interpreter's version number, and

              • the full path to it (in parentheses).


              If between installations of two PyCharm versions the user updates a particular interpreter, its new version number becomes the part of its new name, so it will differ from the name used in the Python Interpreter list of the first PyCharm version.



              And the problems listed in the question will arise...





              How to change the name of an interpreter?



              From the Project Interpreter.



              It's a little counter-intuitive, because the list of interpreters (with their names) has nothing with the project configuration - it's a part of a particular PyCharm edition configuration.



              File | Settings... | Project: (your_project_name) | Project Interpreter


              Then click on Project Interpreter combo-box (1), and select "Show all..." (2).



              Pops-up a window with a misleading, deceptive name "Project Interpreters" in its title. It's not true, as it lists NOT project interpreters, but Pycharm (this particular version) interpreters!



              Select the interpreter with the unsatisfactory name, click on icon with a pencil on it (3) to edit it, and in another popup window rewrite the name of that interpreter (4):



              enter image description here






              share|improve this answer




























                0












                0








                0







                Configuration parameters are saved in 2 different places:



                2 Configuration Places



                You have installed 2 version of PyCharm - Edu and Professional - so you have 3 configuration places:



                3 Configuration Places



                Every version of PyCharm has its own list of available interpreters, for example:



                Lists of Interpreters
                Note that the Project Interpreter is (so far) not set, and that every interpreter has its name.



                Now we open our project in Pycharm Edu, and select a Project Interpreter for it:



                Select an Interpreter
                Note that in the Project Configuration, the selected interpreter is saved as its name, and NOT as the interpreter itself (a path to it).



                Now we open the same project in PyCharm Professional (or switch to it, if it was already opened):



                No Such Name



                We may see, that the name of its Project Interpreter (Name1) is NOT found in the PyCharm Professional list of its interpreters. And as the result of it, you have NOT set the Project Interpreter for PyCharm professional!



                So you are forced to select one - and you select the same interpreter, but now with the name NameA. All is OK, while you don't switch to PyCharm Edu, after that you will meet the same problems.



                The solution is to assign the same names for the same interpreters in both version of Pycharm (Edu and Professional):
                Now it is OK



                That's all. Now you can freely switch between 2 versions of PyCharm, and nothing bad happens.





                How that problem may arise?





                1. Because the original names of interpreters were long and very, very similar. Compare the following names:



                  Python 3.6 (C:UsersUserAnaconda3python.exe)
                  Python 3.6.1 (C:UsersUserAnaconda3python.exe)



                2. Because as part of that names was the full path to the corresponding interpreter, so the user was misguided - they supposed that they selected an interpreter, while they selected a name.



                Who assigned those long names, and why to the same path were chosen different names in different versions of PyCharm (Edu and Professional)?



                The PyCharm itself. In the time of its installation (or just after it) it searches local disk(s) for Python Interpreters, adds each one into its list, and assigns it a name composed of




                • the interpreter's name,

                • the interpreter's version number, and

                • the full path to it (in parentheses).


                If between installations of two PyCharm versions the user updates a particular interpreter, its new version number becomes the part of its new name, so it will differ from the name used in the Python Interpreter list of the first PyCharm version.



                And the problems listed in the question will arise...





                How to change the name of an interpreter?



                From the Project Interpreter.



                It's a little counter-intuitive, because the list of interpreters (with their names) has nothing with the project configuration - it's a part of a particular PyCharm edition configuration.



                File | Settings... | Project: (your_project_name) | Project Interpreter


                Then click on Project Interpreter combo-box (1), and select "Show all..." (2).



                Pops-up a window with a misleading, deceptive name "Project Interpreters" in its title. It's not true, as it lists NOT project interpreters, but Pycharm (this particular version) interpreters!



                Select the interpreter with the unsatisfactory name, click on icon with a pencil on it (3) to edit it, and in another popup window rewrite the name of that interpreter (4):



                enter image description here






                share|improve this answer















                Configuration parameters are saved in 2 different places:



                2 Configuration Places



                You have installed 2 version of PyCharm - Edu and Professional - so you have 3 configuration places:



                3 Configuration Places



                Every version of PyCharm has its own list of available interpreters, for example:



                Lists of Interpreters
                Note that the Project Interpreter is (so far) not set, and that every interpreter has its name.



                Now we open our project in Pycharm Edu, and select a Project Interpreter for it:



                Select an Interpreter
                Note that in the Project Configuration, the selected interpreter is saved as its name, and NOT as the interpreter itself (a path to it).



                Now we open the same project in PyCharm Professional (or switch to it, if it was already opened):



                No Such Name



                We may see, that the name of its Project Interpreter (Name1) is NOT found in the PyCharm Professional list of its interpreters. And as the result of it, you have NOT set the Project Interpreter for PyCharm professional!



                So you are forced to select one - and you select the same interpreter, but now with the name NameA. All is OK, while you don't switch to PyCharm Edu, after that you will meet the same problems.



                The solution is to assign the same names for the same interpreters in both version of Pycharm (Edu and Professional):
                Now it is OK



                That's all. Now you can freely switch between 2 versions of PyCharm, and nothing bad happens.





                How that problem may arise?





                1. Because the original names of interpreters were long and very, very similar. Compare the following names:



                  Python 3.6 (C:UsersUserAnaconda3python.exe)
                  Python 3.6.1 (C:UsersUserAnaconda3python.exe)



                2. Because as part of that names was the full path to the corresponding interpreter, so the user was misguided - they supposed that they selected an interpreter, while they selected a name.



                Who assigned those long names, and why to the same path were chosen different names in different versions of PyCharm (Edu and Professional)?



                The PyCharm itself. In the time of its installation (or just after it) it searches local disk(s) for Python Interpreters, adds each one into its list, and assigns it a name composed of




                • the interpreter's name,

                • the interpreter's version number, and

                • the full path to it (in parentheses).


                If between installations of two PyCharm versions the user updates a particular interpreter, its new version number becomes the part of its new name, so it will differ from the name used in the Python Interpreter list of the first PyCharm version.



                And the problems listed in the question will arise...





                How to change the name of an interpreter?



                From the Project Interpreter.



                It's a little counter-intuitive, because the list of interpreters (with their names) has nothing with the project configuration - it's a part of a particular PyCharm edition configuration.



                File | Settings... | Project: (your_project_name) | Project Interpreter


                Then click on Project Interpreter combo-box (1), and select "Show all..." (2).



                Pops-up a window with a misleading, deceptive name "Project Interpreters" in its title. It's not true, as it lists NOT project interpreters, but Pycharm (this particular version) interpreters!



                Select the interpreter with the unsatisfactory name, click on icon with a pencil on it (3) to edit it, and in another popup window rewrite the name of that interpreter (4):



                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 24 at 12:55

























                answered Jan 22 at 13:47









                MarianDMarianD

                1,4911618




                1,4911618






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1396376%2fswitching-to-other-versions-of-pycharm-unsets-the-project-interpreter-in-the-pre%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

                    Сан-Квентин

                    8-я гвардейская общевойсковая армия

                    Алькесар