How to install Berkeley DB to use with Python 3?

I have heard that Berkeley DB is a good database.
It seems it used to included in Python 2.x standard libraries but got excluded from 3.x version.
I want to use only Python 3.x, so I need to install Berkeley DB somehow to use it with Python 3.x.
Could you give me a step-by-step guide how to do it?
Thank you.

It should be but it is not.
setup.py gives errors:
C:\Users\3X\Desktop\bsddb3-5.3.0>python setup.py
Traceback (most recent call last):
File "setup.py", line 7, in <module>
import setup3
File "C:\Users\3X\Desktop\bsddb3-5.3.0\setup3.py", line 322, in <module>
db_h_lines = open(os.path.join(incdir, 'db.h'), 'r').readlines()
FileNotFoundError: [Errno 2] No such file or directory: 'db/include\\db.h'
I am using Windows 7 x64, Python 3.3.2.
Thank you
Edited by: 1009721 on Jun 6, 2013 11:23 PM

Similar Messages

  • I have an external hard drive that was formatted by a PC and has files and directories etc. I want to format it and use it on my IMAC for backup but I can't seem to write to it nor can I delete current content. How do I initialize it for use with the MAC?

    I have an external hard drive that was formatted by a PC and has files and directories copied to it etc. I want to use it on my IMAC for backup. I see it on my my IMAC . I can open files etc.  But I can't seem to write to it nor can I delete current content. I don't care if I lose current content. How do I initialize it for use with the MAC?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • How to install Windows XP in parallel with Mac OS on a Macbook?

    Can anyone tell me how to install Windows XP in parallel with Mac OS on a Macbook?
    If I divide the hard drive into 2 patritions and install Win XP & Mac OS on each patrition, is it ok?

    I don't think he meant "Parallels", I think he just meant "parallel", with a little 'p'.
    There are three options for running Windows software on an Intel-based Mac:
    Virtualization: you can install software such as Parallels or VMWare (along with a licensed copy of Windows) which will emulate the environment necessary to run Windows software. Performance is significantly degraded, but you can work with both Windows and Mac software simultaneously.
    Dual boot: You can use Apple's Bootcamp to partition your drive and create a CD of Windows drivers for your devices, so that you can then install Windows on one partition of your drive. Your Windows software will run just as it does on any other Windows PC, but you have to reboot to switch between Windows and OS X.
    Crossover: Crossover is a product that allows you to run Windows programs in OS X without installing Windows. Not all Windows software will work with Crossover though.

  • How to Install crystal run time programs with out designer.

    Can anyone suggest me  how to install crystal run time program with out installing entire designer software.
    Is it coming along with CR software package, which we have to do custom install or is it coming as a different package.  
    Currently my client is using only the run time programs to trigger crystal  report from VB app but developers have installed entire software for development.  We need to figure out how this install can be done, as it was done long time before and folks who have done it left the company.  
    Any suggestion on this would be of great help to me.

    See this wiki:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0
    Ludek

  • I have a company Ipad that belonged to a deceased employee. no access to his icloud or appleID. how can I restore it for use with a new apple ID

    I have a company Ipad that belonged to a deceased employee. no access to his icloud or appleID. how can I restore it for use with a new apple ID?
    The apple ID was his personal account and can no longer gain access. Im sure I can get purchase recipts from the accounting department if needed. I tried to put the Ipad in restore mode and used itunes to "recover" the ipad but it still wont let me in because he registered the device with the "lost iphone" feature or whatever that is.

    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818
    The Apple ID and Password that was Originally used to Activate the iDevice is required
    If you do not have that information you will not be able to use the Device.

  • How do I install a version of vim with Python support?

    I'm trying to install a version of vim with Python support, but for some reason I can't seem to find anything useful when I search.
    So far I've found posts that say arch doesn't have one built with Python support, and use this <broken link> AUR package. I've search AUR for "vim python" which turned up nothing. There *does* exist extra/gvim-python3, but when I install that, then vim (not gvim) still tells me "Error: Required vim compiled with +python"
    This search:
    https://duckduckgo.com/?t=lm&q=arch+lin … on+support
    Provides:
    https://bbs.archlinux.org/viewtopic.php … 1#p1070281 - Only a link to a bug report
    https://bbs.archlinux.org/viewtopic.php … 0#p1144210 - Post with the 404'd AUR link
    What I finally found was this Gist with directions on using the ABS:
    https://gist.github.com/MicahElliott/3048622
    Ultimately you'll have to change the particular tar.xz files you use in the pacman -U steps, but this should get you vim with Python enabled.

    I have downloaded vim by cloning The Vim Mercurial repository.
    hg clone https://vim.googlecode.com/hg/ ~/bin/vim_bin
    Then i have a this script to install it in my own ~/bin/ dir.
    #!/bin/bash
    cd /home/myuser/bin/vim_bin/src
    echo "---Configure----"
    ./configure --prefix=/usr --localstatedir=/var/lib/vim \
    --with-features=big --with-compiledby="Custom Vim insall" \
    --enable-gpm --enable-acl --with-x=no \
    --disable-gui --enable-multibyte --enable-cscope \
    --enable-netbeans --enable-perlinterp \
    --enable-rubyinterp --enable-luainterp \
    --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \
    --enable-python3interp --with-python3-config-dir=/usr/lib/python3.4/config > my_log
    echo "=== Make ==="
    make >> my_log
    echo "==== Install ===="
    make install >> my_log
    Hope it helps some one

  • HT5219 How many Thunderbolt displays can I use with my MacBook Pro using Windows 7 and  Parrallels?

    How many Thunderbolt displays can I use with my MacBook Pro using Windows 7 and Parallels

    Two. You can daisy-chain two ATD together. Doesn't matter what you're running.
    Clinton

  • How to install coreldraw withMacbook pro using Mac OS X Lion 10.7.5. please help.

    how to install coreldraw withMacbook pro using Mac OS X Lion 10.7.5. please help.

    Once again as Sig said a Google search produced
    http://en.wikipedia.org/wiki/Comparison_of_vector_graphics_editors
    as the results which is a comparison of the vector drawing packages currently available.
    You really need to start using Goole search.
    Allan

  • How to install forms 6i runtime using windows Systems Management Server?

    Hi,
    Our clinents are using oracle forms 5 application and we want to upgrade to forms 6i ( client /server ).
    How to install oracle forms 6i and reports 6i runtime in multiple client machines
    using windows systems management server instead of installing one by one manually.
    Regards

    Here is a quick summary on why this works...
    The Problem:
    The issue relies with the method and logic that MDT’s scripts use to query and validate that the proper disks, partitions and storage space reside before starting the installation of Windows.
    Essentially what you have configured in the Task Sequence and the UNATTEND.xml is analyzed by the MDT scripts then a validation is completed against the hardware in which you wish to install Windows
    on and if there are any errors you will be prompted with MDT Error or Warning dialogs.
    The problem is that the MDT scripts use WMI to query the hard disk, partition and free space requirements for Windows, but in the case of using GPT disk, the 2nd partition (MSR) that you have to create
    is hidden. The class that WMI uses for its query can’t see the MSR partition so instead of 3 partitions, it returns 2 in the query results; hence why DISK 0 PARTITION 3 doesn’t work as mentioned earlier when configured in the MDT Task Sequence.
    Although the above still confuses me as to why it works with DISK 0 PARTITION 2 since the WMI query results return PARTITION IDs 0 and 1 when it should return 1 and 2…
    The Windows Pre-Installation Environment however does see all 3 partitions correctly and we tried configuring in our Task Sequence to install Windows to DISK 0 and PARTITION 2 and in the UNATTEND.xml
    file to install Windows to DISK 0 and PARTITION 3 but due to timing issues of the way Windows installs with MDT, did this not work for us.

  • How to install the JRE that comes with JME 3.0 to a Windows Mobile device

    From Sun's JME download page:
    Integration with 3rd party emulators and Windows Mobile devices
    The new Java ME Platform SDK architecture allows integration of 3rd party emulators and devices. Java ME Platform SDK comes with Sun's Java runtime environment for Windows Mobile. A user can install this runtime on a Windows Mobile device or a Microsoft device emulator and experience all the on-device features of Java ME Platform SDK.*
    My question is, how can I install the Java runtime environment that comes with Java ME Platform SDK 3.0 to a Windows Mobile device. I am a newbie in this device programming and I'm setting up my development environment. So far, I have installed JME in my computer, and have also installed both the Windows Mobile 5 and Windows Mobile 6 emulator. I've been searching the internet for answers, but it always points me to using a third party java runtime such us Mysaifu, etc. I would like to stick with what is packaged with JME if possible.
    If anybody assist me or direct me to an online documentation on how to do this. All help is greatly appreciated :-)

    I had some success installing on a real Mobile 5 device [http://forums.sun.com/thread.jspa?threadID=5344195]
    There is a link to a doc on the main download page, item 5 under How to Install. [http://java.sun.com/javame/downloads/sdk30ea.jsp] I used this for the real device, Treo 700w. Did not try it with an emulator.
    The support looks to be an emulator rather than a JVM per say. But then again I could be wrong on that. I too had poked around looking for a JVM, CrEme, J9, etc..
    I do have a commercial app installed on the Treo that uses IBM's J9, which is seems requires a contact with a sales person to get ahold of. I had hoped to find something that might clue me in on how to "hook up" my own J2ME app with the J9 installed by the commercial package. But I've pretty much decided to get a real J2ME handset rather than continue to waste my time hacking up something with WM. Now the question is which one makes a good reference platform?

  • How to install Oracle BPEL Process Manager with the BEA WebLogic

    Hi ,
    I will install Oracle BPEL Process Manager with BEA WebLogic 9.2(MP2). I have download orabpel_10133_WebLogic.zip ,then Modify the following mandatory installation properties in the orabpel_10133_WebLogic\bpelDomain.properties file:
    # BEA_HOME is the path where Weblogic is Installed
    BEA_HOME=/opt/bea
    # JAVA_HOME is the path of jdk folder inside your weblogic
    JAVA_HOME=/opt/bea/jrockit90_150_10
    # DOMAIN_HOME is the path where you wish to create your domain called BPELDomain
    DOMAIN_HOME=/opt/bea/user_projects/domains
    # APPS_HOME is the path where you wish to copy your applications and adapters that are required for oracleBPELServer
    APPS_HOME=/opt/bea/user_projects/apps
    # BEA_HOME is the path where BPEL PM is Installed
    BPEL_HOME=/home/oracle/bpel/product/10.1.3.1/OraBPEL_1/bpel
    # DRIVER_TYPE is the datasource class that installable use to create a datasources for oracleBPELServer
    DRIVER_TYPE=oracle.jdbc.xa.client.OracleXADataSource
    # DB_URL is the url to connect to orabpel schema
    DB_URL=jdbc:oracle:thin:@16.157.134.17:1521:orcl
    # DB_USER is the user Id for orabpel shema in database
    DB_USER=ORABPEL
    #DB_PASSWORD is the password for orabpel schema in database
    DB_PASSWORD=bpel
    #BPEL_SERVER_NAME is the server i.e. to be created under BPELDomain
    BPEL_SERVER_NAME=oracleBPELServer
    #PROXY_HOST is the Host name of the proxy server
    PROXY_HOST=www-proxy.us.oracle.com
    #PROXY_HOST=
    #PROXY_PORT is the Port where the proxy server is running
    PROXY_PORT=80
    #PROXY_PORT=
    #NON_PROXY_HOST is the list of non proxy hosts that are divided by a | symbol
    #NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com
    NON_PROXY_HOST=*.oracle.com|*.oraclecorp.com|localhost|127.0.0.1|stbbn10|stbbn10.us.oracle.com|16.157.134.135
    When I run the setup.sh , it will report
    BUILD FAILED
    /opt/software/WL_Installables/build.xml:131: Traceback (innermost last):
    File "./wl_scripts/bpelDomain.py", line 22, in ?
    File "./wl_scripts/createGroupsAndUsers.py", line 4, in ?
    weblogic.management.utils.AlreadyExistsException: [Security:090267]Group BpelGroup
    Actully ,there is no BpelGroup in Weblogic. Does anybody know how to solve it ?

    MAke sure you have not set ANY environment variable related to Oracle / BEA / Java / LD_library path. Use the following script to unset / set the initial settings:
    #!/bin/sh
    unset ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM
    unset LD_LIBRARY_PATH LD_LIBRARY_PATH_64
    unset CLASSPATH JAVA_HOME
    export PATH=.:/usr/sbin:/usr/bin:/usr/local/bin:/opt/VRTS/bin
    export BEA_HOME=/appl/oracle/products/9.2/weblogic
    Marc
    http://orasoa.blogspot.com

  • How to install SIM on ipad mini with celluna?

    i biought the t-mobil SIM start kid and do not know how to install it on my ipad mini with celluna; can some one help?

    You'll need to open the sim slot as shown in Diavonex's, image.  However looking into the t-Mobile Starter kit here:
    http://www.t-mobile.com/cell-phones/t-mobile-sim-starter-kit.html
    It seems it comes with a standard Mini sim which will be too large to fit in any iPad model.  Depending on the Model of iPad they use either a Micro Sim or a  Nano Sim.
    You''ll likely have to get the sim card cut to the appropriate size.

  • How do i configure outlook for use with icloud and my iphone?

    I am at a loss at how to configure my outlook 2007 for the best synch and use with my icloud and or iphone. Any help out there?

    You can't write to it because it's formatted as NTFS which OS X will read but not write to. If you want to continue using the drive with both a PC and OS X you will need to download and install NTFS-3G so you can then write to it from your Mac. You can get NTFS-3G at:
    http://www.macupdate.com/app/mac/24481/ntfs-3g
    If you want to use the drive exclusively with your Mac then move the data off it and reformat it in Disk Utility (Applications - Utilities - Disk Utilities) as Mac OS Extended (Journaled.)

  • HOW TO INSTALL REAL ICSr6 in Live With Walkman

    Hi,
    Does any body know hoe to install real ICSr6(http://forum.xda-developers.com/showthread.php?t=1707876) in LWW.
    First of all i rooted my phone with the simple steps mentiond by nabeel in http://talk.sonymobile.com/thread/41119?start=0&tstart=0
    After root my phone i download the real icsr6 from the xdadevelopers site and also i done the CWM mode in my phone.
    then copy the realICSr6 in SDcard and reeboot it in CWM mode
    then follow the steps mentioned in the site http://forum.xda-developers.com/showthread.php?t=1707876
    but while installing the ICSr6 in CWM mode i stuck in one place idont know which one should i select. There is an option to instal with Locked Bootloder and Unloked boot loder.
    Itried both the loked and unloked bootloder
    but after installing with locked bootloder i rebooted the phone then it shows SONY logo then it get stuck in ANDROID logo then continousely restaring the phone.
    With the unlocked bootloder it stuck in SONY logo. and then contionousely rebooting.
    Please help me to instal the real ICSr6 with the step by step process.

    Hi
    I successfully installed the Real ICSr6 in my LWW.
    Below i am mentioning the steps to how to install Real ICSr6, i think it may be helpfull to somebody to install this.
    First of all u should root your phone, Then install the CWM mode, then fastboot the kernel, and then install the Real ICS r6 from SDcard.
    How to Root LWW or Xperia 2011 series mob's.
    http://talk.sonymobile.com/thread/41...art=0&tstart=0
    For installing the Real ICSr6 u should unlock the bootloder. For unlocking the boot loder for Xperia 2011 series phone u should get the unlocking code from the sony mobile site (http://unlockbootloader.sonymobile.com/ ) follow this link and get the unlocking bootloder code.
    For unlocking the boot loder Download the "fastboot" drivers from here. Install them accordingly.
    Turn off your phone. Wait for 30 seconds. Connect your phone to the PC while keeping the volume up key pressed. Your phone's LED will lit blue (indicating fastboot mode).
    Head over to the location where you kept the previously unzipped fastboot folder. Right click while keeping pressed the SHIFT key on the folder and select "Open command prompt here"
    Type fastboot.exe -i 0x0fce getvar version to ensure your have entered bootloader mode (you will get version on java example, 0.3)
    Type fastboot.exe -i 0x0fce oem unlock 0xKEY (replace KEY with unlock code you got from Sony's website earlier)
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BOOTLODER IS UNLOCKED !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    then disconnect the mob from ur PC.
    FLASHING KERNAL
    For Installing Real ICSr6 u should use the kernal MESA(recomended), KRsH Kernel ICS, EXtended Stock Kernel
    for downloading u can visit http://forum.xda-developers.com/show....php?t=1707876
    After downloading this.
    Open the flash tool that u earlier installed for rooting ur mobile.
    Click on the lightning bolt sign and select "Fastboot mode" and click OK.
    Switch off ur Mobile and press the Vol UP key and connect it ur computer. Now your phone is in fast boot mode.
    Now Click on "select kernel to flash" in Flashtool.
    Browse to the folder where you placed the *.img file and select it.
    Flashtool will install the kernel into your phone. Disconnect your phone from the PC. Wait 30 seconds.
    !!!!!!!!!!!!!!! Now successfully install the KERNEL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Installing The Custom ROM (Real ICSr6)
    First of all copy the Real ICSr6 file in ur phones SDcard.
    Then Turn your phone on. When you see the Sony or Sony Ericsson logo on the screen, keep pressing the volume down key. It will take you to the CWM recovery mode, which was installed automatically with the kernel.
    Use the volume up and down keys to navigate through menu items and the Home key for selecting.
    Do a full wipe (format data, system, cache, Dalvik cache and battery cache).
    Choose "install from SD card" and then select "choose zip file". Select the ROM file first (MiniCMSandwich Lite Final v4).
    It will take you to the very much intuitive Aroma installer, which is very easy and much like installing an operating system on your PC.
    After finishing the installation, your phone will reboot. While rebooting, enter the CWM Recovery again using the volume down key.
    This time, do not wipe anything. Just select "install zip from SD card" and point to the wifi modules zip file. Similarly, install the Google Apps zip file.
    Turn off your phone from the CWM Recovery menu.
    Turn on your phone, first boot may take a long time, do not worry.
    Now you should get a pure AOSP flavor in your Xperia device.
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Enjoy the New ICSr6 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thanks to all developers XDA.
    HIT HELPFUL ANSWER IF I HELP U
    Message was edited by: abheesh

  • How to install the Oracle Apps R12 with an existing OAS 10g

    Hi All,
    I am planning to install the Oracle Apps R12 and I already downloaded the media-pack from edelivery.oracle.com.
    But I am not sure how to do it because I have tree-tier architecteur at home :
    One computer with LINUX OS (OEL 5.5) which hold the Oracle Database 11gR2 -- Database tier
    One computer with LINUX OS (OEL 5.5) which hold the Oracle Application Server 10g ver 10.2.0 (infra and middle) -- Midel-tier
    One computer with XP OS -- Client tier
    Could any one explain me how to install it?
    Regards,

    But I am not sure how to do it because I have tree-tier architecteur at home :
    One computer with LINUX OS (OEL 5.5) which hold the Oracle Database 11gR2 -- Database tier
    One computer with LINUX OS (OEL 5.5) which hold the Oracle Application Server 10g ver 10.2.0 (infra and middle) -- Midel-tier
    One computer with XP OS -- Client tier The above is two tier architecture (not three tier) as the client tier is not considered as a tier in Oracle Apps installation.
    Could any one explain me how to install it?Do you already have a Database and Oracle AS10g installed? Please elaborate more.
    Oracle Apps R12 comes with 11gR1 database, and to do multi-node installation please refer to these threads.
    R12 Multinode installation
    Re: R12 Multinode installation
    Install oracle EBS R12 on 2 machines
    Install oracle EBS R12 on 2 machines
    To upgrade the database later to 11gR2, please refer to:
    11gR2 11.2.0.2 Database Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2010/11/db_11gr2_11202_ebs.html
    Thanks,
    Hussein

Maybe you are looking for

  • Macbook pro Mid 2010 freezes and restarts itself

    Hi All, I have a Macbook Pro Mid 2010, 2,4 GHz Intel Core i5, and keeps restarting on its own when launching videos or on Skype. I've tried booking a Genius Bar apointment but living in London they're always full. Any help is appreciated. Here is the

  • Is there a known bug with the zen vision;m and usb internet adapt

    i bought the zen m yesterday. i've down loaded it onto my pc. audible wont sync to it. the creative firmware updater wont update it keeps saying its not connected. Windows media player synced to it ( the only thing thats gone right so far lol ) and w

  • Sound key not working

    volume key not working ofter last update

  • View access denied to Subject .. on ProvisioningTask: Worflow

    Good Morning! I am using Identity Manager 8.1, I am creating a Workflow for end users but I have the next error when I am ejecuting the work flow, "View access denied to Subject .. on ProvisioningTask: Worflow". The next is the activity: <Activity id

  • For loop syn

    can an body pls. tell me is it correct syntex to use for loop for double value intilazation, double operation..i mean..see like this.. facing complation error... for(i=0 , j=b-1;i<a , j>-1;i++ , j--)           }