Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Zachary Ware Newsgroups: comp.lang.python Subject: Re: Problem in pip Date: Fri, 4 Dec 2015 16:41:17 -0600 Lines: 22 Sender: zachary.ware@gmail.com Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de 6ge0NnclB6Lq/7e91N3fdQJHSFx4rM40NmCJJGgdqcWA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; '32)': 0.09; 'exception:': 0.09; 'python': 0.10; 'privileges.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'skip:3 30': 0.16; 'subject:Problem': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; '2015': 0.20; 'permission': 0.20; 'to:name:python-list@python.org': 0.20; 'trying': 0.22; 'dec': 0.23; 'this:': 0.23; '(most': 0.24; 'header :In-Reply-To:1': 0.24; 'install': 0.25; 'command': 0.26; 'error': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'looks': 0.29; 'environment': 0.29; "can't": 0.32; 'environment,': 0.33; 'traceback': 0.33; 'received:google.com': 0.35; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'virtual': 0.38; 'version': 0.38; 'received:209': 0.38; 'anything': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.40; "you'll": 0.61; 'hope': 0.61; 'prompt': 0.79; 'pip': 0.84; 'received:209.85.214.181': 0.84; 'received:mail-ob0-f181.google.com': 0.84; 'ali': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=oEjYxCKujecbvaDzeMKb5dhxcV1/L3H7+4niK0p2bTE=; b=FVQMI9OWEXgFbXIkYrNdLbe3e1y1YWIoKvIO/mFhvCUgTjNwvC8y/tAoaBljhyTJIm HvG7PlT2Zqc/56vvnqs6oxfFglFxHjO4g90WPNz7GQjzyCTEU56g+SRwvdiFnYv/R7T8 H/P3UHHqJGvQQ7uzyM50M7rBYbQqs/mv+RpI0Adc1Qe08oGdCBe+/1IbpzIal6miUV+F HCR6hk7Y4sexgUzrX0lQQOiSkC+oKNhAUr+3Nq24RZ4n2DXdVVoIqo/nH3n2HICIUxfn te8/FpUCMwLHR3LQSy0iLJ0B/uzbnptfnnl9gCLZRi+rE/43VHrT0mz2w8azSKb0IKui cv8g== X-Received: by 10.60.246.67 with SMTP id xu3mr14929301oec.59.1449268898062; Fri, 04 Dec 2015 14:41:38 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: BhjOnaL9CjKIZ4OiFcvRu1QYYNQ 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:100017 On Fri, Dec 4, 2015 at 12:02 PM, Ali Zarkesh wrote: > My pip can't download or upgrade anything > I use python 3.5 (win 32) and my pip version is 7.1.2. > The error message is this: > > Exception: > Traceback (most recent call last): > ... > PermissionError: [Errno 13] Permission denied: 'c:\program files\python > 3.5\Lib\site-packages\PyWin32.chm' > > What do I do? It looks like you're trying to install in the global environment, which requires administrative privileges. You'll either need to do the above from an Administrative Command Prompt or create a virtual environment (py -3.5 -m venv ) and try it using the pip from the venv. Hope this helps, -- Zach