- install python 2.7.9 from here https://www.python.org/downloads/; if using a different python, then you may need to install pip using get-pip.py
- add the directory located at C:\python27\scripts to the end of your path with
;C:\python27\scipts
- upgrade pip to ensure that you have a version that supports installing wheels -
pip install -U pip
- run
pip install virtualenv
- run
virtualenv venv
- if using:
cmd
run.\venv\activate
powershell
run.\venv\Scripts\activate.ps1
. By default,powershell
doesn't allow execution of unsigned scripts. This can be turned off by setting the execution policy to a more permissive setting. This can be done with open powershell and typing:Set-ExecutionPolicy Unrestricted
. You will then be prompted about whether or not you'd like to really allow this; to accept typeY
and hit enter.git bash prompt
runsource ./venv/Scripts/activate
- run
pip install twisted
- If you'd like access to win32 apis, install
pypiwin32
, usingpip install pypiwin32
Last active
July 7, 2018 10:38
-
-
Save derwolfe/434ba30127660781730e to your computer and use it in GitHub Desktop.
Installing twisted on windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment