Reputation: 11
When I am trying to install pyinstaller
for converting python project to an executable file, I am getting an error related to altgraph
. I don't know what is the problem?
Upvotes: 1
Views: 1389
Reputation: 21
Try with
pip3 install pyinstaller
and remember using pyInstaller
command to convert to an executable file instead of pyinstaller
command.
Hope it helps.
Upvotes: 1
Reputation: 53
Pretty late but I had the exact same issue on macOS Sierra. I fixed it by calling
pip install pyinstaller --user
Solved everything.
Upvotes: 2
Reputation: 1930
Seems similar to the issue ,
https://github.com/mikepurvis/ros-install-osx/issues/11
Try the below snippet
#!/bin/bash
for i in $( pip freeze ); do
sudo pip uninstall -y $i
done
Upvotes: 1