Python Forum
virtualenv activate.ps1 hash error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
virtualenv activate.ps1 hash error
#1
Hello

I try to work with a virtual environment under windows

I'm using Python 3.6, installed on c:\Python36-32 and everything I do as a command runs from the PowerShell console running as administrator.

> I created a project folder located on c:\myProject and a folder for the environment ; mkdir virtenv.

> Then I launched virtualenv .\Virtenv -> OK.

> Then I run the order .\virtenv\scripts\activate.ps1 -> ExecutionPolicy block the script
> Set-ExecutionPolicy AllSigned and then .\virtenv\scripts\activate.ps1 -> Error "the hash of the file did not match the signature"
[Image: 15157770541756_Capture.jpeg]

>if I download the original archive https://pypi.python.org/pypi/virtualenv and replace activate.ps1 I get the same error
>if I remove the security (set-executionpolicy remotesigned) everything works, the environment is activated well.

Is it normal that the the official archive file hash is not good?
how can I avoid blowing up security?

Thanks you in advance
Reply


Messages In This Thread
virtualenv activate.ps1 hash error - by po20 - Jan-12-2018, 08:41 PM
RE: virtualenv activate.ps1 hash error - by po20 - Jan-13-2018, 09:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] How to crack hash with hashlib Milan 0 1,415 Mar-09-2023, 08:25 PM
Last Post: Milan
  Can Not Activate Environment hammer 6 7,306 Mar-05-2022, 10:26 AM
Last Post: snippsat
  Python win32com.client: What are the syntax to open exe file & activate its window? JaneTan 0 4,199 Oct-14-2020, 09:09 AM
Last Post: JaneTan
  Activate Winodw/ Set focus biprabu 0 1,665 Sep-07-2020, 04:05 AM
Last Post: biprabu
  Hash command works differently for me in CMD and Spyder ZweiDCG 3 2,352 Sep-10-2019, 01:10 PM
Last Post: DeaD_EyE
  length constraint on phrase hash to password javaben 0 1,915 Aug-21-2019, 05:34 PM
Last Post: javaben
  Installing PIP and setting up virtualenv steveholland68 1 2,283 Aug-08-2019, 05:52 PM
Last Post: snippsat
  python -m venv VS virtualenv kazi380 4 3,018 Jul-17-2019, 08:51 PM
Last Post: Larz60+
  Virtualenv and an infinitely spooling interpreter? eblade 3 2,700 Jul-11-2019, 06:58 PM
Last Post: eblade
  Create file archive that contains crypto hash ED209 1 2,059 May-29-2019, 03:05 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020