![]() ![]() Q: Does using Miniconda/Anaconda fit into this (specifically point 3?) It looks like Anaconda would need me to install packages from Conda and so it replaces MacPorts instead of working with it. The ports are built to use MacPort’s installation of Python. Presently, that means you would have multiple installations of Python (the one Apple includes, and the one you install with MacPorts). Python is not part of XCode so MacPorts will install it (if needed). MacPorts installs everything in a dedicated directory structure, and it will install everything except software that is included in the XCode command line tools. Q: How do I ensure that packages/scripts that need Python 3 have access to it without making changes to the macOS PythonĪ: When you install a “port” (a package), the port will specify what it needs and MacPorts will install it automatically. However, if you ‘sudo install python3’ (instead of python37) I would guess that it would upgrade in the manner you describe. Q: will this upgrade Python 3.7 to 3.8/further versionsĪ: I’m not sure, but I would guess not. Q: I take it that ports can be updated via sudo port upgrade outdated ![]() Q: Is installing Python on MacPorts as simple as running sudo port install python37 ? You don’t need the full-blown XCode development environment. I assume you know that MacPorts requires Xcode’s command line tools, which are free from Apple. I’ll do my best to answer, however 1) I don’t have access to my Mac right now, and 2) I don’t use Python, so you may have to validate what I say. This is a lot to ask so please feel free to ignore bits of it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |