New issue 3147: venv non ascii support - Windows https://bitbucket.org/pypy/pypy/issues/3147/venv-non-ascii-support-windows
Bernat Gabor: Seems to create a venv into a path that has non ascii char \(`è` is mcsb encode-able so valid in file paths even when one does not use utf-8 filepaths\) name in just does not work: ``` PS C:\Users\traveler\git\virtualenv> pypy3.exe -m venv 'envè' --without-pip Error: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\traveler\\git\\virtualenv\\envè\\Scripts' ``` Furthermore, if one creates and moves into a folder containing a such character the venv site-package is no longer added to sys.path \(the error is silently ignored\): ``` PS C:\Users\traveler\git\virtualenv> pypy3.exe -m venv env --without-pip PS C:\Users\traveler\git\virtualenv> mkdir env/site-packages PS C:\Users\traveler\git\virtualenv> ./env/Scripts/pypy3.exe -c 'import sys; print(\"\n\".join(sys.path))' C:\pypy\pypy3.6-v7.3.0-win32\lib_pypy\__extensions__ C:\pypy\pypy3.6-v7.3.0-win32\lib_pypy C:\pypy\pypy3.6-v7.3.0-win32\lib-python\3 C:\pypy\pypy3.6-v7.3.0-win32\lib-python\3\lib-tk C:\Users\traveler\git\virtualenv\env\site-packages PS C:\Users\traveler\git\virtualenv> mv env envè PS C:\Users\traveler\git\virtualenv> ./envè/Scripts/pypy3.exe -c 'import sys; print(\"\n\".join(sys.path))' C:\pypy\pypy3.6-v7.3.0-win32\lib_pypy\__extensions__ C:\pypy\pypy3.6-v7.3.0-win32\lib_pypy C:\pypy\pypy3.6-v7.3.0-win32\lib-python\3 C:\pypy\pypy3.6-v7.3.0-win32\lib-python\3\lib-tk C:\pypy\pypy3.6-v7.3.0-win32\site-packages ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue