Secret-chest / scratch2python

Scratch2Python allows you to run Scratch projects in Python
https://Secret-chest.github.io/s2p
GNU General Public License v3.0
19 stars 7 forks source link

OSError: no library called "cairo-2" was found no library called "cairo" was found #59

Open PatoFlamejanteTV opened 1 day ago

PatoFlamejanteTV commented 1 day ago

What did you expect to happen?

Open the main.py

What did actually happen?

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 64, in <module>
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
  File "C:\Python312\Lib\site-packages\cairosvg\__init__.py", line 26, in <module>
    from . import surface  # noqa isort:skip
    ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\cairosvg\surface.py", line 9, in <module>
    import cairocffi as cairo
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 60, in <module>
    cairo = dlopen(
            ^^^^^^^
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 57, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'cairolibs\libcairo-2.dll': error 0x57.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'cairolibs\\libcairo-2.dll'
cannot load library 'libcairo.so.2': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'cairolibs\libcairo-2.dll': error 0x57
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0>

How did you make that happen?

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py

Python errors

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 64, in <module>
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
  File "C:\Python312\Lib\site-packages\cairosvg\__init__.py", line 26, in <module>
    from . import surface  # noqa isort:skip
    ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\cairosvg\surface.py", line 9, in <module>
    import cairocffi as cairo
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 60, in <module>
    cairo = dlopen(
            ^^^^^^^
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 57, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'cairolibs\libcairo-2.dll': error 0x57.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'cairolibs\\libcairo-2.dll'
cannot load library 'libcairo.so.2': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'cairolibs\libcairo-2.dll': error 0x57
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0>

Latest version

PatoFlamejanteTV commented 1 day ago

Full log:

Windows PowerShell

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install -r requirements.txt
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2)
ERROR: No matching distribution found for numpy~=1.21.2
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 29, in <module>
    import i18n
ModuleNotFoundError: No module named 'i18n'
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install numpy
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Requirement already satisfied: numpy in c:\users\mcmco\appdata\roaming\python\python312\site-packages (1.26.4)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install i18n
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pcussion can be found at https://github.com/pypa/pip/issues/12330
Collecting i18n
  Downloading i18n-0.2.tar.gz (6.5 kB)
  Installing build dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting py (from i18n)
  Downloading py-1.11.0-py2.py3-none-any.whl.metadata (2.8 kB)
Collecting babel (from i18n)
  Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Downloading babel-2.16.0-py3-none-any.whl (9.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 1.1 MB/s eta 0:00:00
Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
Building wheels for collected packages: i18n
  Building wheel for i18n (pyproject.toml) ... done
  Created wheel for i18n: filename=i18n-0.2-py3-none-any.whl size=6968 sha256=620bb42bf8d4cf366cb07613580c9b160f5d66bf8c03145beb8c3d289e7bcc25
  Stored in directory: c:\users\mcmco\appdata\local\pip\cache\wheels\a9\25\f3\7ad1bdee460b5561b1f226a7c7becbc34720c13549b4cad8d5
Successfully built i18n
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
Installing collected packages: py, babel, i18n
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\pybabel.exe' -> 'C:\\Python312\\Scripts\\pybabel.exe.deleteme'

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 29, in <module>
    import i18n
ModuleNotFoundError: No module named 'i18n'
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting python-i18n
  Downloading python_i18n-0.3.9-py3-none-any.whl.metadata (5.5 kB)
Downloading python_i18n-0.3.9-py3-none-any.whl (13 kB)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: python-i18n
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Successfully installed python-i18n-0.3.9
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 64, in <module>
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sound.py", line 9, in <module>
    import pygame.mixer
ModuleNotFoundError: No module named 'pygame'
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install pygame
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. DisCollecting pygame
  Downloading pygame-2.6.1-cp312-cp312-win_amd64.whl.metadata (13 kB)
Downloading pygame-2.6.1-cp312-cp312-win_amd64.whl (10.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.6/10.6 MB 1.2 MB/s eta 0:00:00
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: pygame
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\Python312\\Include\\pygame'

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install python-i18n[YAML]
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Requirement already satisfied: python-i18n[YAML] in c:\python312\lib\site-packages (0.3.9)
Requirement already satisfied: pyyaml>=3.10 in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from python-i18n[YAML]) (6.0.2)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install pygame --user
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Requirement already satisfied: pygame in c:\python312\lib\site-packages (2.6.1)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 64, in <module>
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
ModuleNotFoundError: No module named 'cairosvg'
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install cairosvg
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting cairosvg
  Downloading CairoSVG-2.7.1-py3-none-any.whl.metadata (2.7 kB)
  Downloading cairocffi-1.7.1-py3-none-any.whl.metadata (3.3 kB)
Collecting cssselect2 (from cairosvg)
  Downloading cssselect2-0.7.0-py3-none-any.whl.metadata (2.9 kB)
Collecting defusedxml (from cairosvg)
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB)
Requirement already satisfied: pillow in c:\python312\lib\site-packages (from cairosvg) (10.4.0)
Collecting tinycss2 (from cairosvg)
  Downloading tinycss2-1.3.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: cffi>=1.1.0 in c:\python312\lib\site-packages (from cairocffi->cairosvg) (1.17.1)
Collecting webencodings (from cssselect2->cairosvg)
  Downloading webencodings-0.5.1-py2.py3-none-any.whl.metadata (2.1 kB)
Requirement already satisfied: pycparser in c:\python312\lib\site-packages (from cffi>=1.1.0->cairocffi->cairosvg) (2.22)
Downloading CairoSVG-2.7.1-py3-none-any.whl (43 kB)
Downloading cairocffi-1.7.1-py3-none-any.whl (75 kB)
Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Downloading tinycss2-1.3.0-py3-none-any.whl (22 kB)
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: webencodings, tinycss2, defusedxml, cssselect2, cairocffi, cairosvg
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\cairosvg.exe' -> 'C:\\Python312\\Scripts\\cairosvg.exe.deleteme'

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip3 install cairosvg
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. DisRequirement already satisfied: cairosvg in c:\python312\lib\site-packages (2.7.1)
Requirement already satisfied: cairocffi in c:\python312\lib\site-packages (from cairosvg) (1.7.1)
Requirement already satisfied: cssselect2 in c:\python312\lib\site-packages (from cairosvg) (0.7.0)
Requirement already satisfied: defusedxml in c:\python312\lib\site-packages (from cairosvg) (0.7.1)
Requirement already satisfied: pillow in c:\python312\lib\site-packages (from cairosvg) (10.4.0)
Requirement already satisfied: tinycss2 in c:\python312\lib\site-packages (from cairosvg) (1.3.0)
Requirement already satisfied: cffi>=1.1.0 in c:\python312\lib\site-packages (from cairocffi->cairosvg) (1.17.1)
Requirement already satisfied: webencodings in c:\python312\lib\site-packages (from cssselect2->cairosvg) (0.5.1)
Requirement already satisfied: pycparser in c:\python312\lib\site-packages (from cffi>=1.1.0->cairocffi->cairosvg) (2.22)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> beautifulsoup4
beautifulsoup4 : The term 'beautifulsoup4' is not recognized as the name of a cmdlet, function, script file,
correct and try again.
At line:1 char:1
+ beautifulsoup4
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (beautifulsoup4:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip3 install beautifulsoup4
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting beautifulsoup4
  Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting soupsieve>1.2 (from beautifulsoup4)
  Downloading soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Downloading soupsieve-2.6-py3-none-any.whl (36 kB)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: soupsieve, beautifulsoup4
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Successfully installed beautifulsoup4-4.12.3 soupsieve-2.6
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting lxml
  Downloading lxml-5.3.0-cp312-cp312-win_amd64.whl.metadata (3.9 kB)
Downloading lxml-5.3.0-cp312-cp312-win_amd64.whl (3.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 1.2 MB/s eta 0:00:00
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: lxml
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Successfully installed lxml-5.3.0
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> httpx
httpx : The term 'httpx' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (httpx:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip3 install httpx
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Requirement already satisfied: httpx in c:\users\mcmco\appdata\roaming\python\python312\site-packages (0.27.0)
Requirement already satisfied: anyio in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from httpx) (4.4.0)
Requirement already satisfied: certifi in c:\python312\lib\site-packages (from httpx) (2024.7.4)
Requirement already satisfied: httpcore==1.* in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from httpx) (1.0.5)
Requirement already satisfied: idna in c:\python312\lib\site-packages (from httpx) (3.7)
Requirement already satisfied: sniffio in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from httpx) (1.3.1)
Requirement already satisfied: h11<0.15,>=0.13 in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from httpcore==1.*->httpx) (0.14.0)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
    from . import surface  # noqa isort:skip
    ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\cairosvg\surface.py", line 9, in <module>
    import cairocffi as cairo
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 60, in <module>
    cairo = dlopen(
            ^^^^^^^
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 57, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'cairolibs\libcairo-2.dll': error 0x57.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'cairolibs\\libcairo-2.dll'
cannot load library 'libcairo.so.2': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'cairolibs\libcairo-2.dll': error 0x57
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip3 install cairo-2
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
ERROR: Could not find a version that satisfies the requirement cairo-2 (from versions: none)
ERROR: No matching distribution found for cairo-2
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install pipwin
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting pipwin
  Downloading pipwin-0.5.2.tar.gz (7.9 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting docopt (from pipwin)
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: requests in c:\python312\lib\site-packages (from pipwin) (2.32.3)
Collecting pyprind (from pipwin)
  Downloading PyPrind-2.11.3-py2.py3-none-any.whl.metadata (1.1 kB)
Requirement already satisfied: six in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from pipwin) (1.16.0)
Requirement already satisfied: beautifulsoup4>=4.9.0 in c:\python312\lib\site-packages (from pipwin) (4.12.3)
Collecting js2py (from pipwin)
  Downloading Js2Py-0.74-py3-none-any.whl.metadata (868 bytes)
Requirement already satisfied: packaging in c:\users\mcmco\appdata\roaming\python\python312\site-packages (from pipwin) (24.1)
Collecting pySmartDL>=1.3.1 (from pipwin)
  Downloading pySmartDL-1.3.4-py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: soupsieve>1.2 in c:\python312\lib\site-packages (from beautifulsoup4>=4.9.0->pipwin) (2.6)
Collecting tzlocal>=1.2 (from js2py->pipwin)
  Downloading tzlocal-5.2-py3-none-any.whl.metadata (7.8 kB)
Collecting pyjsparser>=2.5.1 (from js2py->pipwin)
  Downloading pyjsparser-2.7.1.tar.gz (24 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: charset-normalizer<4,>=2 in c:\python312\lib\site-packages (from requests->pipwin) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\python312\lib\site-packages (from requests->pipwin) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\python312\lib\site-packages (from requests->pipwin) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\python312\lib\site-packages (from requests->pipwin) (2024.7.4)
Requirement already satisfied: tzdata in c:\python312\lib\site-packages (from tzlocal>=1.2->js2py->pipwin) (2024.1)
Downloading pySmartDL-1.3.4-py3-none-any.whl (20 kB)
Downloading PyPrind-2.11.3-py2.py3-none-any.whl (8.4 kB)
Downloading tzlocal-5.2-py3-none-any.whl (17 kB)
Building wheels for collected packages: pipwin, docopt, pyjsparser
  Building wheel for pipwin (pyproject.toml) ... done
  Created wheel for pipwin: filename=pipwin-0.5.2-py2.py3-none-any.whl size=8796 sha256=f639b5c0410ea47d94b133913c0c3469d31b9b39d325ad3c4fc6519585def34a
  Stored in directory: c:\users\mcmco\appdata\local\pip\cache\wheels\e8\b5\1d\b94f69a230c016fe50ed36399dec48b34b82a11e4f344e9ccb
  Building wheel for docopt (pyproject.toml) ... done
dbbeac4eb97a39f998e558f9c4532efb642b734b5a3
  Stored in directory: c:\users\mcmco\appdata\local\pip\cache\wheels\1a\bf\a1\4cee4f7678c68c5875ca89eaccf460593539805c3906722228
  Building wheel for pyjsparser (pyproject.toml) ... done
  Created wheel for pyjsparser: filename=pyjsparser-2.7.1-py3-none-any.whl size=25989 sha256=d9b260428d112ac12bc5bba7583d9d39d33e9f49c6a65507b23b376278a94b3f
  Stored in directory: c:\users\mcmco\appdata\local\pip\cache\wheels\14\32\1d\9ef7b582e358446aeef4b9052aa89ef4dffa1688c1aae8aa13
Successfully built pipwin docopt pyjsparser
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: pySmartDL, pyprind, pyjsparser, docopt, tzlocal, js2py, pipwin
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\pipwin.exe' -> 'C:\\Python312\\Scripts\\pipwin.exe.deleteme'

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0>
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pipwin install cairocffi
pipwin : The term 'pipwin' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ pipwin install cairocffi
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (pipwin:String) [], CommandNotFoundException

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pipinstall cairocffi
pipinstall : The term 'pipinstall' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ pipinstall cairocffi
+ ~~~~~~~~~~
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install cairocffi
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Requirement already satisfied: cairocffi in c:\python312\lib\site-packages (1.7.1)
Requirement already satisfied: cffi>=1.1.0 in c:\python312\lib\site-packages (from cairocffi) (1.17.1)
Requirement already satisfied: pycparser in c:\python312\lib\site-packages (from cffi>=1.1.0->cairocffi) (2.22)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install libcairo2
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
ERROR: Could not find a version that satisfies the requirement libcairo2 (from versions: none)
ERROR: No matching distribution found for libcairo2
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
  File "C:\Python312\Lib\site-packages\cairosvg\__init__.py", line 26, in <module>
    from . import surface  # noqa isort:skip
    ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\cairosvg\surface.py", line 9, in <module>
    import cairocffi as cairo
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 60, in <module>
    cairo = dlopen(
            ^^^^^^^
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 57, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'cairolibs\libcairo-2.dll': error 0x57.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'cairolibs\\libcairo-2.dll'
cannot load library 'libcairo.so.2': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'cairolibs\libcairo-2.dll': error 0x57
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> pip install cairo freetype libffi libjpeg libpng zlib                                                                                                          WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
ERROR: Could not find a version that satisfies the requirement cairo (from versions: none)
ERROR: No matching distribution found for cairo
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0> python main.py
Scratch2Python v0.8.0 running on windows
pygame 2.6.1 (SDL 2.28.4, Python 3.12.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\main.py", line 64, in <module>
    import sb3Unpacker
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\sb3Unpacker.py", line 12, in <module>
    import target, costume, sound, block, monitor  # , broadcast
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\block.py", line 15, in <module>
    from scratch import KEY_MAPPING
  File "C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0\scratch.py", line 9, in <module>
    import cairosvg
  File "C:\Python312\Lib\site-packages\cairosvg\__init__.py", line 26, in <module>
    from . import surface  # noqa isort:skip
    ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\site-packages\cairosvg\surface.py", line 9, in <module>
    import cairocffi as cairo
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 60, in <module>
    cairo = dlopen(
            ^^^^^^^
  File "C:\Python312\Lib\site-packages\cairocffi\__init__.py", line 57, in dlopen
    raise OSError(error_message)  # pragma: no cover
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: no library called "cairo-2" was found
no library called "cairo" was found
cannot load library 'cairolibs\libcairo-2.dll': error 0x57.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'cairolibs\\libcairo-2.dll'
cannot load library 'libcairo.so.2': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.so.2'
cannot load library 'libcairo.2.dylib': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'libcairo.2.dylib'
cannot load library 'cairolibs\libcairo-2.dll': error 0x57
PS C:\Users\mcmco\Downloads\Compressed\scratch2python-0.9.0>
Secret-chest commented 1 day ago

Install cairo

PatoFlamejanteTV commented 1 hour ago

Install cairo

WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
DEPRECATION: Loading egg at c:\python312\lib\site-packages\llamafactory-0.8.4.dev0-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting cairosvg
  Downloading CairoSVG-2.7.1-py3-none-any.whl.metadata (2.7 kB)
  Downloading cairocffi-1.7.1-py3-none-any.whl.metadata (3.3 kB)
Collecting cssselect2 (from cairosvg)
  Downloading cssselect2-0.7.0-py3-none-any.whl.metadata (2.9 kB)
Collecting defusedxml (from cairosvg)
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB)
Requirement already satisfied: pillow in c:\python312\lib\site-packages (from cairosvg) (10.4.0)
Collecting tinycss2 (from cairosvg)
  Downloading tinycss2-1.3.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: cffi>=1.1.0 in c:\python312\lib\site-packages (from cairocffi->cairosvg) (1.17.1)
Collecting webencodings (from cssselect2->cairosvg)
  Downloading webencodings-0.5.1-py2.py3-none-any.whl.metadata (2.1 kB)
Requirement already satisfied: pycparser in c:\python312\lib\site-packages (from cffi>=1.1.0->cairocffi->cairosvg) (2.22)
Downloading CairoSVG-2.7.1-py3-none-any.whl (43 kB)
Downloading cairocffi-1.7.1-py3-none-any.whl (75 kB)
Downloading cssselect2-0.7.0-py3-none-any.whl (15 kB)
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Downloading tinycss2-1.3.0-py3-none-any.whl (22 kB)
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
WARNING: Ignoring invalid distribution ~ (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~ip (C:\Python312\Lib\site-packages)
WARNING: Ignoring invalid distribution ~~p (C:\Python312\Lib\site-packages)
Installing collected packages: webencodings, tinycss2, defusedxml, cssselect2, cairocffi, cairosvg
ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\\Python312\\Scripts\\cairosvg.exe' -> 'C:\\Python312\\Scripts\\cairosvg.exe.deleteme'