Re: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-04-10 Thread Thomas Passin

On 4/10/2023 2:19 AM, Yogesh Tirthkar wrote:

Hello,

Thank you for your response.

May I know how to uninstall it from user A profile – if user A is no longer 
available.

Is there any means - where I can use local admin account to uninstall the app 
(installed in User A profile, without user A’s intervention)


If user A is no longer available, then an administrator can change the 
password for User A and then, logged into the A account, perform the 
un-install.




From: Sravan Kumar Chitikesi 
Sent: Monday, April 10, 2023 2:17 PM
To: Yogesh Tirthkar 
Cc: python-list@python.org
Subject: Re: [Request for Assistance] To uninstall python installed in other 
user profile (Win 10)

[cid:image001.png@01D96BB7.7B62F3D0]

If Python was installed by user A in their own profile folder, it is likely 
that it was installed just for that user. In this case, you may need to log in 
as user A to uninstall Python from their profile. Have you tried logging in as 
user A and uninstalling Python from there?

Regards,
Sravan Chitikesi
AWS Solutions Architect - Associate


On Tue, Mar 28, 2023 at 11:30 AM Yogesh Tirthkar 
mailto:yogeshtirthkar-ven...@gic.com.sg>> 
wrote:
Hi Team,

Could you please advise on the scenario in windows 10 machine : Where we need 
to uninstall/remove python from user profile A (installed by user A in its own 
profile folder) - via an admin user or system account.

Currently when we try to uninstall it via admin/system account - it displays 
that the python product is not installed for this user (admin/system).



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


Re: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-04-10 Thread Sravan Kumar Chitikesi
If Python was installed by user A in their own profile folder, it is likely
that it was installed just for that user. In this case, you may need to log
in as user A to uninstall Python from their profile. Have you tried logging
in as user A and uninstalling Python from there?

Regards,
*Sravan Chitikesi*
AWS Solutions Architect - Associate


On Tue, Mar 28, 2023 at 11:30 AM Yogesh Tirthkar <
yogeshtirthkar-ven...@gic.com.sg> wrote:

> Hi Team,
>
> Could you please advise on the scenario in windows 10 machine : Where we
> need to uninstall/remove python from user profile A (installed by user A in
> its own profile folder) - via an admin user or system account.
>
> Currently when we try to uninstall it via admin/system account - it
> displays that the python product is not installed for this user
> (admin/system).
>
> Appreciate your assistance.
>
>
> Regards,
> Yogesh.
>
> _
> Technology Group | GIC Private Limited | 168 Robinson Road, #37-01,
> Capital Tower, Singapore 068912
>
>
> This email from GIC may contain confidential information. Unauthorised
> communication and disclosure of any information in this email is
> prohibited. If you are not the intended recipient, please notify the sender
> and delete this email immediately.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-04-10 Thread Yogesh Tirthkar
Hello,

Thank you for your response.

May I know how to uninstall it from user A profile – if user A is no longer 
available.

Is there any means - where I can use local admin account to uninstall the app 
(installed in User A profile, without user A’s intervention)

Regards,
Yogesh.

From: Sravan Kumar Chitikesi 
Sent: Monday, April 10, 2023 2:17 PM
To: Yogesh Tirthkar 
Cc: python-list@python.org
Subject: Re: [Request for Assistance] To uninstall python installed in other 
user profile (Win 10)

[cid:image001.png@01D96BB7.7B62F3D0]

If Python was installed by user A in their own profile folder, it is likely 
that it was installed just for that user. In this case, you may need to log in 
as user A to uninstall Python from their profile. Have you tried logging in as 
user A and uninstalling Python from there?

Regards,
Sravan Chitikesi
AWS Solutions Architect - Associate


On Tue, Mar 28, 2023 at 11:30 AM Yogesh Tirthkar 
mailto:yogeshtirthkar-ven...@gic.com.sg>> 
wrote:
Hi Team,

Could you please advise on the scenario in windows 10 machine : Where we need 
to uninstall/remove python from user profile A (installed by user A in its own 
profile folder) - via an admin user or system account.

Currently when we try to uninstall it via admin/system account - it displays 
that the python product is not installed for this user (admin/system).

Appreciate your assistance.


