1
I am trying to create a virtualenv in windows but am getting the following error:
line = line.decode(fs_encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe3 in position 283: invalid continuation byte
I am using python version 3.8. I have created a folder called virtualenv for my projects.
By Powershell I am using the following command: virtualenv vir --no-site-packages
Because it’s a machine from where I work, it uses proxy, but I don’t think that’s it.
I was having this same problem, I renamed the file
C:\Windows\System32\Drivers\etc\hosts
and surrounded thepowershell
as administrator and worked, but still not sure what caused and what solved the failure...– Anderson Anizio
Sorry, I don’t understand. You renamed which file and to which name?
– hidantachi