Python 3.7 - activate venv error Parameter format not correct 65001 WINDOWS

I currently had the same issue. Please check this page here and this bug report.

The issue can be solved by modifying the codepage grep of activate.bat: for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do (...

Just add the "." after "delims=:" in your activate.bat file. That worked for me.


I have had the same Issue. It only happened in Powershell. Windows CMD worked just fine. And use activate.bat and not activate (without bat). I hope this helps.