473,320 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Missing _bssd in Python 2.4

I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.

Does anybody know why this might happen? Do I need to do any special
customization or install any other software?

Thanks,

-Jalil

Jul 18 '05 #1
2 1140
ja***@feghhi.com wrote:
I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.

Does anybody know why this might happen? Do I need to do any special
customization or install any other software?


You need to install the bsddb header files and development libraries
when building Python from source.

Regards,
Martin
Jul 18 '05 #2

I actually installed BerkeleyBD4.0 and commented out some sections of
Modules/Setup that I found related to this. I got the _bsddb.o in the
build environment but I still get the same error from bsddb/__init.py__
that it cannot import _bsddb.

Anything I am missing? Where should this _bsddb go exactly? Is it an
..so file?

Thanks,

-JF
Martin v. Löwis wrote:
ja***@feghhi.com wrote:
I compiled and installed python 2.4 on Redhat Linux using default
options but don't seem to be getting _bsddb. I get an error message
that _bssd cannot be imported.

Does anybody know why this might happen? Do I need to do any special customization or install any other software?


You need to install the bsddb header files and development libraries
when building Python from source.

Regards,
Martin


Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Partho Bhowmick | last post by:
I am building extension modules for Python 2.3 under Windows using MS Visual Studio .Net 2003. In the debug build, there is a pragma statement in <pyconfig.h> that causes a link to the lib...
12
by: John Burton | last post by:
One of the reasons I like python so much is that the standard installation comes with a whole lot of libraries to do lots of useful things but there seem to be a few things missing from the...
1
by: prabu | last post by:
Hello all, I am new to Python,And this is my first post.I have installed "Fsh",an Opensource Product ,very similar to SSH on my HP-UX B.11.22 U ia64(IPF).It has Python dependency.The problem is...
2
by: Uwe Mayer | last post by:
Hi, well, I wrote a nice python program which won't work if the default encoding has not been set from ascii to latin-1 or latin-15. However, the command sys.setappdefaultencoding is missing...
0
by: Duncan Smith | last post by:
Hello, I'm not very experienced in SQL and I need some advice. I have a comma separarated values file containing around 20 million records and about 20 fields. There are many missing values...
102
by: Skybuck Flying | last post by:
Sometime ago on the comp.lang.c, I saw a teacher's post asking why C compilers produce so many error messages as soon as a closing bracket is missing. The response was simply because the compiler...
42
by: redefined.horizons | last post by:
I'm coming from a Java background, so please don't stone me... I see that Python is missing "interfaces". The concept of an interface is a key to good programming design in Java, but I've read...
28
by: jmDesktop | last post by:
Studying OOP and noticed that Python does not have Interfaces. Is that correct? Is my schooling for nought on these OOP concepts if I use Python. Am I losing something if I don't use the...
7
by: Michele Simionato | last post by:
I have noticed that the python-mode for Emacs that comes with the latest Ubuntu is missing the class browser. Moreover if works differently from the python-mode I was used to (for instance CTRL-c-c...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.