>

자습서의 지침을 따르고 있습니다 ( https://talkingphysics.wordpress.com/2018/06/11/learning-how-to-animate-videos-using-manim-series-a-journey/ )하지만 입력 할 때

(manim37) C:\Users\PaKo>python3 C:\Users\PaKo\Desktop\Python\3blue_1brown\manim-master\extract_scene.py C:\Users\PaKo\Desktop\Python\3blue_1brown\manim-master\example_scenes.py
SquareToCircle -pl

다음을 얻습니다 : (python 3.7에서 일하고 있습니다)

Traceback (most recent call last):
File "C:\Users\PaKo\Desktop\Python\3blue_1brown\manim-master\extract_scene.py", line 299, in
main()
File "C:\Users\PaKo\Desktop\Python\3blue_1brown\manim-master\extract_scene.py", line 259, in main
module = get_module(config["file"])
File "C:\Users\PaKo\Desktop\Python\3blue_1brown\manim-master\extract_scene.py", line 254, in get_module
return importlib.import_module(module_name)
File "C:\Users\PaKo\Anaconda2\envs\manim36\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 941, in _find_and_load_unlocked
File "< frozen importlib._bootstrap >", line 219, in _call_with_frames_removed
File "< frozen importlib._bootstrap >", line 994, in _gcd_import
File "< frozen importlib._bootstrap >", line 971, in _find_and_load
File "< frozen importlib._bootstrap >", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'C:'

동영상을 시각화 할 수 있도록이 문제를 해결하도록 도와 줄 수 있습니까? 미리 감사드립니다.

  • 답변 # 1

    당신이 말하고있는 튜토리얼은 게시물에서 몇 달 전에 게시되었으며, 공지 사항이 있습니다 :

    Important Note:  These posts are based on an earlier version of manim which uses Python 2.7.  
    The latest version of manim is using Python 3.  
    To follow along with these posts, use Python 2.7 and the May 9, 2018 commit of manim.
    
    

    오래된 구식 명령에 대해 높은 가능성을 제시했습니다.

    지금까지 문제를 아직 해결하지 않았을 가능성이 있지만 후손을 위해 다음 질문에 답변하려고합니다.

    manim을 올바르게 설치했다면 아마도 잘못된 명령을 입력했을 것입니다. manim 실행 명령이 변경되었으므로 cd 를 권장합니다. manim 설치 디렉토리 ( manim-master )에 -ing  github에서 다운로드하고 실행중인 경우 :

    python -m manim example_scenes.py SquareToCircle -pl 이전에 입력 한 내용 대신

    python2를 실행하는 동안 python3 버전의 manim을 설치했을 수도 있습니다. python3 사용해보기   python 대신  대신에이 경우

  • 이전 gremlin - amazon neptune - 노드 속성
  • 다음 machine learning - 패턴과 일치하도록 안드로이드 센서 (가속도계) 데이터 세트를 저장하고 비교