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

  • SEARCH
  • Home
  • 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 7688763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:59:54+00:00 2026-05-31T19:59:54+00:00

So I have to run some python scripts on a cluster with machines for

  • 0

So I have to run some python scripts on a cluster with machines for which I have no admin rights. Since numpy was missing, on some of the machines, I created a virtual environment and installed numpy there. I connected to a machine from which I knew it has no python and started the virtualenv python interpreter by ~my_env/bin/python to check for import numpy.

I got this error:

# Some trace...
ImportError: liblapack.so.3: File was not found # or something similar.

So I made some research on the internet and somebody came up with LD_LIBRARY_PATH. So I added

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/me/lib; export LD_LIBRARY_PATH

to my .bashrc and sourced it. And I put liblapack.so.3 into /home/me/lib;. Now when I try to import numpy I get the error message:

ImportError: liblapack.so.3: wrong ELF class: ELFCLASS32

Now I am stuck. Any ideas what could have went wrong?

The cluster machines have Suse installed on them.

  • 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-05-31T19:59:55+00:00Added an answer on May 31, 2026 at 7:59 pm

    The error means that the format of the liblapack.so.3 C library differs from the binary format of Python itself. The usual cause for this particular error is having a 64-bit Python but a C library that is 32-bit. You need to have Python and the C library be compiled in the same way.

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

Sidebar

Related Questions

I have some python scripts that run on a daily basis in cron. How
I have some Python Scripts which I would like to use from my VB.NET
I have some Python scripts that I run on my desktop now for cutting
I have a bash shell script which calls some python scripts. I am running
I have some small python 2.6 scripts built.... Now, I would like run them
I have some Python code that works correctly when I use python.exe to run
I'm trying to install virtual-python on linux server which I don't have root access.
I have written some python scripts that take advantage of pysvn to analyze a
I have a python web application and I would like to run multiple scripts
I have some python scripts that configure linux computers. One of the tasks is

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.