3b1b / 3b1b/manim

About solving : No Module Named colour error on Windows 10

Đang mở
#1,235 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
93.8k
Fork
7.7k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

Steps to reproduce the issue (e.g. the command you ran)
./manim.py example_scenes.py SquareToCircle -pl
The unexpected behavior that occurred (e.g. error messages or screenshots)
File "./manim.py", line 2, in
import manimlib
File "/Users//Desktop/math/manim/manimlib/init.py", line 2, in
import manimlib.config
File "/Users//Desktop/math/manim/manimlib/config.py", line 2, in
import colour
ImportError: No module named colour

i read everything i found when i search that error. To solve it firstly i remove python 2 then i opened the directory
python\Lib\site-packages\colour\
i deleted everything in it then i clone git repository
`cd ../`
`git clone https://github.com/vaab/colour.git`
`cd colour`
after that i tried
`python setup.py install`
i get that error :
Missing version information: running './autogen.sh'...
'bash' is not recognized as an internal or external command,
operable program or batch file.
It seems that ``./autogen.sh`` couldn't do its job as expected.
Please try to launch ``./autogen.sh`` manualy, and send the results to the
maintainer of this package.
Package will not be installed !

after that
`autogen.sh`
and try again
`python setup.py install`

installed and i tried example it worked

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.