Open bankel opened 5 years ago
(venv) lyf@lyf paintweb % python3 www/app.py dyld: Library not loaded: /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Python Referenced from: /Users/lyf/PycharmProjects/paintweb/venv/bin/python3 Reason: image not found
virtualenv -p python3 envname
Update after OP's edit:
There was a bug in the OP's version of virtualenv, as described here. The problem was fixed by running:
pip install --upgrade virtualenv
https://stackoverflow.com/questions/23842713/using-python-3-in-virtualenv
(venv) lyf@lyf paintweb % python3 www/app.py dyld: Library not loaded: /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/Python Referenced from: /Users/lyf/PycharmProjects/paintweb/venv/bin/python3 Reason: image not found
Update after OP's edit:
There was a bug in the OP's version of virtualenv, as described here. The problem was fixed by running:
https://stackoverflow.com/questions/23842713/using-python-3-in-virtualenv