Help Needed! Finding Compatible Mako Version for WebLab Deusto

38 views
Skip to first unread message

RAM Prasad

unread,
May 1, 2024, 1:39:40 PM5/1/24
to weblabdeusto

Dear WebLab Deusto Community,

I'm reaching out today seeking some assistance with finding the most suitable Mako version for my WebLab Deusto project.

I'm currently working within a virtual environment and attempting to install Mako using pip install Mako-0.6.1.tar.gz. However, I'm encountering errors related to a missing dependency, MarkupSafe.

While I understand the recommended approach is to use pre-built packages through pip, I'd appreciate any insights on the following:

  • Compatible Mako Version:

    • Can anyone confirm the recommended Mako version that works well with WebLab Deusto?
    • Are there any specific compatibility considerations I should be aware of?

please the attachment files 


piplist.png
disstrubution issue.png

RAM Prasad

unread,
May 2, 2024, 5:31:13 AM5/2/24
to weblabdeusto
Blocked the here 

Installed c:\users\rdhamalx\projectintel\weblabdeusto-master\weblabdeusto-master\weblab_env\lib\site-packages\weblabdeusto-5.0-py2.7.egg
Processing dependencies for weblabdeusto==5.0
error: Installed distribution jinja2 2.5.5 conflicts with requirement Jinja2>=2.10

Pablo Orduña

unread,
May 4, 2024, 3:14:15 PM5/4/24
to weblab...@googlegroups.com
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 any case, please be aware that we are migrating from WebLab-Deusto to labdiscoveryengine: https://github.com/labsland/labdiscoveryengine

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.

b) Any new laboratories should be done with weblablib ( https://developers.labsland.com/weblablib/en/stable/ ), which is supported by WebLab-Deusto. LabDiscoveryEngine will support weblablib, and there is a new library called labdiscoverylib ( https://github.com/labsland/labdiscoverylib ) which is a fork of weblablib and that's the one we will support in the future. Migrating from weblablib to labdiscoverylib will be very easy.

Best,
Pablo

--
You received this message because you are subscribed to the Google Groups "weblabdeusto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weblabdeusto...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weblabdeusto/47b8db1d-fb8a-4c40-98ec-c7e828ae4a8bn%40googlegroups.com.


--
Pablo
Reply all
Reply to author
Forward
0 new messages