- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | Jac0 |
|---|---|
| Recipients | Jac0 |
| Date | 2017-12-22.10:36:15 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1513938975.69.0.213398074469.issue32409@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
Let's say I have a folder c:\test-ä in Windows Now if I run: py -m venv env and activate: env\scripts\activate and check: where python the result is incorrectly just: C:\Users\Username\AppData\Local\Programs\Python\Python36\python.exe If I run: path the result is: PATH=C:\test-├ñ\env\Scripts;... So clearly the encoding is broken for the folder name. I can fix this by changing activate.bat character encoding to OEM-US and then replacing "test-├ż" by "test-ä". If I now activate and run: where python the result is (as should be): C:\test-ä\env\Scripts\python.exe C:\Users\Username\AppData\Local\Programs\Python\Python36\python.exe By running: path I get: PATH=C:\test-ä\env\Scripts;... So looks good here as well. I suggest that what ever is creating activate.bat file, is using incorrect character encoding for the creation of the file. If this is somehow platform specific, there could be a guide in the venv documentation about how to fix this. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-12-22 10:36:15 | Jac0 | set | recipients: + Jac0 |
| 2017-12-22 10:36:15 | Jac0 | set | messageid: <1513938975.69.0.213398074469.issue32409@psf.upfronthosting.co.za> |
| 2017-12-22 10:36:15 | Jac0 | link | issue32409 messages |
| 2017-12-22 10:36:15 | Jac0 | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
