Deutsch   English   Français   Italiano  
<mailman.133.1741555970.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!not-for-mail
From: Thomas Passin <list1@tompassin.net>
Newsgroups: comp.lang.python
Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?=
 =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?=
 =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?=
Date: Sun, 9 Mar 2025 17:14:00 -0400
Lines: 30
Message-ID: <mailman.133.1741555970.2912.python-list@python.org>
References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
 <mailman.126.1741471060.2912.python-list@python.org>
 <EOlzP.92237$i41.91623@fx06.ams4>
 <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de IiXP6ciMKyVIh8R+r47D8w88tYmLJbRB2SMgkCfUeU5g==
Cancel-Lock: sha1:p8e4Atp8nR3ZE/qrmpgFvSbTkDw= sha256:6zsLvU5bjw2LptHKu591tJLC96jy73SeW2o54z0qWIk=
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=tompassin.net header.i=@tompassin.net header.b=GPdEhT1q;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; 'absolute':
 0.05; 'mar': 0.07; 'subject:Windows': 0.07; 'subject:error': 0.07;
 'subject:when': 0.07; '"python"': 0.09; 'subject:run': 0.09;
 'subject:version': 0.09; 'steps': 0.11; 'subject:Python': 0.12;
 'problem.': 0.15; '2025': 0.16; 'found.': 0.16; 'invoke': 0.16;
 'received:10.0.0': 0.16; 'received:64.90': 0.16;
 'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
 'received:dreamhost.com': 0.16; 'skip:" 60': 0.16; 'subject:: "':
 0.16; 'subject:app': 0.16; 'subject:running': 0.16; 'wrote:':
 0.16; 'python': 0.16; 'pm,': 0.19; 'to:addr:python-list': 0.20;
 'first,': 0.22; 'maybe': 0.22; 'sat,': 0.22; 'version': 0.23;
 'install': 0.23; 'run': 0.23; 'idea': 0.24; 'python,': 0.25;
 'normally': 0.26; 'goes': 0.28; 'header:User-Agent:1': 0.30;
 'kumar': 0.32; 'python-list': 0.32; 'received:10.0': 0.32;
 'received:mailchannels.net': 0.32;
 'received:relay.mailchannels.net': 0.32; 'subject:"': 0.32; 'but':
 0.32; 'there': 0.33; 'path': 0.33; 'header:In-Reply-To:1': 0.34;
 'computer.': 0.35; 'runs': 0.35; 'yes,': 0.35; 'using': 0.37;
 "it's": 0.37; 'use': 0.39; "that's": 0.39; 'added': 0.39;
 'received:100': 0.39; 'try': 0.40; 'should': 0.40; 'python.org':
 0.62; 'your': 0.64; 'header:Received:6': 0.67; 'received:64':
 0.68; 'right': 0.68; 'subjectcharset:utf-8': 0.80; 'subject:your':
 0.83; 'subject:\xe2\x80\x99': 0.91; 'subject:This': 0.93
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1741554842; a=rsa-sha256;
 cv=none;
 b=FS5CnUGWRtxRw99u4sAQAVP713nwTTzRsPLLv/U4OhoriEOO8scmyRsTfCsdVk7ifwcXIl
 4ZVSFnZ8SASF6pfJRxgmZq1di6hFldmJ1N+hL3nHrJiZAmsO5R4MJNT3RjrJeWQkfvD8ys
 270zVqLDP8pi8yDWDIX1ADodvIW9E3CDhdN0Ni3hBFZYlQ7ki15LqxCoqoD+WVKwoKEy3F
 euHug9d5EABZCoqTX9kWPosLiiwrKgY1iNtqa5I4twUI3Q99GJeStAQKWdLQ4mjUxaoagB
 Js6vqM+kTeZB2Xzm7OMybHZAFPQ1v4uBek6TVqm0Af3SDqsSCzTvBBo23ffW6Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1741554842;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:dkim-signature;
 bh=CjJJnEZL1o6C3uO2nn5K/MdOFCtvVxNH5Yp3GtkHqmY=;
 b=qQ+xEHBecSPaMoMLdMRjKpvcOZ2cAWRxOvwiJfh7XouqPeKK7LCdyHtIx4CrOGsM7plo7c
 9ruoQMO6oYdz50+sArhBIJZtpY5czutVXihN8BH3bSel7txkeMFbNHPRQvyuvWX2tk8foQ
 oyL9iOHHPtwGS0cz64TMdQxmKt1YXm75lUW0KS0li7dnkAfZB89peEeh/rNiPLkR1sBXLb
 nl7EK6hb09C6DvdP09fl8rgYqto2JN0o1thIYNN6S9btfhfh9wUYPDC+DKx2Z7BhZOWJqF
 47bl8d7TlZHP1DUO9OhWkuPEfiJ89NudMZp3RklP6op8PmNedcU9Xk4I8gEsfw==
ARC-Authentication-Results: i=1; rspamd-59568bb4b4-mrxr9;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Spot-Belong: 7352a06c4becfb60_1741554842566_3210213609
X-MC-Loop-Signature: 1741554842565:1867092688
X-MC-Ingress-Time: 1741554842565
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
 s=dreamhost; t=1741554842;
 bh=CjJJnEZL1o6C3uO2nn5K/MdOFCtvVxNH5Yp3GtkHqmY=;
 h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding;
 b=GPdEhT1qIvs1ZeNlFDnOauEexwVqbLjTjugFoOXjrPaEwGmurIU9t4/Z3pN6SPs8f
 L7QDz0Ki8WqweA69u6vuqpj/3hLPZGcqMxFOhPkrq6+DCScGUkvNbF/3Os/8mx64O7
 KufvSZY7myP+im2FjWAstDDy9qajNouy5F969pJm48wBZSgsoEmmP4E5G6kGJGyJA7
 IgatLduxMxJwWgCJjnwtI2Tj99wQk+P+PTR3A5aslND18LGf430y3bRjRXI3ir7NG4
 o8yBq+1w7h5yC3zsNHZQXXm349YLK0XnLxQhdI3vNO+woHfe/dcOx1MGrhfsRFOqM4
 r0ckW1qCwsKPg==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <EOlzP.92237$i41.91623@fx06.ams4>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net>
X-Mailman-Original-References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
 <mailman.126.1741471060.2912.python-list@python.org>
 <EOlzP.92237$i41.91623@fx06.ams4>
Bytes: 7162

On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
> On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
> 
>> "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
> 
> Is that an approved location for executables?

Yes, that's where a python.org install normally goes. If you are 
changing the system paths, that location is the one to use. But if 
that's the location that the system links Python.File to, it should 
launch without a problem. Maybe you should remove the path steps you 
added previously and see if that clears up the problem.

First, though, try to run python using the absolute path you have just 
found.

BTW, it's always a good idea to run pip using the python install that 
you will be running.  So if "python" runs the right version, then invoke 
pip this way:

python -m pip

If you use the launcher, then:

py -m pip

This will make sure you use the version of pip that goes with your 
version of python, just in case there are other versions somewhere on 
the computer.