Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

build error: /usr/bin/python2: No module named virtualenv #289

Description

@lalo311

I am trying to build syncserver with the make build command, on my RPi 3 with DietPi, and the make build command returns this :

# Install the latest Python 2 compatible setuptools manually:
# https://github.com/mozilla-services/syncserver/issues/239
`which python2 python2.7 python | head -n 1` -m virtualenv --python=`which python2 python2.7 python | head -n 1` ./local --no-setuptools
/usr/bin/python2: No module named virtualenv
make: *** [Makefile:29: local/COMPLETE] Error 1

I'm a beginner with linux and raspberry pi so sorry if I'm acting dumb, also I already tried reinstalling virtualenv with the pip and pip3 install virtualenv command. And when I use the command on the docs website : sudo apt-get install python-dev git-core python-virtualenv g++, I get this :

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
Note, selecting 'git' instead of 'git-core'
Package python-virtualenv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-virtualenv' has no installation candidate

Thanks in advance !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions