Error while importing numpy on Eclipse with PyDev
I'm trying to import numpy on Eclipse with PyDev, and I got this:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.
I have already reinstalled Eclipse and the libraries of Anaconda, I installed Eclipse on another laptop of the same way a month ago and I didn't get this Error, I think the problem is caused by the new version of Eclipse, does anyone have the same problem?
I'm using Python 3.7
I have tried to run git clean -xdf
, but I do not know where should I run it.
UPDATE:
I've tried to reinstall numpy, I've uninstalled successfully, but when I try to install it again, i got this error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
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
FINISHED
python eclipse git numpy
New contributor
add a comment |
I'm trying to import numpy on Eclipse with PyDev, and I got this:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.
I have already reinstalled Eclipse and the libraries of Anaconda, I installed Eclipse on another laptop of the same way a month ago and I didn't get this Error, I think the problem is caused by the new version of Eclipse, does anyone have the same problem?
I'm using Python 3.7
I have tried to run git clean -xdf
, but I do not know where should I run it.
UPDATE:
I've tried to reinstall numpy, I've uninstalled successfully, but when I try to install it again, i got this error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
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
FINISHED
python eclipse git numpy
New contributor
Did you do a web search forhowever the ssl module in Python is not available.
(plus the operating system you use:Windows
,Linux
ormacOS
)?
– howlger
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday
add a comment |
I'm trying to import numpy on Eclipse with PyDev, and I got this:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.
I have already reinstalled Eclipse and the libraries of Anaconda, I installed Eclipse on another laptop of the same way a month ago and I didn't get this Error, I think the problem is caused by the new version of Eclipse, does anyone have the same problem?
I'm using Python 3.7
I have tried to run git clean -xdf
, but I do not know where should I run it.
UPDATE:
I've tried to reinstall numpy, I've uninstalled successfully, but when I try to install it again, i got this error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
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
FINISHED
python eclipse git numpy
New contributor
I'm trying to import numpy on Eclipse with PyDev, and I got this:
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinstall numpy.
I have already reinstalled Eclipse and the libraries of Anaconda, I installed Eclipse on another laptop of the same way a month ago and I didn't get this Error, I think the problem is caused by the new version of Eclipse, does anyone have the same problem?
I'm using Python 3.7
I have tried to run git clean -xdf
, but I do not know where should I run it.
UPDATE:
I've tried to reinstall numpy, I've uninstalled successfully, but when I try to install it again, i got this error:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/numpy/
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
Could not fetch URL https://pypi.org/simple/numpy/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/numpy/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
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
FINISHED
python eclipse git numpy
python eclipse git numpy
New contributor
New contributor
edited 2 days ago
howlger
10.1k51737
10.1k51737
New contributor
asked 2 days ago
Davichete
12
12
New contributor
New contributor
Did you do a web search forhowever the ssl module in Python is not available.
(plus the operating system you use:Windows
,Linux
ormacOS
)?
– howlger
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday
add a comment |
Did you do a web search forhowever the ssl module in Python is not available.
(plus the operating system you use:Windows
,Linux
ormacOS
)?
– howlger
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday
Did you do a web search for
however the ssl module in Python is not available.
(plus the operating system you use: Windows
, Linux
or macOS
)?– howlger
2 days ago
Did you do a web search for
however the ssl module in Python is not available.
(plus the operating system you use: Windows
, Linux
or macOS
)?– howlger
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday
add a comment |
1 Answer
1
active
oldest
votes
It is better to use numpy on Python 2.7.
Install Python 2.7 and pip install numpy on it.
There might be some distribution issues or compatibility issues of numpy with Python 3.7
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
});
}
});
Davichete is a new contributor. Be nice, and check out our Code of Conduct.
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%2f53945540%2ferror-while-importing-numpy-on-eclipse-with-pydev%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
It is better to use numpy on Python 2.7.
Install Python 2.7 and pip install numpy on it.
There might be some distribution issues or compatibility issues of numpy with Python 3.7
add a comment |
It is better to use numpy on Python 2.7.
Install Python 2.7 and pip install numpy on it.
There might be some distribution issues or compatibility issues of numpy with Python 3.7
add a comment |
It is better to use numpy on Python 2.7.
Install Python 2.7 and pip install numpy on it.
There might be some distribution issues or compatibility issues of numpy with Python 3.7
It is better to use numpy on Python 2.7.
Install Python 2.7 and pip install numpy on it.
There might be some distribution issues or compatibility issues of numpy with Python 3.7
answered 2 days ago
Subarna Lamsal
92
92
add a comment |
add a comment |
Davichete is a new contributor. Be nice, and check out our Code of Conduct.
Davichete is a new contributor. Be nice, and check out our Code of Conduct.
Davichete is a new contributor. Be nice, and check out our Code of Conduct.
Davichete is a new contributor. Be nice, and check out our Code of Conduct.
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f53945540%2ferror-while-importing-numpy-on-eclipse-with-pydev%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
Did you do a web search for
however the ssl module in Python is not available.
(plus the operating system you use:Windows
,Linux
ormacOS
)?– howlger
2 days ago
yeah, but nothing solve my problem :(
– Davichete
2 days ago
What operating system are you using and what exactly did you try to solve the SSL problem?
– howlger
2 days ago
I'm using Windows 64 bits and I don't know what should I do to solve the SSL problem, when I search for a solution, I don't get a clarifying one. I'm 100% sure that the problem is related to the newest version of eclipse, not of the SSL
– Davichete
yesterday
According to the error message the SSL issue is not related to Eclipse. Here is a question with the same error message and an answer on how to fix the SSL problem on Windows: stackoverflow.com/q/53137700/6505250
– howlger
yesterday