Hi @regis
I am currently in the process of setting up Cairn for analytics with my Open edX Olive installation and am encountering an error.
To provide some context, I’ve successfully installed the Open edX Olive release and am now attempting to install Cairn for analytics. However, I’ve come across a stumbling block during the installation process.
Here is a detailed breakdown of the steps I’ve taken:
ubuntu@ip-172-31-95-110:~$ tutor plugins install cairn
Error: Local index cache could not be found in /home/ubuntu/.local/share/tutor/env/plugins/index/cache.yml. Run `tutor plugins update`.
ubuntu@ip-172-31-95-110:~$ tutor plugins update
Fetching index https://overhang.io/tutor/main/olive/plugins.yml...
Plugin index local cache: /home/ubuntu/.local/share/tutor/env/plugins/index/cache.yml
ubuntu@ip-172-31-95-110:~$ tutor plugins install cairn
Installing pip requirements:
# cairn
tutor-cairn>=15.0.0,<16.0.0
pip install --requirement /tmp/tutor-reqs-6e8wbinn.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting tutor-cairn<16.0.0,>=15.0.0
Using cached tutor_cairn-15.0.6-py3-none-any.whl
Requirement already satisfied: tutor<16.0.0,>=15.0.0 in ./.local/lib/python3.10/site-packages (from tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (15.3.8)
Requirement already satisfied: mypy in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.4.1)
Requirement already satisfied: jinja2>=2.10 in /usr/lib/python3/dist-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (3.0.3)
Requirement already satisfied: appdirs in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.4.4)
Requirement already satisfied: kubernetes in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (26.1.0)
Requirement already satisfied: pycryptodome in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (3.18.0)
Requirement already satisfied: pyyaml>=6.0 in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (6.0)
Requirement already satisfied: click>=8.0 in /usr/lib/python3/dist-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (8.0.3)
Requirement already satisfied: typing-extensions>=4.4.0 in ./.local/lib/python3.10/site-packages (from tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (4.6.3)
Requirement already satisfied: certifi>=14.05.14 in /usr/lib/python3/dist-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (2020.6.20)
Requirement already satisfied: python-dateutil>=2.5.3 in ./.local/lib/python3.10/site-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (2.8.2)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (2.25.1)
Requirement already satisfied: requests-oauthlib in ./.local/lib/python3.10/site-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.3.1)
Requirement already satisfied: websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 in ./.local/lib/python3.10/site-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.6.1)
Requirement already satisfied: urllib3>=1.24.2 in /usr/lib/python3/dist-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.26.5)
Requirement already satisfied: setuptools>=21.0.0 in /usr/lib/python3/dist-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (59.6.0)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.16.0)
Requirement already satisfied: google-auth>=1.0.1 in ./.local/lib/python3.10/site-packages (from kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (2.20.0)
Requirement already satisfied: tomli>=1.1.0 in ./.local/lib/python3.10/site-packages (from mypy->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (2.0.1)
Requirement already satisfied: mypy-extensions>=1.0.0 in ./.local/lib/python3.10/site-packages (from mypy->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (1.0.0)
Requirement already satisfied: rsa<5,>=3.1.4 in ./.local/lib/python3.10/site-packages (from google-auth>=1.0.1->kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (4.9)
Requirement already satisfied: cachetools<6.0,>=2.0.0 in ./.local/lib/python3.10/site-packages (from google-auth>=1.0.1->kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (5.3.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/lib/python3/dist-packages (from google-auth>=1.0.1->kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (0.2.1)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib->kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (3.2.0)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/lib/python3/dist-packages (from rsa<5,>=3.1.4->google-auth>=1.0.1->kubernetes->tutor<16.0.0,>=15.0.0->tutor-cairn<16.0.0,>=15.0.0->-r /tmp/tutor-reqs-6e8wbinn.txt (line 2)) (0.4.8)
Installing collected packages: tutor-cairn
Successfully installed tutor-cairn-15.0.6
ubuntu@ip-172-31-95-110:~$ tutor plugins enable cairn
Error: plugin 'cairn' is not installed.
However, when I try to enable Cairn using tutor plugins enable cairn
, I’m getting the error message: “Error: plugin ‘cairn’ is not installed.”
I’m using Tutor version 15.3.7.
Now, I’m wondering if I am missing a step, or if I have to install a specific version of Cairn that is compatible with Olive? Perhaps I’m missing something, or there’s a specific order in which I should be executing these commands?
My goal is to get Cairn up and running for my analytics, but this error is preventing me from completing the setup. Any guidance on how to navigate this issue would be incredibly appreciated.
In advance, thank you for your time and support. I’m looking forward to learning from your experiences and solutions.