Xblock install with Python 3.x instaed of 2.x

Is there a way to enable the tutor images build openedx to use Python 3.x instead of Python 2? I am trying to install the following xblock (flow-control-xblock) but it errors out:

The latest version is for python3 and Juniper. (v1.0.0 or v1.0.1)

Collecting flow-control-xblock from git+https://github.com/eduNEXT/flow-control-xblock.git@v1.0.0#egg=flow-control-xblock (from -r ./private.txt (line 2))
  Cloning https://github.com/eduNEXT/flow-control-xblock.git (to v1.0.0) to /tmp/pip-build-voPjiM/flow-control-xblock
flow-control-xblock requires Python '>=3.5.*' but the running Python is 2.7.12
You are using pip version 9.0.3, however version 21.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

private.txt file
git+https://github.com/eduNEXT/flow-control-xblock.git

Thanks!

Can you try
pip3 install openedx-scorm-xblock

Which tutor version are you running @misilot? (tutor --version)
Open edX runs on Python 2.7 prior to Juniper (<v11.0.0) and on Python 3 after.

tutor --version
tutor, version 3.12.6

Installed via pip install tutor-openedx

Ok, I think I know what happened, is I installed the plugin tutor-figures which downgraded me too the older version. I now have tutor, version 11.2.8 but will downgrade to v10 in a little bit.

*** This was the issue, tutor-figures was pinning tutor to an older version. Not installing tutor-figures and installing a newer version of tutor allowed it to install.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.