Regards,
Yogesh.
_
Technology Group | GIC Private Limited | 168 Robinson Road, #37-01, Capital 
Tower, Singapore 068912


This email from GIC may contain confidential information. Unauthorised 
communication and disclosure of any information in this email is prohibited. If 
you are not the intended recipient, please notify the sender and delete this 
email immediately.
--
https://mail.python.org/mailman/listinfo/python-list

This email from GIC may contain confidential information. Unauthorised 
communication and disclosure of any information in this email is prohibited. If 
you are not the intended recipient, please notify the sender and delete this 
email immediately.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-04-10 Thread Thomas Passin

On 4/9/2023 10:14 PM, Yogesh Tirthkar wrote:

Hi,

Is there any way I can uninstall python installed (as user) in someone else' 
account - without login as that user, but login as local admin ?


It depends on whether you can use that user's password. With the 
password, it's very feasible.  Without it, some people seem to have 
found ways.  There some discussion of this here -


https://serverfault.com/questions/773038/run-as-a-different-user-without-a-password-from-an-elevated-prompt-in-windows


Technology Group | GIC Private Limited | 168 Robinson Road, #37-01, Capital 
Tower, Singapore 068912

-Original Message-
From: Python-list 
 On Behalf Of 
Thomas Passin
Sent: Wednesday, March 29, 2023 12:19 AM
To: python-list@python.org
Subject: Re: [Request for Assistance] To uninstall python installed in other 
user profile (Win 10)

[[External Mail] Do not click on links or attachment from unknown senders.]


On 3/28/2023 12:56 AM, Yogesh Tirthkar wrote:

Hi Team,

Could you please advise on the scenario in windows 10 machine : Where we need 
to uninstall/remove python from user profile A (installed by user A in its own 
profile folder) - via an admin user or system account.

Currently when we try to uninstall it via admin/system account - it displays 
that the python product is not installed for this user (admin/system).

Appreciate your assistance.


It depends on where the Python installation is located, but I would just delete 
the entire folder tree at %APPDATA%\Python\Python3xxx.

If Python was installed for all users, its main set of files will probably be in "c:\Program 
Files" and Window's "Add or Remove" page should remove it.

If it was installed just for User A, then the "Add or Remove" page will find it if run 
from User A's account.  If for some reason User A will not or cannot cooperate, the admin could 
change User A's password and then run "Add or Remove".  Of course the admin would not be 
able to change the pw back, but if User A is not cooperating maybe that wouldn't matter.

--
https://mail.python.org/mailman/listinfo/python-list
This email from GIC may contain confidential information. Unauthorised 
communication and disclosure of any information in this email is prohibited. If 
you are not the intended recipient, please notify the sender and delete this 
email immediately.



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


RE: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-04-09 Thread Yogesh Tirthkar
Hi,

Is there any way I can uninstall python installed (as user) in someone else' 
account - without login as that user, but login as local admin ?

Regards,
Yogesh.
_
Technology Group | GIC Private Limited | 168 Robinson Road, #37-01, Capital 
Tower, Singapore 068912

-Original Message-
From: Python-list 
 On Behalf Of 
Thomas Passin
Sent: Wednesday, March 29, 2023 12:19 AM
To: python-list@python.org
Subject: Re: [Request for Assistance] To uninstall python installed in other 
user profile (Win 10)

[[External Mail] Do not click on links or attachment from unknown senders.]


On 3/28/2023 12:56 AM, Yogesh Tirthkar wrote:
> Hi Team,
>
> Could you please advise on the scenario in windows 10 machine : Where we need 
> to uninstall/remove python from user profile A (installed by user A in its 
> own profile folder) - via an admin user or system account.
>
> Currently when we try to uninstall it via admin/system account - it displays 
> that the python product is not installed for this user (admin/system).
>
> Appreciate your assistance.

It depends on where the Python installation is located, but I would just delete 
the entire folder tree at %APPDATA%\Python\Python3xxx.

If Python was installed for all users, its main set of files will probably be 
in "c:\Program Files" and Window's "Add or Remove" page should remove it.

If it was installed just for User A, then the "Add or Remove" page will find it 
if run from User A's account.  If for some reason User A will not or cannot 
cooperate, the admin could change User A's password and then run "Add or 
Remove".  Of course the admin would not be able to change the pw back, but if 
User A is not cooperating maybe that wouldn't matter.

