[issue38705] venv creation on macOS Catalina is failing

2020-10-26 Thread Nikhil Benesch
Nikhil Benesch added the comment: So it looks like /usr/bin/python3 is just a shim that immediately execs the real Python binary: /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3 This binary is identical to the one that ends up in

[issue38705] venv creation on macOS Catalina is failing

2020-10-26 Thread Nikhil Benesch
Nikhil Benesch added the comment: Oops, sorry, I forgot to actually include the correct command in the workaround. Here it is: $ /usr/bin/python3 -c 'import venv; venv.create("venv2", symlinks=True);' -- ___ Python tracker

[issue38705] venv creation on macOS Catalina is failing

2020-10-26 Thread Nikhil Benesch
Nikhil Benesch added the comment: This issue continues to exist with the system Python on macOS. Here is how to reproduce on macOS Catalina 10.15.7 and Xcode 12.1. $ /usr/bin/python3 --version Python 3.8.2 $ /usr/bin/python3 -c 'import venv; venv.create("venv");' $ venv/bin/python3 dyld:

[issue38705] venv creation on macOS Catalina is failing

2019-11-05 Thread Ned Deily
Change by Ned Deily : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38705] venv creation on macOS Catalina is failing

2019-11-05 Thread Den Delimarsky
Den Delimarsky added the comment: @ned.deily actually you bring up a very good point, I did not notice that it was using the default Catalina Python 3 install. I've chatted with @brett.cannon about this earlier and it seemed like the issue was in that the Python version I was using is no

[issue38705] venv creation on macOS Catalina is failing

2019-11-05 Thread Ned Deily
Ned Deily added the comment: Thanks for the report but without a supplying a reproducible test case it's really difficult to say what issue you might be seeing. FWIW, I was not able to reproduce a failure but I was just guessing what your project code really does. Also be aware that you

[issue38705] venv creation on macOS Catalina is failing

2019-11-05 Thread Den Delimarsky
Den Delimarsky added the comment: Should also mention that this is working as expected in Python 3.8.0 -- ___ Python tracker ___

[issue38705] venv creation on macOS Catalina is failing

2019-11-05 Thread Den Delimarsky
New submission from Den Delimarsky : I have a project, where I am working inside a virtual environment (on macOS Catalina). Inside said project, I am attempting to create a new virtual environment with: venv.create(virtual_environment_directory, with_pip=True) This, however, errors out: