Hi,
I just created a new virtualenv using Python 2.7:
$ python3 -mvenv /tmp/env
$ . /tmp/env/bin/activate
$ cd weblab/server/src
$ pip install -r requirements.txt -r requirements_recommended.txt -r requirements_suggested.txt
$ python setup.py install
And it seems to work. pip freeze returns this:
alembic==0.8.3
Babel==2.6.0
blinker==1.5
certifi==2021.10.8
chardet==3.0.4
click==7.1.2
cssmin==0.2.0
enum34==1.1.6
Flask==1.0.2
Flask-Admin==1.5.3
Flask-Assets==0.12
Flask-BabelEx==0.9.3
Flask-DebugToolbar==0.10.0
Flask-SQLAlchemy==2.0
Flask-Uploads==0.1.3
Flask-WTF==0.9.4
geoip2==2.1.0
hiredis==0.1.6
idna==2.8
ipaddr==2.2.0
itsdangerous==1.1.0
Jinja2==2.11.3
Mako==1.1.6
MarkupSafe==1.1.1
maxminddb==1.2.0
MySQL-python==1.2.5
networkx==1.8.1
numpy==1.6.2
PyMySQL==0.5
pymysql-sa==1.0
python-dateutil==2.5.2
python-editor==1.0.4
python-ldap==2.4.45
python-openid==2.2.5
pytz==2024.1
PyYAML==5.1
redis==2.10.6
requests==2.21.0
six==1.16.0
speaklater==1.3
SQLAlchemy==1.3.1
urllib3==1.24.3
webassets==2.0
weblabdeusto==5.0
Werkzeug==0.16.0
WTForms==1.0.5
Which I see differences with your pip freeze (e.g., Jinja2==2.11.3 instead of 2.5, etc.) Can you try that line and let us know?
In LabsLand, we are still not using it in production in our remote labs (100+ in different locations), but we will start migrating them soon. LabDiscoveryLib is a full re-implementation in Python 3, trying to simplify WebLab-Deusto and make it more stable, robust, and lightweight (it will not include certain integrations like OpenID, support of multiple protocols, etc. etc.). The keys are:
a) In Windows, it will be required to use WLS (Widows Linux Subsystem), so that you can have Redis and other software. The scripts will be made for that. Nowadays WSL is a quite standard system for installing this kind of software on Windows.
Best,
Pablo