Problem activating the Virutal environment with pipenv

Asked

Viewed 176 times

0

inserir a descrição da imagem aqui

When I opened the powershell inside Visual Studio Code, first, there was an error that the script execution had been disabled, I went to the windows powershell and changed the execution policy. Because now appears the following impasse: "You must 'source' this script: PS > .&"

I tried to search in other sources a tutorial like "Sourcing a Script" but was not successful.

  • To enable virtualenv in a project using Pipenv just enter the folder where you have the file PipFile and use the command pipenv shell.

  • I am taking a course, and this was one of the steps to activate it to follow exactly as the author ordered, however there was a policy error of executing scripts, I found that I should change the policy of executing scripts, I went there changed, and now I am in this impasse.

1 answer

0

  • I took this "&", and this time it appears "You must 'source' this script: PS> . C: Users Julia.virtualenvs Project_webscrap-ezhEVcLU Scripts Activate.ps1"

Browser other questions tagged

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