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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:43:33+00:00 2026-06-13T01:43:33+00:00

Due to the system limits, I can only use a 64bit version Python, though,

  • 0

Due to the system limits, I can only use a 64bit version Python, though, some of the modules that I intend to use do not come with a 64bit version (e.g. httplib2). In this case, what am I supposed to do so as to leverage those 32bit functions?

enter image description here

Thanks for the answer by j_mcnally. That works. Another approach that eventually works for me is to use the prefix parameter if there are multi-versions(e.g. 32/64) of python installed:

python setup.py install –prefix = “your python root directory”

  • 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-13T01:43:35+00:00Added an answer on June 13, 2026 at 1:43 am

    Excuse my ignorance, but can’t you compile them as 64 bit modules?

    http://code.google.com/p/httplib2/

    the source is there. I would image most modern ./configure scripts will detect your arch, and compile the appropriate extension.

    the following seems to work for me:

    ARCHFLAGS='-arch x86_64' python setup.py install

    running install running bdist_egg running egg_info writing

    python2/httplib2.egg-info/PKG-INFO writing top-level names to

    python2/httplib2.egg-info/top_level.txt writing dependency_links to

    python2/httplib2.egg-info/dependency_links.txt reading manifest file

    ‘python2/httplib2.egg-info/SOURCES.txt’ reading manifest template

    ‘MANIFEST.in’ writing manifest file

    ‘python2/httplib2.egg-info/SOURCES.txt’ installing library code to

    build/bdist.macosx-10.8-x86_64/egg running install_lib running

    build_py creating build creating build/lib creating build/lib/httplib2

    copying python2/httplib2/init.py -> build/lib/httplib2 copying

    python2/httplib2/iri2uri.py -> build/lib/httplib2 copying

    python2/httplib2/socks.py -> build/lib/httplib2 copying

    python2/httplib2/cacerts.txt -> build/lib/httplib2 creating

    build/bdist.macosx-10.8-x86_64 creating

    build/bdist.macosx-10.8-x86_64/egg creating

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

Sidebar

Related Questions

Can anyone advise of AIX system calls that can be used to programatically check
I am trying to use os.system() to call another program that takes an input
I can understand wanting to avoid having to use a cursor due to the
We've just started building our own push notification system (due to client's requirement) for
We plan to implement our new system with Java. Due to the system's nature,
My web application consists of library type system where books have due dates. I
Due to some css limitations between IE and the rest of the world I
Due to a number of constraints that I won't get into, I have to
I must be having some sort of google-block today, because I can't find an
Python decorators are fun to use, but I appear to have hit a wall

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.