Installing and Getting Started PyScada
Hey Guys, I am installing PyScada in Ubuntu 20.04 LTS version. I have created this issue for any help and support required for setup if I face any problem.
I am following documentation and found the below two instructions to setup PyScada :
- https://pyscada.readthedocs.io/en/main/installation.html
I am stuck at this place : https://pyscada.readthedocs.io/en/main/installation.html#initialize-database-and-copy-static-files
I am getting below errors : root@ubuntu:/var/www/pyscada/PyScadaServer# sudo -u pyscada python3 manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings.
This will overwrite existing files! Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "manage.py", line 22, in
There is also one more tutorial : https://pyscada.readthedocs.io/en/main/quick_install.html
Can you tell me which one tutorial should I follow to start with and what is the difference between both of them?
I tried below tutorial also and got errors. https://pyscada.readthedocs.io/en/main/quick_install.html
Log file is attached here. logs_install.txt
The documentation from https://pyscada.readthedocs.io/en/main/installation.html is not up to date. How did you get this url ? It should be deleted or updated (to explain a manual installation).
For the log from the script install :
- You get this error :
error: invalid command 'bdist_wheel'As said here can you try to installwheelin the virtual environment ?
source /home/pyscada/.venv/bin/activate
sudo -u pyscada -E env PATH=${PATH} pip install wheel
- You get this error :
django.db.utils.NotSupportedError: MariaDB 10.4 or later is required (found 10.3.39).As said here django 4.2 needs MariaDB>10.4. Upgrade your ubuntu version or install mariadb manually to get the version > 10.4
If the problem is solved, please close the issue.
Please reopen if needed.