Python Forum
PyInstaller on Mac ... does not work easily?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyInstaller on Mac ... does not work easily?
#3
python 3.9

will have a look at what you are saying ... thanks!

(Nov-19-2020, 03:06 PM)snippsat Wrote: What version of Python are you running,the path look a little strange.
Look at The right and wrong way to set Python 3 as default on a Mac
So recently pyinstaller is now also updated for Python 3.9.

Should not need to run pyinstaller as sudo.
Not sure on permissions setup Mac,can make a virtual environment(build into python) that should fix permissions issues.

Quick demo.
tom@tom-VirtualBox:~$ python -V
Python 3.8.5
tom@tom-VirtualBox:~$ pip -V
pip 20.2.3 from /home/tom/.pyenv/versions/3.8.5/lib/python3.8/site-packages/pip (python 3.8)

# Make 
tom@tom-VirtualBox:~$ python -m venv py_env

# cd in
tom@tom-VirtualBox:~$ cd py_env

# Activate 
tom@tom-VirtualBox:~/py_env$ source bin/activate

# Install
(py_env) tom@tom-VirtualBox:~/py_env$ pip install pyinstaller
Collecting pyinstaller
  Downloading pyinstaller-4.1.tar.gz (3.5 MB) .....
  
Successfully installed altgraph-0.17 pyinstaller-4.1 pyinstaller-hooks-contrib-2020.10

# Now will pyisntaller run from this folder
(py_env) tom@tom-VirtualBox:~/py_env$ which pyinstaller
/home/tom/py_env/bin/pyinstaller
Reply


Messages In This Thread
RE: PyInstaller on Mac ... does not work easily? - by mu234 - Nov-20-2020, 10:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to easily create a list of already existing item CompleteNewb 15 3,680 Jan-06-2022, 12:48 AM
Last Post: CompleteNewb

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020