Closed NiklasRosenstein closed 5 years ago
I just tried installing virtualenv to the Python installation that I passed via -p
, but I get the same error. It seems to be a problem with Python 2.6?
No the problem is the .framework
in the path. See L1351-L1364.
Please take a look at my fix at https://github.com/NiklasRosenstein/virtualenv/commit/b3c5b58cf7c95bb093a6d70070e2ad2d7fed8237. I simply initialized original_python
with None, and if it is still None after the 'EDP'
and 'Python.framework'
things are checked, the code below is not executed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.
When I use the
-p
option, I getUnboundLocalError: local variable 'original_python' referenced before assignment
The referenced Python version is 2.6.4, using virtualenv 12.1.1