473,394 Members | 1,749 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,394 software developers and data experts.

trouble with sqlite under debian etch

I was trying to follow the sqlalchemy tutorial on my debian etch box
and got stuck with installation. Any help/pointers will be welcome.

First after installing sqlalchemy needed some sqlite package
synaptic showed me packages python-pysqlite, python-pysqlite1.1 and
python-pysqlite2.

Theres some confusion regarding numbers: python-pysqlite2 is for
sqlite3 or some such thing

Tried python-pysqlite1.1 and got errors. Tried 2 and got version warnings.

Downloaded the tgz and did a setup build followed by a setup install

Now the
>>db = create_engine('sqlite:///tutorial.db')
gives me no module _sqlite
Jun 30 '07 #1
1 1614
Rustom Mody wrote:
I was trying to follow the sqlalchemy tutorial on my debian etch box
and got stuck with installation. Any help/pointers will be welcome.

First after installing sqlalchemy needed some sqlite package
synaptic showed me packages python-pysqlite, python-pysqlite1.1 and
python-pysqlite2.
[...]
Or just use Python 2.5, which includes a "sqlite3" module that
SQLAlchemy can use.
Theres some confusion regarding numbers: python-pysqlite2 is for
sqlite3 or some such thing
the 2 in python-pysqlite2 is for
Tried python-pysqlite1.1 and got errors. Tried 2 and got version warnings.

Downloaded the tgz and did a setup build followed by a setup install

Now the
>>>db = create_engine('sqlite:///tutorial.db')
gives me no module _sqlite
Did you execute that in the pysqlite root directory (i. e. the one that
"setup.py" and friends are?). Unfortunately, any other working directory
will be ok, but this one isn't.

-- Gerhard
Jul 3 '07 #2

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

Similar topics

9
by: amhoov | last post by:
Hi all, I'm trying to install wxPython on Debian using 'apt-get install python-wxgtk2.4.' I've got both Python 2.3 and 2.4 installed with 2.4 set as my default. For whatever reason, wxPython...
1
by: drife | last post by:
Hello, I use the Python Numeric package extensively, and had been an avid user of the "old" scipy. In my view, both pieces of software are truly first rate, and have greatly improved my...
12
by: John Salerno | last post by:
I've been looking around and reading, and I have a few more questions about SQLite in particular, as it relates to Python. 1. What is the current module to use for sqlite? sqlite3? or is that not...
1
by: Sabine Dinis Blochberger | last post by:
I have written a rather simple php script using class_jabber.php (http://www.centova.com). It just logs in as a bot, and keeps track of the on/offline status of our support staff (writing to a...
6
by: BartlebyScrivener | last post by:
If there is a wxPython on Debian user in the house? I am using the version of the demo that came with the apt-get download of wxPython. I thought I'd followed the instructions for installing and...
2
by: Rustom Mody | last post by:
Ive been trying to compile python 3000 on debian etch And on running test I get: 4 skips unexpected on linux2: test_tcl test_dbm test_ssl test_bsddb Can someone tell me what packages I am...
1
by: theands | last post by:
Hello everyone I was wondering if someone can assist me. I just installed a fresh copy of debian etch on a server that was previously running windows. Startup time of the server is roughly an...
8
by: Gilles Ganault | last post by:
Hello I need to compile PHP5 with SQLite statically and without PDO. I don't need DB-independence, so it's fine using sqlite_*() functions instead of PDO. 1. I've downloaded, compiled, and...
0
sokoun
by: sokoun | last post by:
Hi all, I am new in debian. I would like to build a debian livecd for my own package and my own needs. what can i do for that? please help me. please help me for the detail description for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.