Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install instructions fail for CentOS #150

Closed
DeviaVir opened this issue Mar 13, 2012 · 1 comment
Closed

Install instructions fail for CentOS #150

DeviaVir opened this issue Mar 13, 2012 · 1 comment

Comments

@DeviaVir
Copy link

The instructions here work as far as "convergence-createdb".

[root convergence-0.4]# convergence-createdb
Traceback (most recent call last):
  File "/usr/local/bin/convergence-createdb", line 45, in <module>
    from sqlite3 import *
  File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3

And..

[root convergence-0.4]# yum install python-sqlite
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nl.leaseweb.net
 * extras: mirror.nl.leaseweb.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.nl.leaseweb.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package python-sqlite-1.1.7-1.2.1.x86_64 already installed and latest version
Nothing to do

[root convergence-0.4]# yum install sqlite
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.supportex.net
 * extras: mirrors.supportex.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.supportex.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package sqlite-3.3.6-5.x86_64 already installed and latest version
Package sqlite-3.3.6-5.i386 already installed and latest version
Nothing to do
@DeviaVir
Copy link
Author

Fixed it by running:

yum install sqlite-devel

and rebuilding Python from source (2.7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant