Denish Patel
Denish Patel

Reputation: 11

How to fix error in installing pyinstaller on mac?

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?

enter image description here

Upvotes: 1

Views: 1389

Answers (3)

kiyatrowes
kiyatrowes

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

Joshua Kim
Joshua Kim

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

redhatvicky
redhatvicky

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

Related Questions