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 8466475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:21:15+00:00 2026-06-10T15:21:15+00:00

I finally managed to install numpy, but it seems to only work in python2.6

  • 0

I finally managed to install numpy, but it seems to only work in python2.6 . I don’t know how to install it in the 2.7 folder (been trying for hours, but I’m just a beginner developer in my first months). Anyway, if I use Python 2.7 and append the absolute path to sys.path, could there be problems?

Any suggestions?

Thank you.

  • 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-10T15:21:17+00:00Added an answer on June 10, 2026 at 3:21 pm

    It could partially work but this is a bad idea. Just don’t do it. Even if it seems to work, it may not. And if it really does, then it will fail randomly in the future.

    These are the potential problems that come into my mind:

    1. Extensions (those written in C, C++ etc.) are specific to a particular Python version; and numpy has a few extensions, AFAICS. It will work only if you don’t use any of them (i.e. use pure Python modules);
    2. Python compiles modules into bytecode. The bytecode is specific to a particular Python version. If you use modules from python2.6 directory in python2.7, the compiled files will collide. I doubt this will cause major problems except for the fact that they will be recompiled every time Python version is switched;
    3. Python code can be version-specific. It’s unlikely for minor versions (but for example Python 2/3 could have serious differences) but still can happen. In other words, the modules installed for Python2.6 can be actually a bit different than those for Python2.7;
    4. If you change the loading order, Python2.7 may start loading some standard modules from Python2.6. it could work, it could cause random breakages;
    5. It will make all modules installed for Python2.6 visible. It can cause a few random switches somewhere with unpredictable result. I doubt there’s something specific for that version but some modules may actually decide to use some kind of deprecated interface finding it visible.

    There could be more. You may actually try but be prepared that you may waste a lot of time trying to find out why something does not work as expected later.

    And unless I’m missing something, I think installing numpy for Python2.7 involves mostly running the setup using Python 2.7; like:

    python2.7 setup.py clean
    python2.7 setup.py build
    python2.7 setup.py install
    

    Depending on your particular install/system, it may be preferable to use the package manager, binary bundle or a tool like pip instead. If you’d like more details on how to enforce Python2.7 with those, you’d have to tell us which one is of your choice.

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

Sidebar

Related Questions

I finally managed to get the PHP script below to work...but then I found
I've been stuck on this for a few hours until I've finally managed to
After many hours of research and tinkering, I've finally managed to get backbone.js routes
Finally deployed my ruby on rails 3.2 app but when trying to open it
UPDATE Finally managed to work it out! Thanks for all the help from everyone.
I finally managed to get data from facebook! But I have a problem displaying
Right, after much struggle I finally managed to get a sort of shared folder
After 3 hours or so, I've finally managed to fix a memory leak in
So, after several hours of reading the Apple walkthrough I finally managed to deploy
So, after spending a couple of hours of manually configuring autotools, I finally managed

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.