--
https://mail.python.org/mailman/listinfo/python-list
This email from GIC may contain confidential information. Unauthorised 
communication and disclosure of any information in this email is prohibited. If 
you are not the intended recipient, please notify the sender and delete this 
email immediately.

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


Re: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-03-28 Thread Thomas Passin

On 3/28/2023 12:56 AM, Yogesh Tirthkar wrote:

Hi Team,

Could you please advise on the scenario in windows 10 machine : Where we need 
to uninstall/remove python from user profile A (installed by user A in its own 
profile folder) - via an admin user or system account.

Currently when we try to uninstall it via admin/system account - it displays 
that the python product is not installed for this user (admin/system).

Appreciate your assistance.


It depends on where the Python installation is located, but I would just 
delete the entire folder tree at %APPDATA%\Python\Python3xxx.


If Python was installed for all users, its main set of files will 
probably be in "c:\Program Files" and Window's "Add or Remove" page 
should remove it.


If it was installed just for User A, then the "Add or Remove" page will 
find it if run from User A's account.  If for some reason User A will 
not or cannot cooperate, the admin could change User A's password and 
then run "Add or Remove".  Of course the admin would not be able to 
change the pw back, but if User A is not cooperating maybe that wouldn't 
matter.


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


[Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-03-28 Thread Yogesh Tirthkar
Hi Team,

Could you please advise on the scenario in windows 10 machine : Where we need 
to uninstall/remove python from user profile A (installed by user A in its own 
profile folder) - via an admin user or system account.

Currently when we try to uninstall it via admin/system account - it displays 
that the python product is not installed for this user (admin/system).

Appreciate your assistance.


Regards,
Yogesh.
_
Technology Group | GIC Private Limited | 168 Robinson Road, #37-01, Capital 
Tower, Singapore 068912


This email from GIC may contain confidential information. Unauthorised 
communication and disclosure of any information in this email is prohibited. If 
you are not the intended recipient, please notify the sender and delete this 
email immediately.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request for assistance (hopefully not OT)

2022-05-21 Thread Michael Torrie
On 5/21/22 06:19, o1bigtenor wrote:
> more useful - - - - well - - - - I don't have to wonder why 'linux' is
> used as much
> by the general populace as it is. The community likes to destroy
> itself - - - it
> is a pity - - - - the community has so much to offer.

As far as community goes, the Linux community (whatever that might refer
to) is pretty typical of all communities, including communities that
surround proprietary systems like Windows. For those that realize that
communication is two-way and individual effort is required, the
community is a wonderful resource of help and support.  For those that
approach it with impatience and demands for support without evidence of
individual effort, community members respond with much less alacrity.
This is true of *all* communities of all types.

I think in the Windows world people don't seem to have as many community
problems because most people simply aren't a part of the community--the
most impatient, grumpy people seem to have enough young relatives they
can coax to solve their problems for them.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request for assistance (hopefully not OT)

2022-05-21 Thread o1bigtenor
On Tue, May 17, 2022 at 6:20 AM o1bigtenor  wrote:
>
> Greetings
>
> I was having space issues in my /usr directory so I deleted some
> programs thinking that the space taken was more an issue than having
> older versions of the program.
>

Found the responses to my request quite interesting - - - actually fascinating.
To me a computer has to date been a tool - - - - not a tool kit - - -
- nor a place
to spend a life. This means that I have had to rely on other more knowledgeable
with the 'under the hood' material for advice. Have found that in the computer
world - - - - and especially the 'Linux' world that the idea of
assisting a requester,
well - - - it seems to be a foreign concept. To wit - - - in this
thread 50% of the
posts were of the variety - - - why would you do such a stupid thing. 40% of
the posts had some suggestions for at the least avenues of inquiry and only
1 post gave a carefully written response that not only gave ideas but suggested
a possible process to finding a solution.

It was necessary to manually install (download from the repository and
then using
dpkg -i to install) all of the necessary bits to each version that was
listed in the
complaint. I tried to use apt but that option did not produce useful results.
This was a lot more involved that one might think as there is not only
the pythonx.xx version but pythonx.xx-minimal and -dev and sometimes even -dbg.
The order of install was also important.

So even though the request for assistance was to much met by kvetching there
was enough 'help' so that it was possible to 'fix' the issue.

Thanks and kudus to those that did 'help' and those who found the kvetching
more useful - - - - well - - - - I don't have to wonder why 'linux' is
used as much
by the general populace as it is. The community likes to destroy
itself - - - it
is a pity - - - - the community has so much to offer.

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


Re: Request for assistance (hopefully not OT)

2022-05-18 Thread Loris Bennett
Chris Angelico  writes:

> On Wed, 18 May 2022 at 04:05, Loris Bennett  
> wrote:
>>
>> [snip (26 lines)]
>>
>> > I think you had a problem before that.  Debian testing is not an
>> > operating system you should be using if you have a fairly good
>> > understanding of how Debian (or Linux in general) works.
>>
>> Should be
>>
>>   I think you had a problem before that.  Debian testing is not an
>>   operating system you should be using *unless* you have a fairly good
>>   understanding of how Debian (or Linux in general) works.
>>
>> [snip (62 lines)]
>>
>
> Oh! My bad, didn't see this correction, sorry. With this adjustment,
> the comment is a bit more reasonable, although I'd still say it's
> generally fine to run Debian Testing on a personal desktop machine;
> there are a number of distros that base themselves on Testing.
>
> But yes, "unless" makes much more sense there.

It's lucky I never got "if" and "unless" mixed up when I used to program
in Perl ;-)

