3b1b / 3b1b/manim

Unable to run manim from Spyder

Offen
#933 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
93.8k
Forks
7.7k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

Hello everyone,
I'm pretty new to Python and neither had to set up different environments nor install a package (or something for it) outside of Anaconda or without the simple conda install command.
As stated, I use Anaconda 3 and usually work with Spyder 4 on Windows 10 Pro 64 Bit.
I somehow successfully installed the manim package and set up a manim environment by partially following a YT video and the instructions on this git.
I have the following problems:
1. I can't setup a terminal in Spyder with my manim env. I guess Spyder can't find my virtualenv?
2. I can choose the manim env in VSCode and successfully render the example_scenes but only if I go to my manim directory from the terminal first which is okay but I don't know if that's the only way or if I set up something wrong (I'm not used to be forced to do that, is there a way to import manim and call the methods like I'm used to independent of the directory of my terminal)? I'm just a simple engineer and I honestly have no clue how complex software works in the background, I only know how to run my math stuff..As I said it's currently working (just from VSCode) but I'm wondering if it is possible to get it to my usual workflow (running the manim env in Spyder and especially calling manim methods without going to the directory with cd \.. commands first).
I'd appreciate a helping hand a lot and thanks a lot to this amazing community in advance.

Sincerely

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

The issue describes problems with running manim from Spyder and VSCode, specifically with environment setup and directory dependencies. Start by examining the manim installation and environment configuration on Windows. Look at how manim is invoked from the command line versus within an IDE. Check the manim package entry points and how Python paths are resolved. 'Done' means the user can run manim from Spyder without manually changing directories and can import manim methods directly in their scripts.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
developer-experience
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.