Can't install python modules + can't fix broken numpy












0















So I'm a science student and I recently bought myself a new computer with Windows 10. I installed anaconda3, pycharm and pyzo for my classes.
But I have a lot of troubles with the libraries : on both Pycharm and Pyzo, trying to import Numpy (or a library depending on numpy, like pandas) fails with message:



pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: numpy in c:usersagnesanaconda3libsite-packages (1.15.4)
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping


Importing already present modules that aren't linked with numpy works though.
And second issue: I can't install anything ( if I try pip install turtle for example I get the same error as previously - whether on Pyzo or Pycharm)
Aand, when I try commands like python -m pip install --upgrade pip (all commands beginning with "python"I believe), I get:



File "<console>", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax


So, should I try deleting Anaconda and reinstalling it? Is there some parameter I didn't activate right?



Thank you for helping a poor student who cannot run her code!










share|improve this question

























  • Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

    – oh.dae.su
    Jan 19 at 15:13
















0















So I'm a science student and I recently bought myself a new computer with Windows 10. I installed anaconda3, pycharm and pyzo for my classes.
But I have a lot of troubles with the libraries : on both Pycharm and Pyzo, trying to import Numpy (or a library depending on numpy, like pandas) fails with message:



pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: numpy in c:usersagnesanaconda3libsite-packages (1.15.4)
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping


Importing already present modules that aren't linked with numpy works though.
And second issue: I can't install anything ( if I try pip install turtle for example I get the same error as previously - whether on Pyzo or Pycharm)
Aand, when I try commands like python -m pip install --upgrade pip (all commands beginning with "python"I believe), I get:



File "<console>", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax


So, should I try deleting Anaconda and reinstalling it? Is there some parameter I didn't activate right?



Thank you for helping a poor student who cannot run her code!










share|improve this question

























  • Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

    – oh.dae.su
    Jan 19 at 15:13














0












0








0








So I'm a science student and I recently bought myself a new computer with Windows 10. I installed anaconda3, pycharm and pyzo for my classes.
But I have a lot of troubles with the libraries : on both Pycharm and Pyzo, trying to import Numpy (or a library depending on numpy, like pandas) fails with message:



pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: numpy in c:usersagnesanaconda3libsite-packages (1.15.4)
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping


Importing already present modules that aren't linked with numpy works though.
And second issue: I can't install anything ( if I try pip install turtle for example I get the same error as previously - whether on Pyzo or Pycharm)
Aand, when I try commands like python -m pip install --upgrade pip (all commands beginning with "python"I believe), I get:



File "<console>", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax


So, should I try deleting Anaconda and reinstalling it? Is there some parameter I didn't activate right?



Thank you for helping a poor student who cannot run her code!










share|improve this question
















So I'm a science student and I recently bought myself a new computer with Windows 10. I installed anaconda3, pycharm and pyzo for my classes.
But I have a lot of troubles with the libraries : on both Pycharm and Pyzo, trying to import Numpy (or a library depending on numpy, like pandas) fails with message:



pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Requirement already satisfied: numpy in c:usersagnesanaconda3libsite-packages (1.15.4)
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping


Importing already present modules that aren't linked with numpy works though.
And second issue: I can't install anything ( if I try pip install turtle for example I get the same error as previously - whether on Pyzo or Pycharm)
Aand, when I try commands like python -m pip install --upgrade pip (all commands beginning with "python"I believe), I get:



File "<console>", line 1
python -m pip install --upgrade pip
^
SyntaxError: invalid syntax


So, should I try deleting Anaconda and reinstalling it? Is there some parameter I didn't activate right?



Thank you for helping a poor student who cannot run her code!







python ssl libraries






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 19 at 15:02









oh.dae.su

2241210




2241210










asked Jan 19 at 12:51









AgnèsAgnès

1




1













  • Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

    – oh.dae.su
    Jan 19 at 15:13



















  • Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

    – oh.dae.su
    Jan 19 at 15:13

















Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

– oh.dae.su
Jan 19 at 15:13





Run pip install --upgrade pip in the terminal. Pip does not need to be prepended by python.

– oh.dae.su
Jan 19 at 15:13










1 Answer
1






active

oldest

votes


















1














Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.






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%2f1396063%2fcant-install-python-modules-cant-fix-broken-numpy%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









    1














    Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.






    share|improve this answer




























      1














      Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.






      share|improve this answer


























        1












        1








        1







        Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.






        share|improve this answer













        Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 19 at 18:29









        AgnèAgnè

        111




        111






























            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%2f1396063%2fcant-install-python-modules-cant-fix-broken-numpy%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