Sadly there’s no way of overriding something in the standard library with 
something from PyPI without using monkey patching.


> On Oct 24, 2014, at 1:35 PM, Gustavo Carneiro <[email protected]> wrote:
> 
> I have Python 3.4.0 (from ubuntu), but I would like to upgrade to the asyncio 
> version in Python 3.4.1 without upgrading the rest of Python.
> 
> I am using virtualenv, and pip installs asyncio 3.4.1 into the virtualenv's 
> site-packages.  However, at runtime, the system version 
> (/usr/lib/python3.4/asyncio) gets imported instead.
> 
> Has anyone been able to solve this problem without hacks?  I managed to work 
> around in my dev environment by creating a symlink, but I was hoping there 
> was a more "proper" way of fixing it.
> 
> Thanks in advance.
> 
> -- 
> Gustavo J. A. M. Carneiro
> Gambit Research
> "The universe is always one step beyond logic." -- Frank Herbert

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

Reply via email to