avoid "import failure" when non-virtualenv 

this patch could avoid "import failure" when non-virtualenv