List of software packages used#
The Python version used in this book is:
3.14.5
The following Python libraries and the specific versions are used in this book:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
Cell In[2], line 5
1 import pathlib
2 from importlib.metadata import version, PackageNotFoundError
3
4 requirements_path = pathlib.Path("../../../requirements.txt")
----> 5 libraries = requirements_path.read_text().split("\n")
6
7 for library in filter(lambda line: "#" not in line, libraries):
8 try:
File ~/.local/share/uv/python/cpython-3.14.5-linux-x86_64-gnu/lib/python3.14/pathlib/__init__.py:787, in Path.read_text(self, encoding, errors, newline)
784 # Call io.text_encoding() here to ensure any warning is raised at an
785 # appropriate stack level.
786 encoding = io.text_encoding(encoding)
--> 787 with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f:
788 return f.read()
File ~/.local/share/uv/python/cpython-3.14.5-linux-x86_64-gnu/lib/python3.14/pathlib/__init__.py:771, in Path.open(self, mode, buffering, encoding, errors, newline)
769 if "b" not in mode:
770 encoding = io.text_encoding(encoding)
--> 771 return io.open(self, mode, buffering, encoding, errors, newline)
FileNotFoundError: [Errno 2] No such file or directory: '../../../requirements.txt'