Code Monkey home page Code Monkey logo

Comments (5)

robhagemans avatar robhagemans commented on May 17, 2024

That's really weird, that doesn't happen on my side (Linux install) so I can't really debug it. From the traceback it appears to be an issue in Python's own importlib. How was Python installed on that Mac and which version is it?

from monobit.

robhagemans avatar robhagemans commented on May 17, 2024

Seems to happen in Python 3.9 only (3.10 and 3.11 work fine). It is still odd, importlib.resources is supposed to work for Python 3.9

from monobit.

robhagemans avatar robhagemans commented on May 17, 2024

OK, I've got a fix that works for me locally on python 3.9. I'll update the release later today

from monobit.

robhagemans avatar robhagemans commented on May 17, 2024

Fixed with commit dda80e1. For reference, the issue was that Python 3.9 requires a __init__.py file in every directory travered by files(...).iterdir(), whereas 3.10 and above do not.

Thanks for reporting!

from monobit.

Moogie237 avatar Moogie237 commented on May 17, 2024

Thanks! I just installed python 3.10, seems to work for me there.

from monobit.

Related Issues (18)

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.