-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with Cairo #661
Comments
Try with this |
This don't work I'm tried to install again and have this mesaage
but i try to run the code and have the same error
|
I see what the error is, you are using a virtual environment (I guess it is virtualenv), in your first comment you were not using it. First comment:
Second comment:
If you are going to use a virtual environment you must reinstall all the python packages with pip. In your case:
|
Yes, I'm using Visual Studio Code. I ran these codes and tried again and terminal showed this
|
You forgot the 3 in python:
|
Oh! yes i looked this. It's my first time with Python but I uninstall all and try to reinstall again but the problem hold. A friend suggest me that this can be a problem with the path of the modules or something related but i don't kwno how solve this. I tried again and have this
|
The problem is that I do not know if you are trying to install it in the main version of python or in a virtual environment, the last comment you are no longer in virtualenv:
You are no longer in the environment
|
Try this, go to manimlib/camera/camera.py line 9 in your manim-master folder and replace that line with |
I tried this but i have another problem Tests-MacBook-Pro:manim-master test$ python3 -m manim example_scenes.py WarpSquare -pl
and in problems window have this |
I forgot to tell you that you had to install
And reboot. |
Also check this. |
Hi! I solve this problem with this code
and install pycairo
Thanks for your help! |
Hi, Im tried to install in mi macbook pro computed with Windows 10 and i complete this but when i tried the example i have this error C:\Users\57316\Documents\GitHub\manim>python -m example_scenes.py |
pip install pycairo Command "C:\Users\57316\AppData\Local\Continuum\anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\57316\AppData\Local\Temp\pip-install-9b0fel7m\pycairo\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\57316\AppData\Local\Temp\pip-record-wvs_qfw6\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\57316\AppData\Local\Temp\pip-install-9b0fel7m\pycairo\ |
I faced the same error when installing pycario, do I have to install cairocffi first? |
* graph_scene: correct placement of labels * Update test reference data * Add test for axes and their labels * black * removing commented lines for generation of reference data Co-authored-by: Leo Torres <[email protected]> * black * do not shift labels onto screen if user wants the label above the y axis, it should go there, even if there is not enough space. they can still choose another placement * updated test and reference data for test_axes Co-authored-by: Leo Torres <[email protected]>
I ran the following line in the terminal of VS Code and then restarted VS Code. Worked for me!
|
Hi, Im tried to install in mi macbook pro computed with MacOS Mojave and i complete this but when i tried the example i have this error
The text was updated successfully, but these errors were encountered: