Skip to content

cannot install on Python 3.8, 3.9, 3.10, 3.11 on macOS #201

Open
@glyph

Description

A log of the process from 3.13, 3.12, and 3.11; all lower versions look like 3.11.

 ↪ Thu Sep 19 11:52:23 PDT 2024 (★ clear) (1 seconds elapsed)                                                      
glyph@arabella:~  🐚 🔑   ⮐
  ★ mktmpenv -p python3.13
 ↩ Thu Sep 19 11:52:29 PDT 2024
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-713b143ec48affd/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-713b143ec48affd/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-713b143ec48affd/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-713b143ec48affd/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-713b143ec48affd/bin/get_env_details
This is a temporary environment. It will be deleted when you run 'deactivate'.
 ↪ Thu Sep 19 11:52:30 PDT 2024 (★ mktmpenv -p python3.13) (1 seconds elapsed)                                     
glyph@arabella:~  🏰 tmp-713b143ec48affd  🐚 🔑   ⮐
  ★ pip install brotlipy
 ↩ Thu Sep 19 11:52:35 PDT 2024
Looking in indexes: http://127.0.0.1:3141/root/plus/+simple/
Collecting brotlipy
  Using cached brotlipy-0.7.0-cp313-cp313-macosx_10_13_universal2.whl
Collecting cffi>=1.0.0 (from brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/098/4a4925a435b1d/cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl (178 kB)
Collecting pycparser (from cffi>=1.0.0->brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/c37/02b6d3dd8c7ab/pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, cffi, brotlipy
Successfully installed brotlipy-0.7.0 cffi-1.17.1 pycparser-2.22
 ↪ Thu Sep 19 11:52:36 PDT 2024 (★ pip install brotlipy) (1 seconds elapsed)                                       
glyph@arabella:~  🏰 tmp-713b143ec48affd  🐚 🔑   ⮐
  ★ deactivate 
 ↩ Thu Sep 19 11:52:38 PDT 2024
Removing temporary environment: tmp-713b143ec48affd
Removing tmp-713b143ec48affd...
 ↪ Thu Sep 19 11:52:39 PDT 2024 (★ deactivate) (1 seconds elapsed)                                                 
glyph@arabella:~  🐚 🔑   ⮐
  ★ mktmpenv -p python3.12
 ↩ Thu Sep 19 11:52:44 PDT 2024
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-eb3293cafc81ff3/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-eb3293cafc81ff3/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-eb3293cafc81ff3/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-eb3293cafc81ff3/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-eb3293cafc81ff3/bin/get_env_details
This is a temporary environment. It will be deleted when you run 'deactivate'.
 ↪ Thu Sep 19 11:52:45 PDT 2024 (★ mktmpenv -p python3.12) (1 seconds elapsed)                                     
glyph@arabella:~  🏰 tmp-eb3293cafc81ff3  🐚 🔑   ⮐
  ★ pip install brotlipy  
 ↩ Thu Sep 19 11:52:48 PDT 2024
Looking in indexes: http://127.0.0.1:3141/root/plus/+simple/
Collecting brotlipy
  Using cached brotlipy-0.7.0-cp312-cp312-macosx_10_9_universal2.whl
Collecting cffi>=1.0.0 (from brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/733/e99bc2df47476/cffi-1.17.1-cp312-cp312-macosx_11_0_arm64.whl (178 kB)
Collecting pycparser (from cffi>=1.0.0->brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/c37/02b6d3dd8c7ab/pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, cffi, brotlipy
Successfully installed brotlipy-0.7.0 cffi-1.17.1 pycparser-2.22
 ↪ Thu Sep 19 11:52:49 PDT 2024 (★ pip install brotlipy) (1 seconds elapsed)                                       
glyph@arabella:~  🏰 tmp-eb3293cafc81ff3  🐚 🔑   ⮐
  ★ mktmpenv -p python3.11
 ↩ Thu Sep 19 11:52:58 PDT 2024
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-76ec862361048ed/bin/predeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-76ec862361048ed/bin/postdeactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-76ec862361048ed/bin/preactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-76ec862361048ed/bin/postactivate
virtualenvwrapper.user_scripts creating /Users/glyph/.virtualenvs/tmp-76ec862361048ed/bin/get_env_details
Removing temporary environment: tmp-eb3293cafc81ff3
Removing tmp-eb3293cafc81ff3...
This is a temporary environment. It will be deleted when you run 'deactivate'.
 ↪ Thu Sep 19 11:52:59 PDT 2024 (★ mktmpenv -p python3.11) (1 seconds elapsed)                                     
glyph@arabella:~  🏰 tmp-76ec862361048ed  🐚 🔑   ⮐
  ★ pip install brotlipy  
 ↩ Thu Sep 19 11:53:01 PDT 2024
Looking in indexes: http://127.0.0.1:3141/root/plus/+simple/
Collecting brotlipy
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/36d/ef0b859beaf21/brotlipy-0.7.0.tar.gz (413 kB)
  Preparing metadata (setup.py) ... done
Collecting cffi>=1.0.0 (from brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/30c/5e0cb5ae493c0/cffi-1.17.1-cp311-cp311-macosx_11_0_arm64.whl (178 kB)
Collecting pycparser (from cffi>=1.0.0->brotlipy)
  Downloading http://127.0.0.1:3141/root/pypi/%2Bf/c37/02b6d3dd8c7ab/pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: brotlipy
  Building wheel for brotlipy (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      /Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py:88: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/setup.py", line 9, in <module>
          setup(
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 110, in setup
          _install_setup_requires(attrs)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 83, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 88, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/dist.py", line 615, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 890, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 926, in _resolve_dist
          dist = best[req.key] = env.best_match(
                                 ^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1256, in best_match
          return self.obtain(req, installer)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1292, in obtain
          return installer(requirement) if installer else None
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
          wheel.install_as_egg(dist_location)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 122, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 130, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 175, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/cffi-1.17.1.dist-info' -> '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for brotlipy
  Running setup.py clean for brotlipy
  error: subprocess-exited-with-error
  
  × python setup.py clean did not run successfully.
  │ exit code: 1
  ╰─> [48 lines of output]
      /Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py:88: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/setup.py", line 9, in <module>
          setup(
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 110, in setup
          _install_setup_requires(attrs)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 83, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/__init__.py", line 88, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/dist.py", line 615, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 890, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 926, in _resolve_dist
          dist = best[req.key] = env.best_match(
                                 ^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1256, in best_match
          return self.obtain(req, installer)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1292, in obtain
          return installer(requirement) if installer else None
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/installer.py", line 107, in _fetch_build_egg_no_warn
          wheel.install_as_egg(dist_location)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 122, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 130, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/glyph/.virtualenvs/tmp-76ec862361048ed/lib/python3.11/site-packages/setuptools/wheel.py", line 175, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/cffi-1.17.1.dist-info' -> '/private/var/folders/yl/ndrrqv712fs02p5sdtxhml7h0000gn/T/pip-install-eg6osp5g/brotlipy_0f5c7469ab0142fab4bd5eacb492d28d/.eggs/cffi-1.17.1-py3.11-macosx-10.9-universal2.egg/EGG-INFO'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for brotlipy
Failed to build brotlipy
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (brotlipy)
 ↪ Thu Sep 19 11:53:05 PDT 2024 (★ pip install brotlipy) (4 seconds elapsed)                                       
glyph@arabella:~  🏰 tmp-76ec862361048ed  🐚 🔑   🛑 1  ⮐
  ★ 

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions