mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-26 19:15:51 +03:00
[GH-ISSUE #2] Import error when trying to run git-sim #1
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Adricu8 on GitHub (Jan 22, 2023).
Original GitHub issue: https://github.com/initialcommit-com/git-sim/issues/2
I installed the package on a mac M1, following the required dependencies and no errors.
When running
git-sim -h:@initialcommit-io commented on GitHub (Jan 23, 2023):
Hi there,
This seems to be a known issue when installing Manim via Anaconda. Check out this link:
https://docs.manim.community/en/latest/faq/installation.html#i-am-using-anaconda-and-get-an-importerror-mentioning-that-some-symbol-is-not-found
"This is because Anaconda environments come with their own preinstalled version of cairo which is not compatible with the version of pycairo required by Manim. Usually it can be fixed by running:
conda install -c conda-forge pycairo
"
Can you try that and let me know if it works for you? Also I definitely recommend not using the system Python on Mac as it can lead to issues. Please make sure you're installing Git-Sim with a Pip that is linked to a Python installed through Homebrew. The Pyenv (https://github.com/pyenv/pyenv) tool might help with making sure the correct version of Python is active.
Let me know how it goes!
@initialcommit-io commented on GitHub (Jan 25, 2023):
@Adricu8 Any update on this?
@Adricu8 commented on GitHub (Jan 25, 2023):
Indeed, it was an issue with the anaconda install.
After running
conda install -c conda-forge pycairoit worked! Thank you 👍I will try with anaconda and without it, do you know why can anaconda lead to issues?
@initialcommit-io commented on GitHub (Jan 25, 2023):
Glad it worked! As I mentioned in the comment above, this is a Manim installation issue and what they said at the link I sent is:
"This is because Anaconda environments come with their own preinstalled version of cairo which is not compatible with the version of pycairo required by Manim."
I will close this since you got it working!
It would be great to get any feedback from you in the future about using Git-Sim. Have a great week!