-
Notifications
You must be signed in to change notification settings - Fork 1
macOS dev setup for Python
Before following the instructions below, make sure that you haven't already installed some other package manager than Homebrew in the past. The most likely candidate is MacPorts. To check for this, run port installed
in the 'Terminal' application. You should get a 'command not found' error. If not, you have to decide whether you need to continue to use MacPorts or not, based on the list of installed 'ports' it provides. If not, follow MacPort's uninstall instructions. If yes, consider uninstalling MacPorts and reinstalling the needed packages with Homebrew. It is highly recommended, especially because it does not need administrative privileges.
We recommend to follow the instructions of "The Hitchhiker's Guide to Python" (which is a very recommendable resource overall) to install Python on macOS. However, it might, at some point, have outdated installations instructions for Homebrew, so make sure to follow the instructions by the creators of Homebrew if they diverge.
We also recommend highly to install and use
-
pyenv, to be able to use different Python versions in different projects
- for M1-based Macs the pyenv-installer installation seems to work better than the installation via Homebrew
- Pipenv, to be able to separate Python package dependencies in different projects.
For the latter, the Homebrew installation might be the easiest, despite the caveats mentioned by the Pipenv creators, especially in combination with a Homebrew-installed pyenv.
This Wiki is curated by the Social Media Observatory, which is hosted by the Leibniz Institute for Media Research | Hans-Bredow-Institut and supported by the Research Institute Social Cohesion. A pretty version can be found here.
- Instagram-Tools
- Twitter-Tools
- Wikipedia-Tools
- Facebook-Tools
- YouTube-Tools
- Telegram-Tools
- Smaller Platform Tools
- Cross-Platform Tools
- General News Scrapers
- Secure Storage and Archiving
- Data Anonymization Tools
- Data Publishing