Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8386493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:57:17+00:00 2026-06-09T17:57:17+00:00

Similar to How to import numpy in python shell , but with different errors

  • 0

Similar to How to import numpy in python shell, but with different errors and context.

Now, on to the problem. I successfully installed numpy 1.7.0 with minor hassle, although I had to do some registry editions first, but upon trying to import it in the shell I get this mass of errors:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from numpy import *
  File "C:\Python32\lib\site-packages\numpy\__init__.py", line 137, in <module>
    from . import add_newdocs
  File "C:\Python32\lib\site-packages\numpy\add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "C:\Python32\lib\site-packages\numpy\lib\__init__.py", line 4, in <module>
    from .type_check import *
  File "C:\Python32\lib\site-packages\numpy\lib\type_check.py", line 8, in <module>
    import numpy.core.numeric as _nx
  File "C:\Python32\lib\site-packages\numpy\core\__init__.py", line 5, in <module>
    from . import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.

Note: I used from numpy import *.
Nothing like this happens when I import pygame, so what’s the problem? I know different modules have different problems (such as having to make registry editions in order to install…). What is wrong and how do I fix the problem? I found similar complaints here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:57:18+00:00Added an answer on June 9, 2026 at 5:57 pm

    You have a 32 vs 64-bit mismatch between Python and numpy. If you are using a 32-bit version of Python, you must use a 32-bit version of any pre-compiled DLLs. 64-bit versions of Python require a 64-bit version of a library that includes pre-compiled DLLs.

    Pure Python libraries aren’t impacted but any library that includes compiled code must match must match Python itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have post the similar question before,but this time the problem is different,I got
Similar to my last question, but I ran into problem lets say I have
I'm accustomed to doing import json in Python 2.6, however I now need to
I have a similar problem to this guy: Importing/Exporting Project Preferences , but my
I have a script containing a section similar to this, on Python 2.6: import
This is very similar to Rails partial updates problem with hashes , but the
Similar questions to this my have been asked a lot of times before. But
Alright, so after reinstalling my os my python installation died. Python, numpy and ipython
I have asked a similar question to this one already but I think it
Is there a way to import a Python module stored in a cStringIO data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.