0

I am running macOS High Sierra.

I have a .pkg installer. Using Packages I cannot add shell scripts without permission issues, so I used Automator to wrap the package and run some commands before and after installation. I want this shell script, run from Automator, to install Python 3, as it is a dependency of the application I am trying to install. The most commonly suggested option is to use Homebrew, but since this application will be installed on accounts without admin permissions, I can't do that. For reference, I don't need Python 3 installed system-wide (though that would be nice), just for it to run my application. Last thing - I tried rewriting the Python 3 code in Python 2 since that runs natively in macOS but for some reason I find "no matching distributions" when using pip to install the packages I need, all of which definitely have Python 2.7 support.

TL;DR: Is there a way to install Python 3 in such a way that it requires no user input and no admin permissions?

Mohana Rao
  • 881
  • 5
  • 19
101arrowz
  • 1,825
  • 7
  • 15
  • 1
    *"Is there a way to install Python 3 in such a way that it requires no user input and no admin permissions"* I certainly hope the answer is **"no"** – DeepSpace Jan 17 '19 at 20:42
  • Possible duplicate of [How to install Python using Windows Command Prompt](https://stackoverflow.com/questions/46056161/how-to-install-python-using-windows-command-prompt) – Mark Tolonen Jan 18 '19 at 16:56

1 Answers1

0

I was able to do a full install on raspbian. There are ways you can do it on windows too. This might help:

Aftab22
  • 550
  • 6
  • 8