Yes, there are a number of distros based on Debian Testing, but those
tend to be aimed more at sysadmins (e.g. Kali and Grml) than people just
starting out with Linux.  However, with plain old Debian Testing you
need to be able to deal with things occasionally not working properly.
As the Debian people say about Testing: "If it doesn't work for you,
then there's a good chance it's broken."  And that's even before you
delete part of the OS with 'rm'.

Cheers,

Loris

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


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Michael Torrie
On 5/17/22 05:20, o1bigtenor wrote:
> What can I do to correct this self-inflicted problem?

Those are always the fun ones.  Reminds me of when I was first learning
Linux using Red Hat Linux 5.0 or 5.1.  This was long before nice
dependency-solving tools like apt.  I wanted to install and run
StarOffice, but it needed a newer libc (this was during the painful
transition from libc5 to glibc6).  I ended up removing libc which
*everything depends on, trying to get the glibc update installed.
Needless to say that broke the entire system. Nothing but a reinstall
could be done in those days.

Anyway, good luck. I think you can rescue it yet following the advice
others have given.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Wed, 18 May 2022 at 04:05, Loris Bennett  wrote:
>
> [snip (26 lines)]
>
> > I think you had a problem before that.  Debian testing is not an
> > operating system you should be using if you have a fairly good
> > understanding of how Debian (or Linux in general) works.
>
> Should be
>
>   I think you had a problem before that.  Debian testing is not an
>   operating system you should be using *unless* you have a fairly good
>   understanding of how Debian (or Linux in general) works.
>
> [snip (62 lines)]
>

Oh! My bad, didn't see this correction, sorry. With this adjustment,
the comment is a bit more reasonable, although I'd still say it's
generally fine to run Debian Testing on a personal desktop machine;
there are a number of distros that base themselves on Testing.

But yes, "unless" makes much more sense there.

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


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Wed, 18 May 2022 at 04:05, Loris Bennett  wrote:
> > So now I have problems.
>
> I think you had a problem before that.  Debian testing is not an
> operating system you should be using if you have a fairly good
> understanding of how Debian (or Linux in general) works.

I take issue with that! Debian Testing is a perfectly viable operating
system! I wouldn't use it on a server, but it's perfectly fine to use
it on a personal machine. You can generally consider Debian Testing to
be broadly as stable as Ubuntu non-LTS releases, although in my
opinion, it's actually quite a bit more dependable than them.

