<div dir="ltr">Hello,<br><br>I have compiled Python 2.5.2 from source on Red Hat and tried testing bsddb. I typed the following statements from the command line and received the following error:<br><br>&gt;&gt;&gt; from bsddb import db<br>
&gt;&gt;&gt; env = db.DBEnv(0)<br>&gt;&gt;&gt; env.open(&#39;~/kaleidoscope/&#39;, db.DB_CREATE | db.DB_INIT_MPOOL, 0)<br>Traceback (most recent call last):<br>&nbsp; File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>
bsddb.db.DBInvalidArgError: (22, &#39;Invalid argument -- Berkeley DB library configured to support only DB_PRIVATE environments&#39;)<br><br><br>I am wondering if I somehow compiled the source so that I was restricted from writing to disk. Some additional things about my setup-- I am running this from a commercial website vendor, so I do not have write permissions to most of the typical root directories like bin or lib. I could replicate these in my home directory, but I am not too familiar with how to redirect makefiles or even install egg modules to point at my own user directories rather than the system directories. I am basically trying to setup a Python environment with some extra modules to run a daemon that will interact with BerkeleyDB files that I create.<br>
<br>Any help or ideas would be greatly appreciated.<br><br><br>Allan<br></div>