I am trying to distribute a Python script of mine using PyInstaller on MacOSX. I am trying to use PyInstaller with the packages installed on my virtual environment using Python's innate venv package.
My virtual environment directory is named venv in this instance.
I am following PyInstaller's instructions to do so, found here: https://pythonhosted.org/PyInstaller/usage.html
However, when I run
./venv/bin pyinstaller <SCRIPTNAME> --onefile
The command prompt spits out this error:
zsh: permission denied: ./venv/bin
The only other examples of my problem occurred with users who altered their permissions prior to the problem arising, not when dealing with virtual environments, so I haven't been able to find a proper solution for my case.
Am I using PyInstaller with the venv incorrectly, or how do I give myself the permission needed to run the correct command?
Hmm where you able to do
source bin/activate
This is required in order to add that source into the permissions lists as +x in your venv.
For more information please refer to [1]
Hope this helps
[1] https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/