On 04/22/2011 11:24 PM, Adrian Klaver wrote:
> On Friday, April 22, 2011 1:58:51 pm Mark Stanton wrote:
>
>
>
>> Then again, I seem to have *another* issue because I'm using
>> VirtualEnv, so it seems I need to use pip.  "Just type 'pip install
>> package-name'" it says.  Well, that fails to find these packages
>> either, even though they are at the update site.  Once I work out how
>> to get it to play nicely perhaps I'll be alright :-(
> Back to what I said earlier, packages has more than one meaning. When you are
> going through yum you are looking at the distribution packages(Fedora). When 
> you
> are using pip you are fetching Python packages, they are not the same thing,
> though they may have similar names. When you are in your virtual environment
> try:
> pip install pysqlite
I don't know with virtual env but sqlite should be included with Python 
2.6 and higher, no?

Hhm, in Python 2.6 "import sqlite3" works just fine but in 2.7 I get an 
ImportError, so I guess it isn't always included out of the box.

Werner

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to