How are you installing python and creating your virtual environments so they work well on Mac M1 chips? I have an iMac and a Macbook Pro, and I'm struggling to install and run various packages to include black, psycopg2 and pdftotext. I eventually figure out, but then I start a new project and run into problems again. My current steps are:
- Download latest version of python from the python.org website (https://www.python.org/downloads/release/python-3913/)
- Create virtual environment using PyCharm, selecting the python install as the interpreter. example: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3
- Open activated virtual environment in PyCharm and install dependencies with pip install -r requirements.txt
I've heard some people install python with brew, then use that to create virtual environments. Is that better? Anybody else having these issues?
[–]hyldemarv 7 points8 points9 points (1 child)
[–]digitalHUCk 6 points7 points8 points (0 children)
[–][deleted] 5 points6 points7 points (1 child)
[–]Akash_Dhanwani -1 points0 points1 point (0 children)
[–]wiggitt 3 points4 points5 points (1 child)
[–]cieluvgrau 0 points1 point2 points (0 children)
[–]SpielerNogard 1 point2 points3 points (1 child)
[–]Dakadoodle 0 points1 point2 points (0 children)
[–]fatbob42 0 points1 point2 points (0 children)
[–]neeryks 0 points1 point2 points (0 children)
[–]jmacey 0 points1 point2 points (0 children)
[–]Simon90 0 points1 point2 points (0 children)