4/3/2023 0 Comments How to run python in mac# you can also use my shortcut from ~/.profile (see link to file above) Mkvirtualenv -python= $(which python3 ) project_name Then run next command to make this directory writable: It happens that permissions on some files and directories broken after upgrade to newer version of macOS. Repair disk permissions with Disk Utility. Find it by the name fix_virtualenv Bad file permissions Use it like this fix_virtualenv and it will auto-fix your python version by replacing a broken links to an actual version of python.įind the snippet in my gist. I've created an alias that is easy to use every time when you upgrade the python version via homebrew, and your virtusl env becomes not working. How to fix a broken virtual env after python version upgrade? Known problems Virtual env stopped work when I upgraded python via homebrew
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |