Git Product home page Git Product logo

Comments (1)

mauritsvanrees avatar mauritsvanrees commented on July 17, 2024

There were also problems installing charset-normalizer on all Python versions, for example this run:

Getting distribution for 'charset-normalizer==3.3.2'.
root: Downloading https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl#sha256=0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8
While:
  Installing.
  Loading extensions.
  Getting distribution for 'charset-normalizer==3.3.2'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/buildout.py", line 2252, in main
    getattr(buildout, command)(args)
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/buildout.py", line 697, in install
    self._load_extensions()
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1231, in _load_extensions
    zc.buildout.easy_install.install(
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 971, in install
    return installer.install(specs, working_set)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 744, in install
    for dist in self._get_dist(req, ws):
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 581, in _get_dist
    dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/zc/buildout/easy_install.py", line 1948, in _move_to_eggs_dir_and_compile
    assert newdist is not None  # newloc above is missing our dist?!
           ^^^^^^^^^^^^^^^^^^^
AssertionError

The root problem is likely described here in buildout, two years ago:
buildout/buildout#609 (comment)
Something with universal2 wheels, and Buildout not converting this correctly to an egg.

I "fix" this with a workaround that helped before:

    export _PYTHON_HOST_PLATFORM="macosx-11-x86_64"

from buildout.coredev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.