Error creating Virtualenv on Windows

Asked

Viewed 37 times

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.

inserir a descrição da imagem aqui

  • I was having this same problem, I renamed the file C:\Windows\System32\Drivers\etc\hosts and surrounded the powershell as administrator and worked, but still not sure what caused and what solved the failure...

  • Sorry, I don’t understand. You renamed which file and to which name?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.