Skip to content

Commit 3bc87df

Browse files
committed
Fix sqlite3 import
1 parent 07b6cbd commit 3bc87df

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
git config --global --add safe.directory /__w/audio/audio
5252
conda create -c conda-forge --strict-channel-priority -y --prefix ci_env python="${PYTHON_VERSION}" ffmpeg="${FFMPEG_VERSION}" cmake ninja
5353
conda activate ./ci_env
54+
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
5455
conda info
5556
python -m pip install --upgrade pip
5657
echo "::endgroup::"

examples/tutorials/audio_datasets_tutorial.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@
1919
#
2020

2121
import os
22+
import sys
2223

23-
import IPython
24+
try:
25+
import IPython
26+
except ImportError as msg:
27+
raise ImportError(f'{msg}\n{os.environ["PATH"]=}\n{os.environ["LD_LIBRARY_PATH"]=}\n{sys.path=}')
2428

2529
import matplotlib.pyplot as plt
2630

0 commit comments

Comments
 (0)