Can't install python modules + can't fix broken numpy
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
add a comment |
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
Runpip install --upgrade pipin the terminal. Pip does not need to be prepended by python.
– oh.dae.su
Jan 19 at 15:13
add a comment |
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
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
python ssl libraries
edited Jan 19 at 15:02
oh.dae.su
2241210
2241210
asked Jan 19 at 12:51
AgnèsAgnès
1
1
Runpip install --upgrade pipin the terminal. Pip does not need to be prepended by python.
– oh.dae.su
Jan 19 at 15:13
add a comment |
Runpip install --upgrade pipin 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
add a comment |
1 Answer
1
active
oldest
votes
Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.
add a comment |
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%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
Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.
add a comment |
Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.
add a comment |
Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.
Problem solved by disinstalling again, and reinstalling with a new installer - it was the installer that was broken.
answered Jan 19 at 18:29
AgnèAgnè
111
111
add a comment |
add a comment |
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%2f1396063%2fcant-install-python-modules-cant-fix-broken-numpy%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
Run
pip install --upgrade pipin the terminal. Pip does not need to be prepended by python.– oh.dae.su
Jan 19 at 15:13