I'm an occasional user of Python and have a degree in computer science. Almost every freaking time I use Python, I go through PSH (Python Setup Hell). Sometimes a wrong version is installed. Sometimes it's a path issue. Or exe naming confusion: python, python3, phthon311, etc. Or library compatibility issues - took an hour to find out that pygame does not work with the current version of python.
Then the kludgy PIP app and using a DOS
box under Windows with command prompts which is ridiculous.
God only knows
how many novice users of the language (or even intermediate users) were
lost in the setup process. Why not clean the infrastructure up and make a modern environment or IDE or something better than it is now. Or at least good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
Why? Python is a command-line tool to process a language, Similar to
many other languages - Go, for example. Or a C/C++ compiler. *Or* you
can choose to use someone's wrapping of that process inside an
Integrated Development Environment. There are tons that support Python
and let you run your code from within the editor environment without
having to go open a cmd.exe or powershell box. Most of those are
external, but the comes-with-Python IDLE works well, too.
I'm an occasional user of Python and have a degree in computer science. Almost every freaking time I use Python, I go through PSH (Python Setup Hell). Sometimes a wrong version is installed. Sometimes it's a path issue. Or exe naming confusion: python, python3, phthon311, etc. Or library compatibility issues - took an hour to find out that pygame does not work with the current version of python. Then the kludgy PIP app and using a DOS box under Windows with command prompts which is ridiculous. God only knows how many novice users of the language (or even intermediate users) were
lost in the setup process. Why not clean the infrastructure up and make a modern environment or IDE or something better than it is now. Or at least good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and set
the path manually for my work (needed it as part of a compiler).
It ain't good enough. And I like python.
jan
On 18/12/2022 11:50, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science.
Almost every freaking time I use Python, I go through PSH (Python Setup
Hell). Sometimes a wrong version is installed. Sometimes it's a path
issue.
Or exe naming confusion: python, python3, phthon311, etc. Or library
compatibility issues - took an hour to find out that pygame does not work
with the current version of python. Then the kludgy PIP app and using
a DOS
box under Windows with command prompts which is ridiculous. God only
knows
how many novice users of the language (or even intermediate users) were
lost in the setup process. Why not clean the infrastructure up and make a
modern environment or IDE or something better than it is now. Or at least
good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
I'm an occasional user of Python and have a degree in computer science. Almost every freaking time I use Python, I go through PSH (Python Setup Hell). Sometimes a wrong version is installed. Sometimes it's a path issue. Or exe naming confusion: python, python3, phthon311, etc. Or library compatibility issues - took an hour to find out that pygame does not work with the current version of python. Then the kludgy PIP app and using a DOS box under Windows with command prompts which is ridiculous. God only knows how many novice users of the language (or even intermediate users) were
lost in the setup process. Why not clean the infrastructure up and make a modern environment or IDE or something better than it is now. Or at least good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
I'm an occasional user of Python and have a degree in computer science. Almost every freaking time I use Python, I go through PSH (Pythonissue.
Setup Hell). Sometimes a wrong version is installed. Sometimes it's a path
Or exe naming confusion: python, python3, phthon311, etc. Or library compatibility issues - took an hour to find out that pygame does notnumerous steps.
work with the current version of python. Then the kludgy PIP app and
using a DOS box under Windows with command prompts which is
ridiculous. God only knows how many novice users of the language (or
even intermediate users) were lost in the setup process. Why not clean
the infrastructure up and make a modern environment or IDE or
something better than it is now. Or at least good error messages that
explain exactly what to do. Even getting this email to the list took
-- A frustrated user
On 12/19/2022 12:28 PM, j via Python-list wrote:
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and set
the path manually for my work (needed it as part of a compiler).
I don't set those paths. If you have several different versions
installed, who knows which one the path will find first? Probably not
the one you want. Without paths to the script files, I need to set
them temporarily, navigate to to the right directory first, or create
a dedicated batch file, but at least I get the right ones that way.
I don't find it to be a problem.
It ain't good enough. And I like python.
jan
On 18/12/2022 11:50, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science.
Almost every freaking time I use Python, I go through PSH (Python Setup
Hell). Sometimes a wrong version is installed. Sometimes it's a path
issue.
Or exe naming confusion: python, python3, phthon311, etc. Or library
compatibility issues - took an hour to find out that pygame does not
work
with the current version of python. Then the kludgy PIP app and
using a DOS
box under Windows with command prompts which is ridiculous. God only
knows
how many novice users of the language (or even intermediate users) were
lost in the setup process. Why not clean the infrastructure up and
make a
modern environment or IDE or something better than it is now. Or at
least
good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
I was unclear. I use the full path to the folder with the unzipped python-embedded. I shouldn't have said 'set'.
I have complained on here before about broken installs but got
indifference. An installer should install stuff correctly (leaving a
working environment). If it won't then give clear instructions on how to install manually then let us do it. A broken installer is like a road
that just runs out.
Dismissals about 'lazy people' (for example) aren't helpful if you are
trying to get some actual work done.
jan
I was unclear. I use the full path to the folder with the unzipped python-embedded. I shouldn't have said 'set'.
I have complained on here before about broken installs but got
indifference. An installer should install stuff correctly (leaving a
working environment). If it won't then give clear instructions on how to install manually then let us do it. A broken installer is like a road
that just runs out.
Dismissals about 'lazy people' (for example) aren't helpful if you are
trying to get some actual work done.
jan
On 19/12/2022 17:55, Thomas Passin wrote:
On 12/19/2022 12:28 PM, j via Python-list wrote:
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and set
the path manually for my work (needed it as part of a compiler).
I don't set those paths. If you have several different versions
installed, who knows which one the path will find first? Probably not
the one you want. Without paths to the script files, I need to set
them temporarily, navigate to to the right directory first, or create
a dedicated batch file, but at least I get the right ones that way.
I don't find it to be a problem.
It ain't good enough. And I like python.
jan
On 18/12/2022 11:50, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science. >>>> Almost every freaking time I use Python, I go through PSH (Python Setup >>>> Hell). Sometimes a wrong version is installed. Sometimes it's a path
issue.
Or exe naming confusion: python, python3, phthon311, etc. Or library
compatibility issues - took an hour to find out that pygame does not
work
with the current version of python. Then the kludgy PIP app and
using a DOS
box under Windows with command prompts which is ridiculous. God only
knows
how many novice users of the language (or even intermediate users) were >>>> lost in the setup process. Why not clean the infrastructure up and
make a
modern environment or IDE or something better than it is now. Or at
least
good error messages that explain exactly what to do. Even getting this >>>> email to the list took numerous steps.
-- A frustrated user
On 12/19/2022 3:34 PM, j wrote:
I was unclear. I use the full path to the folder with the unzipped
python-embedded. I shouldn't have said 'set'.
I have complained on here before about broken installs but got
indifference. An installer should install stuff correctly (leaving a
working environment). If it won't then give clear instructions on how
to install manually then let us do it. A broken installer is like a
road that just runs out.
Yes, I've had a few of those, just not with Python so far. One problem
with a list like this is that if other people don't have the problem or
can't make it happen, then they don't have any suggestions based on
personal experience. So they can't be helpful. In this issue, I'm in
that category.
In that situation, we (the list-people, I mean) need good information to
have a chance of being helpful. But I've observed that many requestors
for help like this - especially installation issues - don't provide any useful particulars. That makes it seem like they don't understand what
they are doing, and folks would like them to do their homework and think about what it would take for other people to have a chance of helping.
Would you try to cook a meal, and then say "I followed the recipe and it didn't work, please help"? It's impossible. But I've seen this kind of question over and over on this list.
I did once have a Python installation problem. The installed Python executable worked, but later I ran into some permissions problem. I had installed for "everyone", so it installed into Program Files, and
apparently somewhere along the way I had done something odd to the permissions for that directory. I was never sure what. I uninstalled,
and since then I have always installed new versions for just one user
(me). Never a problem since.
I'm sorry to say that I have never tried an embedded install, and I
don't know what's different about one. Maybe I'll try one now, just to know.
So much easier to do on a Unix-like system, where you don't need to
concern yourself with "effective drive" and can simply use relative
paths. I know we're not here to bash Windows, but... drive letters
really need to just die already.
On Tue, 20 Dec 2022 at 09:12, Thomas Passin <list1@tompassin.net> wrote:
FWIW, I once set up a Python installation so that it could run from a
USB stick (Windows only). My launcher was a batch file that contained
the following:
@echo off
setlocal
: Find effective drive for this file.
set ed=%~d0
path %ed%\python37\Scripts;%ed%\python37;%PATH%
set PYTHONUSERBASE=%ed%\user\python
set HOME=%ed%\user\python
call python %*
endlocal
So much easier to do on a Unix-like system, where you don't need to
concern yourself with "effective drive" and can simply use relative
paths. I know we're not here to bash Windows, but... drive letters
really need to just die already.
FWIW, I once set up a Python installation so that it could run from a
USB stick (Windows only). My launcher was a batch file that contained
the following:
@echo off
setlocal
: Find effective drive for this file.
set ed=%~d0
path %ed%\python37\Scripts;%ed%\python37;%PATH%
set PYTHONUSERBASE=%ed%\user\python
set HOME=%ed%\user\python
call python %*
endlocal
On 12/19/2022 5:16 PM, Chris Angelico wrote:
On Tue, 20 Dec 2022 at 09:12, Thomas Passin <list1@tompassin.net> wrote:
FWIW, I once set up a Python installation so that it could run from a
USB stick (Windows only). My launcher was a batch file that contained
the following:
@echo off
setlocal
: Find effective drive for this file.
set ed=%~d0
path %ed%\python37\Scripts;%ed%\python37;%PATH%
set PYTHONUSERBASE=%ed%\user\python
set HOME=%ed%\user\python
call python %*
endlocal
So much easier to do on a Unix-like system, where you don't need to
concern yourself with "effective drive" and can simply use relative
paths. I know we're not here to bash Windows, but... drive letters
really need to just die already.
Considering that this was for a removable drive, the launcher needed to
know its own location, which might change from one instance to another.
If you look at the code above, you won't find an obvious drive letter.
You would need to do the equivalent on Linux. The Windows drive letter
is just not relevant here.
On 2022-12-19, Chris Angelico <rosuav@gmail.com> wrote:
So much easier to do on a Unix-like system, where you don't need to
concern yourself with "effective drive" and can simply use relative
paths. I know we're not here to bash Windows, but... drive letters
really need to just die already.
They needed to "die already" 40 years ago. I was a Unix user before
MS-DOS came out, and I was rather stunned by the whole drive letter
thing. It seemed like such a giant step backwards. I figured that once
hard drives became common, drive letters would die. Nope, they're
still failing strong!
On Tue, 20 Dec 2022 at 09:12, Thomas Passin <list1@tompassin.net> wrote:
@echo off
setlocal
: Find effective drive for this file.
set ed=%~d0
path %ed%\python37\Scripts;%ed%\python37;%PATH%
So much easier to do on a Unix-like system, where you don't need to
concern yourself with "effective drive" and can simply use relative
paths.
I know we're not here to bash Windows, but... drive letters
really need to just die already.
I know we're not here to bash Windows, but... drive lettersI don't foresee drive-letter names getting phased out of Windows. And
really need to just die already.
Windows itself is unlikely to get phased out as long as Microsoft
continues to profit from it, as it has for the past 37 years.
This type of response is not called for. I thought this list was designed
to help people. That's not what this person was doing. Everyone has different experience levels and backgrounds. Help them learn. Don't berate them.
Here's what was said:
Issues installing python and sending an email?
Ask for a refund on your compsci degree.
-----Original Message-----
From: Python-list <python-list-bounces+jschwar=sbcglo...@python.org> On Behalf Of DFS
Sent: Monday, December 19, 2022 12:58 PM
To: pytho...@python.org
Subject: Re: Fwd: Installation hell
On 12/18/2022 6:50 AM, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science. Almost every freaking time I use Python, I go through PSH (Pythonissue.
Setup Hell). Sometimes a wrong version is installed. Sometimes it's a path
Or exe naming confusion: python, python3, phthon311, etc. Or library compatibility issues - took an hour to find out that pygame does notnumerous steps.
work with the current version of python. Then the kludgy PIP app and
using a DOS box under Windows with command prompts which is
ridiculous. God only knows how many novice users of the language (or
even intermediate users) were lost in the setup process. Why not clean
the infrastructure up and make a modern environment or IDE or
something better than it is now. Or at least good error messages that explain exactly what to do. Even getting this email to the list took
-- A frustrated user
Issues installing python and sending an email?
Ask for a refund on your compsci degree.
--
https://mail.python.org/mailman/listinfo/python-list
On 12/19/2022 12:28 PM, j via Python-list wrote:-----
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and setI don't set those paths. If you have several different versions
the path manually for my work (needed it as part of a compiler).
installed, who knows which one the path will find first? Probably not
the one you want. Without paths to the script files, I need to set them temporarily, navigate to to the right directory first, or create a
dedicated batch file, but at least I get the right ones that way.
I don't find it to be a problem.
It ain't good enough. And I like python.
jan
On 18/12/2022 11:50, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science. >> Almost every freaking time I use Python, I go through PSH (Python Setup >> Hell). Sometimes a wrong version is installed. Sometimes it's a path
issue.
Or exe naming confusion: python, python3, phthon311, etc. Or library
compatibility issues - took an hour to find out that pygame does not work >> with the current version of python. Then the kludgy PIP app and using
a DOS
box under Windows with command prompts which is ridiculous. God only
knows
how many novice users of the language (or even intermediate users) were >> lost in the setup process. Why not clean the infrastructure up and make a >> modern environment or IDE or something better than it is now. Or at least >> good error messages that explain exactly what to do. Even getting this
email to the list took numerous steps.
-- A frustrated user
Le lundi 19 décembre 2022 à 18:56:01 UTC+1, Thomas Passin a écrit :
On 12/19/2022 12:28 PM, j via Python-list wrote:
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and set the path manually for my work (needed it as part of a compiler).I don't set those paths. If you have several different versions
installed, who knows which one the path will find first? Probably not
the one you want. Without paths to the script files, I need to set them temporarily, navigate to to the right directory first, or create a dedicated batch file, but at least I get the right ones that way.
I don't find it to be a problem.
It ain't good enough. And I like python.
jan
-----On 18/12/2022 11:50, Jim Lewis wrote:
I'm an occasional user of Python and have a degree in computer science. >> Almost every freaking time I use Python, I go through PSH (Python Setup >> Hell). Sometimes a wrong version is installed. Sometimes it's a path
issue.
Or exe naming confusion: python, python3, phthon311, etc. Or library
compatibility issues - took an hour to find out that pygame does not work
with the current version of python. Then the kludgy PIP app and using >> a DOS
box under Windows with command prompts which is ridiculous. God only
knows
how many novice users of the language (or even intermediate users) were >> lost in the setup process. Why not clean the infrastructure up and make a
modern environment or IDE or something better than it is now. Or at least
good error messages that explain exactly what to do. Even getting this >> email to the list took numerous steps.
-- A frustrated user
With powershell one can create an alias in $profile.
One can create a p38.ps1 script launcher (*).
One can create a Python dedicated shortcut on the desk. (And
set a background colour !).
For some gui apps, I created vbs launchers. Still working in Win 11.
(*)
PS C:\jmprog> cd c:\humour
PS C:\humour> $a = p38.ps1 -c "print('abc霟')" | out-string
PS C:\humour> $a
abc霟
PS C:\humour>
Buggy:
- py.exe
- virtual environments
- I even create a real portable Python with the ms-api*-
- One can modify the cp1252 codec module, so that I work
how it should !
On C:\ or on an USB-key/device.
USB ? Yes Fat32 not NTFS (Python buggyness)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 16:24:00 |
Calls: | 10,389 |
Files: | 14,061 |
Messages: | 6,416,939 |