0

I'm trying to install firefox syncserver as described here Firefox Sync Server Installation. As such I did the following

  1. Installed Python2.7 and Virtualenv
  2. git clone https://github.com/mozilla-services/syncserver
  3. cd syncserver
  4. sudo make build

Everything was fine but when I ran sudo make test I get the following error enter image description here

When I check the virtualenv site I see this enter image description here

I'm not sure if this is related or what needs to be done here. Seems like virtualenv is using it's own local python setup not the system python. How do I make it use the system python. I tried tampering with the Makefile with no results.

BobLoblaw
  • 1,873
  • 4
  • 18
  • 27
  • Virtualenv is used to have own local setup for python. If you don't need it don't use it. – furas Jun 22 '14 at 02:26
  • I mean I need virtualenv to use its own python. The issue seems to be happening because the python in virtualenv and the system python are different versions from what I can infer. I'm sorry I'm new to this – BobLoblaw Jun 22 '14 at 02:31
  • 1
    Did you try to install `pysqlite2` with `pip` ? – furas Jun 22 '14 at 12:54
  • Don't use `sudo`. The install guide does not say to use sudo... For anybody wondering, like @furas: `make build` actually sets up a virtualenv and installs dependencies from a repo-provided [`requirements.txt`](https://github.com/mozilla-services/syncserver/blob/master/requirements.txt). Back to OP: python since 2.5 (via SQLAlchemy) shouldn't attempt to import `pysqlite2` in the first place, but import the built-in `sqlite3` module. This sounds to me that the python you're using was compiled [without sqlite3](http://stackoverflow.com/questions/1210664/no-module-named-sqlite3) support. – nmaier Jun 23 '14 at 03:17

0 Answers0