Broken references in Virtualenvs

Broken references in Virtualenvs

problem

I recently installed a bunch of dotfiles on my Mac along with some other applications

dyld: Library not loaded: @executable_path/../.Python
  Referenced from: /Users/[user]/.virtualenvs/modclass/bin/python
  Reason: image not found
Trace/BPT trap: 5

solve

find ~/.virtualenvs/flask-env/ -type l -delete
python3 -m venv flask-env

https://stackoverflow.com/questions/23233252/broken-references-in-virtualenvs
https://docs.python.org/zh-cn/3/tutorial/venv.html

你可能感兴趣的:(python基础)