Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Nicholas Cole Newsgroups: comp.lang.python Subject: venv issues Date: Tue, 3 Nov 2015 10:32:33 +0000 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de K5NFKmEkmBKmR01vbt8ZagBBcZORPBh/ZS/GDS1ehzKA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'python': 0.10; 'suggest': 0.15; '(but': 0.15; 'nicholas': 0.16; 'received:209.85.212.179': 0.16; 'received:io': 0.16; 'received:mail-wi0-f179.google.com': 0.16; 'received:psf.io': 0.16; "skip:' 60": 0.16; 'subject:issues': 0.16; 'sys.path': 0.16; 'config': 0.18; 'machine': 0.21; 'environments': 0.22; 'help.': 0.23; 'tried': 0.24; 'module': 0.25; "i've": 0.25; "doesn't": 0.26; 'logging': 0.27; 'message-id:@mail.gmail.com': 0.27; "skip:' 50": 0.29; "skip:' 70": 0.29; 'received:209.85.212': 0.29; "i'm": 0.30; 'creating': 0.30; 'anyone': 0.32; 'source': 0.33; 'curious': 0.33; 'skip:~ 10': 0.33; 'received:google.com': 0.35; 'something': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'virtual': 0.38; 'received:209': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'different': 0.63; 'latest': 0.64; 'pip': 0.84; 'skip:/ 30': 0.84; 'to:name:python': 0.84; 'obvious,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GQYBF+7iVUNFTjcu1SitHmj3aCPBIRUWHPcaH1PDk9k=; b=BdPMejsFo0cLqn6gSKGDL2qfQYQoGNSjgT+sSz1C8bn4RntOdtIxqjcHgc3MUTdtR8 rj5KbbJfih6Ykojl0vH9ZBt/Q7Vl6ZQWhDmq/3C2Lr9u9ZfDFcJm3EgMbpkQ8lb0BTD/ 0OcOX7CezPDBjMecwEyTI53RkvHv7whShNjXdtDzEcCEg3Ux+dHwZGFj0P8k7vj++XXq m+cnT21P0f8T9tmKNvbd9RscqwT6X7eYskEr8Sr0mcE9zoLrWp2665t2Moa0kTaWq8wu Euz+F+9ive2tToWcufCntfTAHJrBV+4RFDVHUU2yShdO1ESgk+0W3AElKGBvUwggDARh KcXw== X-Received: by 10.194.77.174 with SMTP id t14mr28637850wjw.23.1446546753902; Tue, 03 Nov 2015 02:32:33 -0800 (PST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98145 I'm using python3.5 (installed from binaries) on the latest OS X. I have a curious issue with virtual environments on this machine (but not on my other machine). $ python3.5 -m venv testenv $ source testenv/bin/activate (testenv)$ python -m pip /private/tmp/testenv/bin/python: No module named pip $ Logging in as a different user and creating a venv works perfectly, so it's clearly a config issue somewhere, but I've tried removing ~/.bashrc and ~/.bash_profile and that doesn't help. The sys.path for that venv is: ['', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python35.zip', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload', '/private/tmp/testenv/lib/python3.5/site-packages'] I'm sure I'm overlooking something obvious, but can anyone suggest what? Nicholas