Giter Club home page Giter Club logo

Comments (2)

uwezi avatar uwezi commented on June 1, 2024

It's a Python package which is used by Manim and is not automatically pre-installed in some versions of Python.
It should be easily installable by using the following command on the terminal:
pip install setuptools

from manim.

emima94 avatar emima94 commented on June 1, 2024

Okay - after closing the terminal and opening a new terminal window, apparently it worked :p

I am trying to install Manim community edition on my Mac (Apple M2 Pro chip). I have followed the guide for installation https://docs.manim.community/en/stable/installation/macos.html but I get the same error when running

manim -pql scene.py CreateCircle
in the terminal i get

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/bin/manim", line 5, in <module> from manim.__main__ import main File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/manim/__init__.py", line 6, in <module> import pkg_resources ModuleNotFoundError: No module named 'pkg_resources'

It looks like the module 'pkg_resources' is not found. I have tried to run:

pip3 install setuptools

and setuptools is also seen in pip3 list:

Package Version


certifi 2023.11.17
charset-normalizer 3.3.2
click 8.1.7
click-default-group 1.2.4
cloup 2.1.2
Cython 3.0.8
decorator 5.1.1
glcontext 2.5.0
idna 3.6
isosurfaces 0.1.0
manim 0.18.0
ManimPango 0.5.0
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
mdurl 0.1.2
moderngl 5.10.0
moderngl-window 2.4.4
multipledispatch 1.0.0
networkx 3.2.1
numpy 1.26.3
Pillow 9.5.0
pip 23.3.2
pybind11 2.11.1
pycairo 1.25.1
pydub 0.25.1
pyglet 2.0.10
Pygments 2.17.2
pyobjc-core 10.1
pyobjc-framework-Cocoa 10.1
pyrr 0.10.3
requests 2.31.0
rich 13.7.0
scipy 1.12.0
screeninfo 0.8.1
setuptools 69.0.3
skia-pathops 0.7.4
srt 3.5.3
svgelements 1.9.6
tqdm 4.66.1
typing_extensions 4.9.0
urllib3 2.1.0
watchdog 3.0.0
wheel 0.42.0

When I run pip3 -VI get
pip 23.3.2 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)

which is also what I am supposed to get according to the installation tutorial note.

Thx for your help :)

from manim.

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.