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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:09:42+00:00 2026-05-23T08:09:42+00:00

I need to install the h5py Python module, and all its absent dependencies, on

  • 0

I need to install the h5py Python module, and all its absent dependencies, on a Debian Linux system. This task is complicated by the following:

  1. I don’t have any superuser privileges on this system (no sudo, no root password, etc.);
  2. the rest of the code I am using requires version 2.7 of Python, which is not the default version installed in this system (although Python 2.7 is available under /opt/python-2.7.1).

The ideal solution would be one that would enable me to use the dependency info in the python-h5py Debian package (wheezy release) to orchestrate the installation of all the missing prerequisites for h5py. Is there a way to do this? If so how can I specify the version of Python under /opt/python-2.7.1 as the one to use?

Any suggestions on how best to do this would be appreciated!

  • 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-23T08:09:43+00:00Added an answer on May 23, 2026 at 8:09 am

    This should be possible using virtualenv. You would create a virtualenv like this (at the command line):

    virtualenv -p /opt/python-2.7.1 mypythonenv
    

    Last bit is the name of a new folder for the environment to go in.

    Then:

    cd mypythonenv
    source bin/activate
    

    Then you can install whatever Python modules you want, and they will be installed in the virtualenv, without requiring any superuser privileges. As far as I know, you can’t use .deb packages there, but you can use Python installers like pip or easy_install inside it.

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

Sidebar

Related Questions

I need to install a python module in the site packages that also will
I need to install some CPAN modules in a linux box which I do
I need to install mysql on the system. As usual I typed in gem
Do i need to install sqlite for android or its already installed while installing
I need to install the libusb-win32 driver on Windows 7 64 bit machines. This
I need to install MySQLdb. I write: $ tar xfz MySQL-python-1.2.1.tar.gz $ cd MySQL-python-1.2.1
I have to work on grid for which I need to install some python
Need to install a font on all user's machines that will use the application
I need to install mysql-python under python2.6. mysql-python package needs python2.6-devel package that depends
I need to install in python 2.6 or 2.7 for windows the library PyWeka0.3dev,

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.