Re: Download Python 3.10.6 for windows

2022-08-31 Thread Eryk Sun
On 8/31/22, George Rwaga  wrote:
>
> I am not sure why the default for installing Python is
> C:\Users\x.x\AppData\local\programs\Python\Python310.

The "programs" folder in the above path is the default location to
install programs just for user "x.x." More precisely, the
default location is "%LOCALAPPDATA%\Programs". A user can easily
change this path to a custom location in Explorer, so one shouldn't
rely on the default value in general. Instead, use the shell protocol
path, shell:userprogramfiles. You can use the latter directly in
Explorer, such as the Win+R dialog. From the command line in CMD or
PowerShell, use the `start` command. For example:

>start shell:userprogramfiles

Python's installer defaults to the user program files directory when
installing just for the current user. When the setup is changed to
install for all users, it automatically switches to using
"%ProgramFiles%" or "%ProgramFiles(x86)%" (e.g. "C:\Program Files").
It will try to elevate to get administrator access when installing for
all users.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Download Python 3.10.6 for windows

2022-08-31 Thread George Rwaga
Thanks for the suggestions, Mrab and Eryk.

Because my R and RStudio are under program files, for consistency I
installed Python in C:\program files\Python\Python310. I updated to the
latest version of Spyder in C:\program files\Spyder\Spyder5.3.3. As with R
and RStudio, some Python and Spyder files were automatically installed in
C:\Users\George.Rwaga\AppData\Local. I am not sure why the default for
installing Python
is C:\Users\x.x\AppData\local\programs\Python\Python310.

Initial tests suggest Spyder 5.3.3 is working fine. The real test will
probably come when I try to run some of my old code based on such sources
as Python for Finance by Yves Hilpisch, a book by the same title by Yuxing
Yan, Python for Data Analysis by Wes McKinney, etc.

Again, thanks.

George
--


On Tue, Aug 30, 2022 at 4:06 PM Eryk Sun  wrote:

> On 8/30/22, George Rwaga  wrote:
> >
> > 1. I installed Python 3.10.6 in the default directory
> > C:\Users\x.x\AppData\local\programs\Python\Python310
> > After the installation, there was no shortcut on my desktop.
>
> Shortcuts are created in the start menu. The installer doesn't modify
> the user's desktop or the desktop of all users, which many users don't
> want and would find annoying. Just copy the shortcuts from the start
> menu to the desktop if that's what you want. Right-click the icon in
> the start menu and choose to open the location. You can copy shortcuts
> from the opened Explorer window.
>
> > 2. I then decided to install Python3.10.6 in a customized directory
> > C:\program files\Python\Python310
> > I am being asked to verify access to this directly. I went to properties,
> > made what I thought were the relevant changes. But I keep getting asked
> to
> > verify access.
>
> Installing to "Program Files" requires elevating to get administrator
> access. All users have the right to read and execute files in a
> directory created in "Program Files", but adding, removing, or
> deleting files and directories requires administrator access, as it
> should.
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Download Python 3.10.6 for windows

2022-08-30 Thread Eryk Sun
On 8/30/22, George Rwaga  wrote:
>
> 1. I installed Python 3.10.6 in the default directory
> C:\Users\x.x\AppData\local\programs\Python\Python310
> After the installation, there was no shortcut on my desktop.

Shortcuts are created in the start menu. The installer doesn't modify
the user's desktop or the desktop of all users, which many users don't
want and would find annoying. Just copy the shortcuts from the start
menu to the desktop if that's what you want. Right-click the icon in
the start menu and choose to open the location. You can copy shortcuts
from the opened Explorer window.

> 2. I then decided to install Python3.10.6 in a customized directory
> C:\program files\Python\Python310
> I am being asked to verify access to this directly. I went to properties,
> made what I thought were the relevant changes. But I keep getting asked to
> verify access.

Installing to "Program Files" requires elevating to get administrator
access. All users have the right to read and execute files in a
directory created in "Program Files", but adding, removing, or
deleting files and directories requires administrator access, as it
should.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Download Python 3.10.6 for windows

2022-08-30 Thread MRAB

On 2022-08-30 16:09, George Rwaga wrote:

I last installed an updated version of python more than  a year back. I am
trying to download (from  https://www.python.org/downloads/ ) and install
Python 3.10.6 for Windows - but I keep running into problems.

1. I installed Python 3.10.6 in the default directory
C:\Users\x.x\AppData\local\programs\Python\Python310
After the installation, there was no shortcut on my desktop. I thought I
would just go to Python310 and create a shortcut. But I am unable to find
AppData.


In the File Explorer window, select the View tab and turn on the Hidden 
Items checkbox. The AppData folder should then become visible.


Alternatively, enter "%appdata%" in the path bar, and that should take 
you to a subfolder of the AppData folder. You can then navigate from there.



2. I then decided to install Python3.10.6 in a customized directory
C:\program files\Python\Python310
I am being asked to verify access to this directly. I went to properties,
made what I thought were the relevant changes. But I keep getting asked to
verify access.

My R and RStudio are installed in C:\program files.

How should I proceed?



--
https://mail.python.org/mailman/listinfo/python-list


Download Python 3.10.6 for windows

2022-08-30 Thread George Rwaga
I last installed an updated version of python more than  a year back. I am
trying to download (from  https://www.python.org/downloads/ ) and install
Python 3.10.6 for Windows - but I keep running into problems.

1. I installed Python 3.10.6 in the default directory
C:\Users\x.x\AppData\local\programs\Python\Python310
After the installation, there was no shortcut on my desktop. I thought I
would just go to Python310 and create a shortcut. But I am unable to find
AppData.
2. I then decided to install Python3.10.6 in a customized directory
C:\program files\Python\Python310
I am being asked to verify access to this directly. I went to properties,
made what I thought were the relevant changes. But I keep getting asked to
verify access.

My R and RStudio are installed in C:\program files.

How should I proceed?

George
--
-- 
https://mail.python.org/mailman/listinfo/python-list