You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure you have Python 3.8 installed (last minor release is 3.8.20). Specifically an old version of the `lxml` library is used and due to [this bug](https://bugs.launchpad.net/lxml/+bug/1973155) an accordingly old version of Python is required. If your distribution does not ship anymore with Python 3.8.x you'll have to compile it yourself ([instructions](https://stackoverflow.com/a/62831268)).
16
-
17
-
To use the scripts, you should install their dependencies first:
18
-
```bash
19
-
$ python3 -m venv venv
20
-
$ source venv/venv/bin/activate
21
-
(venv) $ pip install -U setuptools wheel pip
22
-
(venv) $ pip install -r requirements.txt
23
-
```
24
-
25
-
Also ensure to install the Pillow library (this step fixes a ValueError "WordCloud Only Supported for TrueType fonts")
26
-
```bash
27
-
(venv) $ pip install -U pillow
28
-
```
29
-
30
-
and then add this directory to the `PYTHONPATH` of your main Python script, and then use e.g. `from surveyhero.parser import parse_surveyhero_report`.
Then run `uv sync` to initialize a virtual environment, and add this directory to the `PYTHONPATH` of your main Python script, and then use e.g. `from surveyhero.parser import parse_surveyhero_report`.
13
+
14
+
You can then execute your analysis scripts using `uv run <script>`.
31
15
32
16
## Useful functions
33
17
First, you will probably want to export data from SurveyHero into two CSV files - one containing the aggregated data from
0 commit comments