(Perhaps you're thinking of Debian Unstable?)

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


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Grant Edwards
On 2022-05-17, Loris Bennett  wrote:

> It might be possible to fix the system.  If will probably be fairly
> difficult, but you would probably learn a lot doing it.  However, if I
> were you, I would just install Debian stable over your borked system and
> then learn a bit more about package management.

Other then reinstalling, the easiest way to fix a broken system like
that requires access to a similarly configured system that isn't
broken. Find one of those, and start copying binaries from the working
system to the broken system. At some point, the broken system should
start to work well enough that you can re-install the packages you
broke by removing files behind the back of the package manager.

Whether that's going to be faster/easier than backing up your
configuration and data files and reinstalling Debian is another
question. My guess is that reinstalling would probably be faster.

FWIW, this is indeed off-topic for this group. It isn't a really
Python question, it's a Debian question.

--
Grant


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


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Loris Bennett
o1bigtenor  writes:

> Greetings
>
> I was having space issues in my /usr directory so I deleted some
> programs thinking that the space taken was more an issue than having
> older versions of the program.
>
> So one of the programs I deleted (using rm -r) was python3.9.

Deleting anything from /usr via 'rm -r' which was installed via the
package manager is an extremely bad idea.  If you want to remove stuff,
use the package manager.
 
> Python3.10 was already installed so I thought (naively!!!) that things
> should continue working.
> (Python 3.6, 3.7 and 3.8 were also part of this cleanup.)

Python 3.10 may be installed, but a significant number of packages
depend on Python 3.9.  That's why you should use the package manager -
it knows all about the dependencies.

> So now I have problems.

I think you had a problem before that.  Debian testing is not an
operating system you should be using if you have a fairly good
understanding of how Debian (or Linux in general) works.

> Following is the system barf that I get when I run '# apt upgrade'.
>
> What can I do to correct this self-inflicted problem?
>
> (running on debian testing 5.17

I think you mean just 'Debian testing', which is what will become the
next version of Debian, i.e. Debian 12.  The '5.17' is just the kernel
version, not a version of Debian. 

> Setting up python2.7-minimal (2.7.18-13.1) ...
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> /usr/bin/python2.7: can't open file
> '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or
> directory
> dpkg: error processing package python2.7-minimal (--configure):
>  installed python2.7-minimal package post-installation script
> subprocess returned error exit status 2
> Setting up python3.9-minimal (3.9.12-1) ...
> update-binfmts: warning: /usr/share/binfmts/python3.9: no executable
> /usr/bin/python3.9 found, but continuing anyway as you request
> /var/lib/dpkg/info/python3.9-minimal.postinst: 51: /usr/bin/python3.9: not 
> found
> dpkg: error processing package python3.9-minimal (--configure):
>  installed python3.9-minimal package post-installation script
> subprocess returned error exit status 127
> dpkg: dependency problems prevent configuration of python3.9:
>  python3.9 depends on python3.9-minimal (= 3.9.12-1); however:
>   Package python3.9-minimal is not configured yet.
>
> dpkg: error processing package python3.9 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python2.7:
>  python2.7 depends on python2.7-minimal (= 2.7.18-13.1); however:
>   Package python2.7-minimal is not configured yet.
>
> dpkg: error processing package python2.7 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3.9-dev:
>  python3.9-dev depends on python3.9 (= 3.9.12-1); however:
>   Package python3.9 is not configured yet.
>
> dpkg: error processing package python3.9-dev (--configure):
>  dependency problems - leaving unconfigured
> . . .
> Errors were encountered while processing:
>  python2.7-minimal
>  python3.9-minimal
>  python3.9
>  python2.7
>  python3.9-dev

It might be possible to fix the system.  If will probably be fairly
difficult, but you would probably learn a lot doing it.  However, if I
were you, I would just install Debian stable over your borked system and
then learn a bit more about package management.

Cheers,

Loris

-- 
This signature is currently under construction.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Loris Bennett
[snip (26 lines)]

> I think you had a problem before that.  Debian testing is not an
> operating system you should be using if you have a fairly good
> understanding of how Debian (or Linux in general) works.

Should be

  I think you had a problem before that.  Debian testing is not an
  operating system you should be using *unless* you have a fairly good
  understanding of how Debian (or Linux in general) works.

[snip (62 lines)]

-- 
This signature is currently under construction.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Chris Angelico
On Tue, 17 May 2022 at 21:22, o1bigtenor  wrote:
>
> Greetings
>
> I was having space issues in my /usr directory so I deleted some
> programs thinking that the space taken was more an issue than having
> older versions of the program.
>
> So one of the programs I deleted (using rm -r) was python3.9.
> Python3.10 was already installed so I thought (naively!!!) that things
> should continue working.
> (Python 3.6, 3.7 and 3.8 were also part of this cleanup.)

Did you install Python 3.9 using apt? If so, you should definitely
have removed it using apt - if for no reason than to find out if
something's depending on it.

Generally, Linux systems have just one "system Python" that other
applications depend on. Any other installed version is completely
independent.

> So now I have problems.
>
> Following is the system barf that I get when I run '# apt upgrade'.
>
> What can I do to correct this self-inflicted problem?
>
> (running on debian testing 5.17

I presume 5.17 is the Linux kernel version? Depending on how
up-to-date your Debian Testing is, that should theoretically mean that
the system Python is 3.10, which would imply that it should have been
safe to remove 3.9... but only if you had done it with apt.

> Setting up python2.7-minimal (2.7.18-13.1) ...
> Could not find platform independent libraries 
> Could not find platform dependent libraries 
> Consider setting $PYTHONHOME to [:]
> /usr/bin/python2.7: can't open file
> '/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or
> directory

Did you also use rm to get rid of Python 2.7?

> dpkg: error processing package python2.7-minimal (--configure):
>  installed python2.7-minimal package post-installation script
> subprocess returned error exit status 2
> Setting up python3.9-minimal (3.9.12-1) ...
> update-binfmts: warning: /usr/share/binfmts/python3.9: no executable
> /usr/bin/python3.9 found, but continuing anyway as you request
> /var/lib/dpkg/info/python3.9-minimal.postinst: 51: /usr/bin/python3.9: not 
> found
> dpkg: error processing package python3.9-minimal (--configure):
>  installed python3.9-minimal package post-installation script
> subprocess returned error exit status 127
> dpkg: dependency problems prevent configuration of python3.9:
>  python3.9 depends on python3.9-minimal (= 3.9.12-1); however:
>   Package python3.9-minimal is not configured yet.
>
> dpkg: error processing package python3.9 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python2.7:
>  python2.7 depends on python2.7-minimal (= 2.7.18-13.1); however:
>   Package python2.7-minimal is not configured yet.
>
> dpkg: error processing package python2.7 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of python3.9-dev:
>  python3.9-dev depends on python3.9 (= 3.9.12-1); however:
>   Package python3.9 is not configured yet.
>
> dpkg: error processing package python3.9-dev (--configure):
>  dependency problems - leaving unconfigured
> . . .
> Errors were encountered while processing:
>  python2.7-minimal
>  python3.9-minimal
>  python3.9
>  python2.7
>  python3.9-dev

So, yeah, you're definitely going to need to reinstate some parts of
Python to get this going.

If you can figure out which exact Python versions you need, it might
be possible to restore them manually. Download the packages from
packages.debian.org, then try to manually install them with dpkg, and
if that fails, unpack them and put the files into the right places.

It's going to be a pain. A lot of pain. And next time, use apt to
uninstall what apt installed :)

Something else to consider, though: It might not be Python that's
taking up all the space. On my system, /usr is dominated by /usr/lib
and /usr/local/lib, and while it might look like the pythonx.y
directories there are the large part, it's actually not Python itself
that's so big: it's other libraries, installed using either apt or
pip. So when you're trying to free up space, look to see whether you
have packages installed into every version of Python you have; the
largest directories in my python3.9/site-packages are scipy, plotly,
numpy, pandas, speech_recognition, matplotlib, and Cython - all great
tools, but if you have a copy for 3.9, a copy for 3.10, a copy for
3.11, etc, it adds up fast.

"Ten minutes with a hacksaw will save you thirty with a shovel"
-- Miss Pauling, discussing the art of uninstalling something

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


Re: Request for assistance (hopefully not OT)

2022-05-17 Thread Martin Di Paola

Try to reinstall python and only python and if you succeeds, then try to
reinstall the other tools.

For this, use "apt-get" instead of "apt"

$ sudo apt-get reinstall python3

When a system is heavily broken, be extra careful and read the output of
the programs. If "apt-get" says than in order to reinstall python it will have
to remove half of your computer, abort. Better ask than sorry.

Best of the lucks.

Martin.

On Tue, May 17, 2022 at 06:20:39AM -0500, o1bigtenor wrote:

Greetings

I was having space issues in my /usr directory so I deleted some
programs thinking that the space taken was more an issue than having
older versions of the program.

So one of the programs I deleted (using rm -r) was python3.9.
Python3.10 was already installed so I thought (naively!!!) that things
should continue working.
(Python 3.6, 3.7 and 3.8 were also part of this cleanup.)

So now I have problems.

Following is the system barf that I get when I run '# apt upgrade'.

What can I do to correct this self-inflicted problem?

(running on debian testing 5.17

Setting up python2.7-minimal (2.7.18-13.1) ...
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
/usr/bin/python2.7: can't open file
'/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or
directory
dpkg: error processing package python2.7-minimal (--configure):
installed python2.7-minimal package post-installation script
subprocess returned error exit status 2
Setting up python3.9-minimal (3.9.12-1) ...
update-binfmts: warning: /usr/share/binfmts/python3.9: no executable
/usr/bin/python3.9 found, but continuing anyway as you request
/var/lib/dpkg/info/python3.9-minimal.postinst: 51: /usr/bin/python3.9: not found
dpkg: error processing package python3.9-minimal (--configure):
installed python3.9-minimal package post-installation script
subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3.9:
python3.9 depends on python3.9-minimal (= 3.9.12-1); however:
 Package python3.9-minimal is not configured yet.

dpkg: error processing package python3.9 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
python2.7 depends on python2.7-minimal (= 2.7.18-13.1); however:
 Package python2.7-minimal is not configured yet.

dpkg: error processing package python2.7 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.9-dev:
python3.9-dev depends on python3.9 (= 3.9.12-1); however:
 Package python3.9 is not configured yet.

dpkg: error processing package python3.9-dev (--configure):
dependency problems - leaving unconfigured
. . .
Errors were encountered while processing:
python2.7-minimal
python3.9-minimal
python3.9
python2.7
python3.9-dev
--
https://mail.python.org/mailman/listinfo/python-list

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


Request for assistance (hopefully not OT)

2022-05-17 Thread o1bigtenor
Greetings

I was having space issues in my /usr directory so I deleted some
programs thinking that the space taken was more an issue than having
older versions of the program.

So one of the programs I deleted (using rm -r) was python3.9.
Python3.10 was already installed so I thought (naively!!!) that things
should continue working.
(Python 3.6, 3.7 and 3.8 were also part of this cleanup.)

So now I have problems.

Following is the system barf that I get when I run '# apt upgrade'.

What can I do to correct this self-inflicted problem?

(running on debian testing 5.17

Setting up python2.7-minimal (2.7.18-13.1) ...
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
/usr/bin/python2.7: can't open file
'/usr/lib/python2.7/py_compile.py': [Errno 2] No such file or
directory
dpkg: error processing package python2.7-minimal (--configure):
 installed python2.7-minimal package post-installation script
subprocess returned error exit status 2
Setting up python3.9-minimal (3.9.12-1) ...
update-binfmts: warning: /usr/share/binfmts/python3.9: no executable
/usr/bin/python3.9 found, but continuing anyway as you request
/var/lib/dpkg/info/python3.9-minimal.postinst: 51: /usr/bin/python3.9: not found
dpkg: error processing package python3.9-minimal (--configure):
 installed python3.9-minimal package post-installation script
subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3.9:
 python3.9 depends on python3.9-minimal (= 3.9.12-1); however:
  Package python3.9-minimal is not configured yet.

dpkg: error processing package python3.9 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.7:
 python2.7 depends on python2.7-minimal (= 2.7.18-13.1); however:
  Package python2.7-minimal is not configured yet.

dpkg: error processing package python2.7 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3.9-dev:
 python3.9-dev depends on python3.9 (= 3.9.12-1); however:
  Package python3.9 is not configured yet.

dpkg: error processing package python3.9-dev (--configure):
 dependency problems - leaving unconfigured
. . .
Errors were encountered while processing:
 python2.7-minimal
 python3.9-minimal
 python3.9
 python2.7
 python3.9-dev
-- 
https://mail.python.org/mailman/listinfo/python-list


Request for assistance

2014-11-21 Thread mmoradrrrr
I am in the process of creation of synthesis site looking at other sites, do 
any of you can aide true value of some books for aggregate roads, aggregate 
sites, and thank you 
-- 
https://mail.python.org/mailman/listinfo/python-list