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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:29:38+00:00 2026-06-13T07:29:38+00:00

I am wondering and pondering what python setup to use. Portable in sense of

  • 0

I am wondering and pondering what python setup to use. Portable in sense of Portable Python in Windows (but i need such for Linux).

I am working on python project with a lot of dependencies , including C/C++ libraries , reuses some perl scripts , and even Java Tika lib to parse multiple document types. I want to put them all in local folder and bundle it so that they do not have to re-install when i am going to set it up on different servers (which have different Linux Distro , Gentoo , Ubuntu and Redhat ).

I wont use python provided by distro because it causes many headaches.

From studying around , these are choices I got :

1 – VirtualENV (But it defeat my purpose as it is not designed to relocate).

2 – Statically Compiling Python (Not sure how it will work, I do not see many success stories on it)

3 – Local (Manually) Compiling Python (Wont work at different Libc version right?)

Any other choices ? Please let me know..

Thanks in advance.

  • 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-13T07:29:39+00:00Added an answer on June 13, 2026 at 7:29 am

    virtualenv is problematic, because it needs the libraries from the computer. Because nowadays most linux distros have python installed by default, the only case that’ll be a problem is when the installed version on the computer is different than the one you’re using.

    However, I believe you can fix that by copying all the libs on PYTHONPATH that are placed on your local installation to the virtualenv folder.

    I don’t know about 2 or 3, but you could also try to manually compile python to your USB disk and pip your libraries.

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

Sidebar

Related Questions

I was wondering how can we can use the python module networkX to implement
I was wondering: In python, canon says to use buildout or virtualenv, to avoid
I'm trying to convert some python code to java and need to setup a
I am wondering if python has any function such as php empty function (http://php.net/manual/en/function.empty.php)
Was wondering if anyone had any thoughts on the use of Python's global vs.
Wondering which Python module to use to extract meta info (including container format, codec
I just set up IDE env for Python 3. I was wondering how I
I am building a meta search engine and am wondering if a python framework
Just wondering if there is a Python MTA . I took a look at
Just wondering whats the best way to test Python CGI while developing a site?

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.