-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Running a virtualenv with a custom-built Python


For my attempt to improve the asyncio.as_completed Python standard library function I needed to build a local copy of cpython (the Python interpreter).


To test it, I needed the aiohttp module, which is not part of the standard library, so the easiest way to get it was using virtualenv.


attempt

cpython

aiohttp

virtualenv


Here is the recipe I used to get a virtualenv and install packages using pip with a custom-built Python:


$ ~/code/public/cpython/python -m venv env
$ . env/bin/activate
(env) $ pip install aiohttp
(env) $ python mycode.py

Originally posted at 2017-06-26 23:31:06+00:00. Automatically generated from the original post : apologies for the errors introduced.


original post

-- Response ended

-- Page fetched on Sun May 19 04:16:51 2024