Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
exarkun@baryon:~$ virtualenv /tmp/webdigestthing
Using base prefix '/usr'
New python executable in /tmp/webdigestthing/bin/python3
Also creating executable in /tmp/webdigestthing/bin/python
Installing setuptools, pip, wheel...done.
exarkun@baryon:~$ rm -rf /tmp/webdigestthing/
exarkun@baryon:~$ virtualenv --python=python2 /tmp/webdigestthing
Running virtualenv with interpreter /usr/bin/python2
New python executable in /tmp/webdigestthing/bin/python2
Also creating executable in /tmp/webdigestthing/bin/python
Installing setuptools, pip, wheel...done.
exarkun@baryon:~$ . /tmp/webdigestthing/bin/activate
(webdigestthing) exarkun@baryon:~$ pip install -qq twisted
(webdigestthing) exarkun@baryon:~$ pip freeze | grep Twisted
Twisted==18.9.0
(webdigestthing) exarkun@baryon:~$ python -c 'from twisted.web.iweb import ICredentialFactory; from twisted.cred.credentials import IUsernameDigestHash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment