mozilla-services / syncserver

Run-Your-Own Firefox Sync Server
Mozilla Public License 2.0
1.87k stars 145 forks source link

Python Error When Doing “make build” #297

Open guillaumesoucy94 opened 2 years ago

guillaumesoucy94 commented 2 years ago

Hello,

When trying to install the Mozilla Sync Server, I’ve got issues when doing “make build”.

It give me an error concerning Python2 which is depreciated. I’d install Python3.9 on my machine running Ubuntu Server 20.04 LTS but, still having the issue when trying to run “make build”.

This is what I’ve got:

make build

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 do know some other peoples here who getting the same issues but, even after ready their posts, I’m still not able to find out the solution concerning my specific situation.

Thank-you in advance for the help.

Guillaume

mariusft commented 2 years ago

you'll need to install virtualenv, you can use python pip to install it: pip install virtualenv

guillaumesoucy94 commented 1 year ago

Ok will try to do so.

Thank-you,

Guillaume