List of software packages used

List of software packages used#

The Python version used in this book is:

3.14.4

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 /usr/lib/python3.14/pathlib/__init__.py:788, in Path.read_text(self, encoding, errors, newline)
    785 # Call io.text_encoding() here to ensure any warning is raised at an
    786 # appropriate stack level.
    787 encoding = io.text_encoding(encoding)
--> 788 with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f:
    789     return f.read()

File /usr/lib/python3.14/pathlib/__init__.py:772, in Path.open(self, mode, buffering, encoding, errors, newline)
    770 if "b" not in mode:
    771     encoding = io.text_encoding(encoding)
--> 772 return io.open(self, mode, buffering, encoding, errors, newline)

FileNotFoundError: [Errno 2] No such file or directory: '../../../requirements.txt'