pytition / Pytition

Django app for self-hosted privacy-friendly online petitions
https://pytition.org
BSD 3-Clause "New" or "Revised" License
100 stars 28 forks source link

error installation #287

Open Trylam opened 2 years ago

Trylam commented 2 years ago

Hi, I followed the installation steps and during the command "pip3 install -r requirements.txt" I have errors :
ERROR: Command errored out with exit status 1: command: /srv/pytition/pytition_venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ng_b88q5/mysqlclient_f63e9c382c61417483eef7a6e8c2348a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ng_b88q5/mysqlclient_f63e9c382c61417483eef7a6e8c2348a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-6xz5r3ic

I am installing on a stable debian with a dedicated pytition user.

fallen commented 2 years ago

Hello, Do you have more logs? I don't see very specific error message in your paste. I suspect you are missing some debian package in order to compile mysqlclient wrapper.

Have you installed libmariadbclient-dev-compat ?

fallen commented 2 years ago

Are you still having issues @Trylam ?

fallen commented 1 year ago

ping @Trylam ?

fallen commented 1 year ago

Hey @Trylam I don't know if you are still interested in installing Pytition, don't hesitate to get back to me if you still struggle. For your information, it's now also easy to install Pytition via YunoHost: https://apps.yunohost.org/app/pytition