Re: Assistance Needed: Corrupted Python Installation Uninstallation Issue

2024-01-29 Thread Mats Wichmann via Python-list

On 1/29/24 05:19, Syed Hamood via Python-list wrote:

Dear Python.org Support Team,

I hope this email finds you well. I am writing to seek assistance with an
issue I'm encountering while attempting to uninstall a corrupted Python
installation on my system.

Details of my system:

- Operating System: Windows 10
- Python Version: 3.11.3(64-bit)
- Installation Method: installer from Python.org

Description of the issue: [Provide a brief description of the problem
you're facing, any error messages received, or specific steps you've taken
so far.]

I have already tried the following:

- Deleting python. removing corrupted files from command prompt with
administrative privileges.

However, despite my efforts, I have been unable to successfully uninstall
the corrupted Python installation.


The more stuff you remove by hand the harder it is for the Windows 
installer to act to do an uninstall.


This tool usually helps if things are badly messed up:

https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

Haven't used it for a while, but after it tries basic overall repairs to 
the installation subsystem (which is probably okay), there are prompts 
you can follow to point to a specific program that doesn't want to 
uninstall.



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


Assistance Needed: Corrupted Python Installation Uninstallation Issue

2024-01-29 Thread Syed Hamood via Python-list
Dear Python.org Support Team,

I hope this email finds you well. I am writing to seek assistance with an
issue I'm encountering while attempting to uninstall a corrupted Python
installation on my system.

Details of my system:

   - Operating System: Windows 10
   - Python Version: 3.11.3(64-bit)
   - Installation Method: installer from Python.org

Description of the issue: [Provide a brief description of the problem
you're facing, any error messages received, or specific steps you've taken
so far.]

I have already tried the following:

   - Deleting python. removing corrupted files from command prompt with
   administrative privileges.

However, despite my efforts, I have been unable to successfully uninstall
the corrupted Python installation.

I would greatly appreciate any guidance or assistance you could provide to
help me resolve this matter and successfully uninstall Python from my
system. If there are specific steps or commands I should follow, or if
there are additional tools or resources I should utilize, please let me
know.

Thank you very much for your time and support. I look forward to hearing
from you soon.

Best regards, Syed Hamood Email: syedhamoodahmed...@gmail.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread Thomas Passin

On 3/10/2023 9:51 PM, Thomas Passin wrote:

On 3/10/2023 6:27 PM, Jan Vasko wrote:

Please note that you can't attach images in these posts, at least not so 
we can read them.  Instead, copy the messages from the console and paste 
them into your post.


I suggest that you check to make sure that your system hasn't been 
damaged or corrupted - just to make sure.  You can check it and have 
Windows restore any of the OS files if they have been damaged.  If 
everything is OK, then that would remove one potential issue, so it's 
worth doing.  It may take some time, but it's worth doing.


Here's what to do. First, open a console with administrative privileges 
- the easiest way is to press  and choose "Command Prompt 
(Admin).  In the console, run


dism /Online /Cleanup-Image /ScanHealth

(see 
https://www.dell.com/support/kbdoc/en-us/000122035/how-to-use-the-deployment-image-servicing-and-management-tool-dism-to-repair-the-windows-system-store)


If repairable problems are found, then run:

dism /Online /Cleanup-Image /RestoreHealth

Finally follow up by running

sfc /scannow

sfc can also repair some errors, and some people run it first, but I 
have read that it's more useful to run Dism first.


If any errors were found and corrected, reboot and try to uninstall 
Python3.11, then re-install it.


If no errors were found, report that back here and we'll try to go on 
from there.


If it were me, the next thing I'd try is to install Python 3.10.x.  I'd 
get a 64-bit installer from python.org. Yes, I know you want to install 
3.11, but this way will give you a clean, fresh installer to try.  If 
the installation succeeds, it would be a good data point and also give 
you a (somewhat) updated version of Python on your system.


I would like to ask you for help. I have been using Python 3.8 for 
almost 2 years and I decided to update to 3.11. Initially everything 
was correct. But at some point Windows shows me that Python is being 
reinstalled (I don't have a message print screen ..), but from that 
time I cannot run Python at all on my PC.


So I tried to reinstall it several times with no success. All the time 
I receive this "The system cannot find the file 
C:\Users...\AppData\Local\Programs\Python\Python311\python.exe."

But files are there:
[cid:image001.png@01D953B0.4E12E170]
Even when I try to run "python.exe" directly I receive this error:
[cid:image002.png@01D953B0.4E12E170]

System Variables are right (added it to both PATH):
1) User Variables:
[cid:image003.png@01D953B0.4E12E170]

2) System Variables
[cid:image004.png@01D953B0.4E12E170]

Strange thing is that after RE-Installing Python the "pip.exe" is 
missing in subfolder "Python/Scripts/" (it is simply empty - not 
installed but I mark pip to be installed):

[cid:image005.png@01D953B0.4E12E170]

I tried also Repair - no success.

Details:
System: Windows 10 (21H2)
Python: 3.11.0 (full 64bit installer from python.org)

   *   Downloaded from: Python Release Python 3.11.0 | 
Python.org


cmd:
[cid:image006.png@01D953B0.4E12E170]

This is resulting that I cannot use interpreter in VS Code and 
continue development. Any one Any Idea? Thank you


S pozdravem

Jan Vaško





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


Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread MRAB

On 2023-03-10 23:27, Jan Vasko wrote:

Hello all,


I would like to ask you for help. I have been using Python 3.8 for almost 2 
years and I decided to update to 3.11. Initially everything was correct. But at 
some point Windows shows me that Python is being reinstalled (I don't have a 
message print screen ..), but from that time I cannot run Python at all on my 
PC.

So I tried to reinstall it several times with no success. All the time I receive this 
"The system cannot find the file 
C:\Users...\AppData\Local\Programs\Python\Python311\python.exe."
But files are there:
[cid:image001.png@01D953B0.4E12E170]
Even when I try to run "python.exe" directly I receive this error:
[cid:image002.png@01D953B0.4E12E170]

System Variables are right (added it to both PATH):
1) User Variables:
[cid:image003.png@01D953B0.4E12E170]

2) System Variables
[cid:image004.png@01D953B0.4E12E170]

Strange thing is that after RE-Installing Python the "pip.exe" is missing in subfolder 
"Python/Scripts/" (it is simply empty - not installed but I mark pip to be installed):
[cid:image005.png@01D953B0.4E12E170]

I tried also Repair - no success.

Details:
System: Windows 10 (21H2)
Python: 3.11.0 (full 64bit installer from python.org)

   *   Downloaded from: Python Release Python 3.11.0 | 
Python.org

cmd:
[cid:image006.png@01D953B0.4E12E170]

This is resulting that I cannot use interpreter in VS Code and continue 
development. Any one Any Idea? Thank you

This list is text-only; images are automatically stripped. Please copy 
and paste any relevant text that they might contain.

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


Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread Thomas Passin

On 3/10/2023 6:27 PM, Jan Vasko wrote:

Please note that you can't attach images in these posts, at least not so 
we can read them.  Instead, copy the messages from the console and paste 
them into your post.


I suggest that you check to make sure that your system hasn't been 
damaged or corrupted - just to make sure.  You can check it and have 
Windows restore any of the OS files if they have been damaged.  If 
everything is OK, then that would remove one potential issue, so it's 
worth doing.  It may take some time, but it's worth doing.


Here's what to do. First, open a console with administrative privileges 
- the easiest way is to press  and choose "Command Prompt 
(Admin).  In the console, run


dism /Online /Cleanup-Image /ScanHealth

(see 
https://www.dell.com/support/kbdoc/en-us/000122035/how-to-use-the-deployment-image-servicing-and-management-tool-dism-to-repair-the-windows-system-store)


If repairable problems are found, then run:

dism /Online /Cleanup-Image /RestoreHealth

Finally follow up by running

sfc /scannow

sfc can also repair some errors, and some people run it first, but I 
have read that it's more useful to run Dism first.


If any errors were found and corrected, reboot and try to uninstall 
Python3.11, then re-install it.


If no errors were found, report that back here and we'll try to go on 
from there.



I would like to ask you for help. I have been using Python 3.8 for almost 2 
years and I decided to update to 3.11. Initially everything was correct. But at 
some point Windows shows me that Python is being reinstalled (I don't have a 
message print screen ..), but from that time I cannot run Python at all on my 
PC.

So I tried to reinstall it several times with no success. All the time I receive this 
"The system cannot find the file 
C:\Users...\AppData\Local\Programs\Python\Python311\python.exe."
But files are there:
[cid:image001.png@01D953B0.4E12E170]
Even when I try to run "python.exe" directly I receive this error:
[cid:image002.png@01D953B0.4E12E170]

System Variables are right (added it to both PATH):
1) User Variables:
[cid:image003.png@01D953B0.4E12E170]

2) System Variables
[cid:image004.png@01D953B0.4E12E170]

Strange thing is that after RE-Installing Python the "pip.exe" is missing in subfolder 
"Python/Scripts/" (it is simply empty - not installed but I mark pip to be installed):
[cid:image005.png@01D953B0.4E12E170]

I tried also Repair - no success.

Details:
System: Windows 10 (21H2)
Python: 3.11.0 (full 64bit installer from python.org)

   *   Downloaded from: Python Release Python 3.11.0 | 
Python.org

cmd:
[cid:image006.png@01D953B0.4E12E170]

This is resulting that I cannot use interpreter in VS Code and continue 
development. Any one Any Idea? Thank you

S pozdravem

Jan Vaško



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


RE: Python installation not full and python not working 3.11.0

2023-03-10 Thread Jan Vasko
Hello all,


I would like to ask you for help. I have been using Python 3.8 for almost 2 
years and I decided to update to 3.11. Initially everything was correct. But at 
some point Windows shows me that Python is being reinstalled (I don't have a 
message print screen ..), but from that time I cannot run Python at all on my 
PC.

So I tried to reinstall it several times with no success. All the time I 
receive this "The system cannot find the file 
C:\Users...\AppData\Local\Programs\Python\Python311\python.exe."
But files are there:
[cid:image001.png@01D953B0.4E12E170]
Even when I try to run "python.exe" directly I receive this error:
[cid:image002.png@01D953B0.4E12E170]

System Variables are right (added it to both PATH):
1) User Variables:
[cid:image003.png@01D953B0.4E12E170]

2) System Variables
[cid:image004.png@01D953B0.4E12E170]

Strange thing is that after RE-Installing Python the "pip.exe" is missing in 
subfolder "Python/Scripts/" (it is simply empty - not installed but I mark pip 
to be installed):
[cid:image005.png@01D953B0.4E12E170]

I tried also Repair - no success.

Details:
System: Windows 10 (21H2)
Python: 3.11.0 (full 64bit installer from python.org)

  *   Downloaded from: Python Release Python 3.11.0 | 
Python.org

cmd:
[cid:image006.png@01D953B0.4E12E170]

This is resulting that I cannot use interpreter in VS Code and continue 
development. Any one Any Idea? Thank you

S pozdravem

Jan Vaško

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


Re: Python installation

2022-07-04 Thread Dennis Lee Bieber
On Mon, 04 Jul 2022 13:29:00 +0100, Mark Pawelek 
declaimed the following:

>
>ISSUE:  I cannot select a folder to install Python in. I want to put
>it under Program Files. The 'installer' only wants to put it in
>C:\users\Lenovo\AppData\local\Programs\Python\Python310
>
That indicates two things: One, you are logged in as "Lenovo" and Two,
you are not running the installer with Admin privileges (or installed using
the "current user" option).

>What do I do to alter the path to something like:
>C:\Programs\Python310  or  C:\Program Files\Python310 ?
>

Install using admin privileges and select the "All Users" option.
Though I'd recommend installing to a simple C:\Python310. If you install in
the system default "Program Files" directory any updates (which may be PIP
module installs) will need to be done under admin privileges.


>RELEVANT INFO:  It is a new Win10 PC, with i5-6500 CPU, and I added
>the user less than a week ago the first time I used the PC since I
>bought it on ebay (sold by a charity). Microsoft forced me to create a
>user. I had to enter an email address and (local) password. I have an
>online Microsoft account associated with that email address, so MS
>validated me by texting a code to my mobile which I entered at the PC.
>I didn't create the UserName: Lenovo. MS did [BTW: the PC 'Host Name'
>is something else, but the 'System Manufacturer' = Lenovo]. This
>Administrator user is the ONLY login user. The account details are:
>
Someone chose that name. If M$ were choosing user names based on
manufacturer there would be thousands of "Lenovo" user names out there, and
that would not be possible for a "M$ login" (it would be possible for
"local machine" logins).

Furthermore, one CAN set up Windows 10 WITHOUT creating a Microsoft
Domain Login. Local login accounts can be created. The only reason I have a
M$ login on my machine is that they may want it for their "app store" and
things like Visual Studio -- my machine, however, is not logged in using
the M$ account, just my local username.



-- 
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation

2022-07-04 Thread Mats Wichmann
On 7/4/22 06:29, Mark Pawelek wrote:
> I also have a windows installation issue on Windows 10:
> 
> ISSUE:  I cannot select a folder to install Python in. I want to put
> it under Program Files. The 'installer' only wants to put it in
> C:\users\Lenovo\AppData\local\Programs\Python\Python310
> 
> What do I do to alter the path to something like:
> C:\Programs\Python310  or  C:\Program Files\Python310 ?
> 
> The installer I'm using is: python-3.10.5-amd64.exe - which I
> downloaded today.

The second page of Advanced Options has a section to customize the
install location.

If some vestige of the old installation lives on, so the installer
thinks it's modifying an existing install rather than a fresh one, that
option would be greyed out.

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


Re: Python installation

2022-07-04 Thread Mark Pawelek
I also have a windows installation issue on Windows 10:

ISSUE:  I cannot select a folder to install Python in. I want to put
it under Program Files. The 'installer' only wants to put it in
C:\users\Lenovo\AppData\local\Programs\Python\Python310

What do I do to alter the path to something like:
C:\Programs\Python310  or  C:\Program Files\Python310 ?

The installer I'm using is: python-3.10.5-amd64.exe - which I
downloaded today.

RELEVANT INFO:  It is a new Win10 PC, with i5-6500 CPU, and I added
the user less than a week ago the first time I used the PC since I
bought it on ebay (sold by a charity). Microsoft forced me to create a
user. I had to enter an email address and (local) password. I have an
online Microsoft account associated with that email address, so MS
validated me by texting a code to my mobile which I entered at the PC.
I didn't create the UserName: Lenovo. MS did [BTW: the PC 'Host Name'
is something else, but the 'System Manufacturer' = Lenovo]. This
Administrator user is the ONLY login user. The account details are:

Lenovo
Local User
Administrator

BTW: Python had already been installed 2 days ago when I modified
features for another program. I deleted that install before trying
this new one and YES - it was installed at:
C:\users\Lenovo\AppData\local\Programs\Python\Python38

On Tue, 21 Jun 2022 14:22:29 +0300, Brian Karinga
 wrote:

>Hello,
>
>I hope this email finds you well.
>
>I have been trying to download and install the latest version of python on
>my windows device. However, when I run the program, three options arise.
>These are:
>
>Modify
>Repair
>Uninstall
>
>I have executed the modify and repair options several times but nothing has
>changed. Please advise on what the problem could be and how it can be
>resolved.
>
>I look forward to hearing from you.
>
>Thank you,
>Brian.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation

2022-06-21 Thread Dennis Lee Bieber
On Tue, 21 Jun 2022 14:22:29 +0300, Brian Karinga 
declaimed the following:

>I have been trying to download and install the latest version of python on
>my windows device. However, when I run the program, three options arise.
>These are:
>
>Modify
>Repair
>Uninstall
>

You are (re-)running the INSTALLER. Once you've run it, hide it away
someplace and only look at it if you need to -- well -- repair or modify
the installation.

Python is not an IDE (it is not something like Visual Studio where one
opens a massive suite of editing/debugging tools which will eventually
invoke Visual C/C++/C#/BASIC compilers). It is a command line interpreter
which might (depending on install setting) configure the system to use it
to run files with .py (or .pyw for GUI applications where a console window
is not desired... note that running a .py by clicking on it will open a
console window, and that window will close when the program exits -- so
that option is often useless).


-- 
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation

2022-06-21 Thread Sam Ezeh
Inside my Windows virtual machine only entering `py` as the command
brings up the repl, if that helps.

Kind Regards,
Sam Ezeh

On Tue, 21 Jun 2022 at 18:15, Igor Korot  wrote:
>
> Hi,
>
> On Tue, Jun 21, 2022 at 11:43 AM Brian Karinga  wrote:
> >
> > Hello,
> >
> > I hope this email finds you well.
> >
> > I have been trying to download and install the latest version of python on
> > my windows device. However, when I run the program, three options arise.
> > These are:
> >
> > Modify
> > Repair
> > Uninstall
> >
> > I have executed the modify and repair options several times but nothing has
> > changed. Please advise on what the problem could be and how it can be
> > resolved.
>
> Is it possible that Python is already installed?
>
> Open "Command Prompt" window, type python and press "Enter".
>
> What do you see on the screen?
>
> Thank you.
>
> >
> > I look forward to hearing from you.
> >
> > Thank you,
> > Brian.
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation

2022-06-21 Thread Igor Korot
Hi,

On Tue, Jun 21, 2022 at 11:43 AM Brian Karinga  wrote:
>
> Hello,
>
> I hope this email finds you well.
>
> I have been trying to download and install the latest version of python on
> my windows device. However, when I run the program, three options arise.
> These are:
>
> Modify
> Repair
> Uninstall
>
> I have executed the modify and repair options several times but nothing has
> changed. Please advise on what the problem could be and how it can be
> resolved.

Is it possible that Python is already installed?

Open "Command Prompt" window, type python and press "Enter".

What do you see on the screen?

Thank you.

>
> I look forward to hearing from you.
>
> Thank you,
> Brian.
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Python installation

2022-06-21 Thread Brian Karinga
Hello,

I hope this email finds you well.

I have been trying to download and install the latest version of python on
my windows device. However, when I run the program, three options arise.
These are:

Modify
Repair
Uninstall

I have executed the modify and repair options several times but nothing has
changed. Please advise on what the problem could be and how it can be
resolved.

I look forward to hearing from you.

Thank you,
Brian.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IDLE is not working after Python installation .

2021-06-22 Thread Mats Wichmann



On 6/21/21 11:14 PM, Ayaana Soni wrote:

I  have installed python from your site. After installation my IDLE doesn't
work.  IDLE is not in my search list. Plz help!!




Thank you!



you asked this before, and didn't answer the questions you got in reply.

What does "doesn't work" mean? How is the problem manifested?  Doesn't 
IDLE selected from the start menu come up? Normally the installation 
creates a shortcut there that "does the right thing".  On Windows you 
don't normally start IDLE by typing a command name. You *can* bring it 
up from a command-line if you type


py -m idlelib

but this is definitely not the most common way to launch.

If you haven't read it, look at

https://docs.python.org/3/using/windows.html


among other things, the Microsoft Store version of Python is sometimes a 
little easier to get started with (it's the same programs, just packaged 
differently)

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


Re: IDLE is not working after Python installation .

2021-06-22 Thread Terry Reedy

On 6/22/2021 1:14 AM, Ayaana Soni wrote:

I  have installed python from your site.


For what OS.


After installation my IDLE doesn't work.


How did you try to start it?  Did you read the Using Python doc on the 
website?  Can you start python?



 IDLE is not in my search list.


On Windows and macOS, IDLE is usually started from an installed icon.

--
Terry Jan Reedy

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


IDLE is not working after Python installation .

2021-06-21 Thread Ayaana Soni
I  have installed python from your site. After installation my IDLE doesn't
work.  IDLE is not in my search list. Plz help!!




Thank you!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Regarding Python installation issue

2021-03-11 Thread Igor Korot
Hi,

On Thu, Mar 11, 2021 at 8:57 AM APURVA DHOK  wrote:
>
> Hi, I am Apurva
> I am facing a problem with the Python installation. After installing any
> Python version with(32 bit/64bit) on windows the script folder in python is
> empty please help me to get pip.exe and easy_install.exe

Which python did you install?
Which version?
You have Windows 10 or smth else?

Thank you.

>
> Thanks & Regards
> Apurva Dhok
> 9145619646
> Pune, Maharashtra, India
> --
> https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list


Regarding Python installation issue

2021-03-11 Thread APURVA DHOK
Hi, I am Apurva
I am facing a problem with the Python installation. After installing any
Python version with(32 bit/64bit) on windows the script folder in python is
empty please help me to get pip.exe and easy_install.exe

Thanks & Regards
Apurva Dhok
9145619646
Pune, Maharashtra, India
-- 
https://mail.python.org/mailman/listinfo/python-list


Reply: Issues in Python Installation

2020-10-07 Thread nichalvedant07
someone please help me out it would be of great help



Sent from vivo smartphone
> Hello,
>
>  
>
> I am an amateur python developer but I’m facing a lot of issues regarding 
> python installation on windows 10...whenever I install python on y 
> pc...irrespective of its version my scripts folder is always empty..so I 
> tried installing pip from the zip file available at pipy.org...pip got 
> installed successfully but when I used it I received an error saying…
>
> OsError [Errno9]: Bad File Descriptor
>
> So, I’m not able to install pip and other modules due to which I’m facing a 
> lot of issues.
>
> I would really appreciate a lot if you can help me out of this.
>
> I have tried out alternatives for python interpreter like anaconda, 
> mimiconda, win python, etc.. But in vain..
>
> I have tried 100s of solutions but still for no good...
>
> Requesting you to please please please help me out of this...
>
> I will be really happy and grateful to you if you could help me out of this...
>
>  
>
> Thanks and Regards,
>
> Vedant Nichal
>
>  
>
> Sent from Mail for Windows 10
>
>  
>
>
> Virus-free. www.avast.com
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issue with Python installation for a beginner Python coder.

2020-07-31 Thread boB Stepp
On Thu, Jul 30, 2020 at 9:24 AM Sarvesh Poddar via Python-list
 wrote:

> I re-installed Python in my Windows system as the earlier one was not able to 
> import modules...

You do not provide much detail to diagnose what your problem(s)
is(are).  By the "earlier one" is it the same version as the one you
re-installed?  Were you able to run IDLE with the "earlier one"?  By
not being able to import modules do you mean modules from Python's
standard library?  Or do you mean installing third party libraries
using pip?

> ...But now I am not able to open IDLE after multiple tries.

Have you looked in your start menu in the list of installed programs
for Python?  If it is there did you expand it and see if there is an
entry for IDLE?  How have you been trying (unsuccessfully) to open
IDLE?


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


Issue with Python installation for a beginner Python coder.

2020-07-30 Thread Sarvesh Poddar via Python-list
Hi,
I re-installed Python in my Windows system as the earlier one was not able to 
import modules. But now I am not able to open IDLE after multiple tries. 
Can you guys help me? I am a beginner and tried out a lot of solutions provided 
on the internet and it's just not getting fixed.
Please help. I look forward to it. 
PS : Falling in love with Python, slow and steady! 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-19 Thread Mats Wichmann
On 7/18/20 5:02 PM, dn via Python-list wrote:

> - most docs seem to try to be 'all things to all people', whereas the
> differences between platforms inevitably make the writing complicated
> and the reading difficult to follow. Thus, consider separating entries
> by OpSys and/or installation method.

Like https://docs.python.org/3/using/index.html ?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-18 Thread dn via Python-list

On 18/07/20 11:48 PM, Oscar Benjamin wrote:

On Sat, 18 Jul 2020 at 05:39, dn via Python-list  wrote:


On 18/07/20 3:29 PM, boB Stepp wrote:

On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
 wrote:


On 18/07/20 1:53 PM, Castillo, Herbert S wrote:

I downloaded python not to long ago, and today when I opened Python on Windows 
it gave me a modify setup prompt. I have tried to click on modify , repair and 
even uninstalled and installed it back, but when I try to open Python up again, 
I keep on getting the same modify setup prompt. I am not sure of what to do? 
Thank you in advance.



Just for grins I just now glanced at the link dn provided.  Yes, this
is a very thorough, very accurate, very *technical* help resource.
But if I were a person who had never seen a shell, cmd.exe or
Powershell window, never programmed before, had no clue about how to
truly use my OS, etc., I don't think I would understand a bit of this
"help" document, and, at best, would find it very intimidating.  If
this community does wish to cater to those who are totally new to the
world of programming and learning how to really use their PC at any
depth, then I think a different approach or set of documents is
needed.  And an easier way for those playing with the idea of learning
programming and Python to connect with such documentation.


[snip]


There is also THE Python Tutorial - the opening action is two?three
pages 'in'. Is that suitably less-technical and more usable to a 'beginner'?
https://docs.python.org/3/tutorial/index.html


I would say that the official tutorial is not targeted at the total
novice. I think it used to be described as the tutorial for people
with experience of programming in other languages but I might be
misremembering.

The main python.org page links to a "beginners guide" well actually
there are two beginners guides...
https://www.python.org/

...


Certainly I don't see it if I go straight to the download pages:
https://www.python.org/downloads/
https://www.python.org/downloads/windows/

I think if I was new to programming or installing software in general
I would find all of this quite bewildering.

My experience of teaching total novice programmers is that you really
can't shirk the fundamental question: how should I install this thing
and start using it *before* I have any idea what I'm doing? Novices
don't need to be told that there are 100 ways to do it: they need to
be told exactly how to do it in a way that will work for them.

...

+1, well written!


For grins (as boB would say) I scanned Oracle's intro pages to Java 
programming (JDK), and they have a logical progression from installation 
instructions to "proving" the installation with the ubiquitous 
Hello-World first-program.


Whereas the MySQL web site requires one to select the appropriate 
download and then remember (!) to keep reading. Whereupon the manual 
offers advice about testing the server, etc.


Whereas those are decades old and well-established, in case of 
comparison the 'younger' MongoDB's documentation was more complicated. 
The installation of the server was not followed by a link to information 
about running the client, to be able to assure the system and understand 
the most basic (debugging?) linkage.



None of these are suited to the 'smart phone' world, where software is 
selected from an 'app store' and once installed, 'it just works'. Is 
that where these neophyte users' troubles start - a disconnect between 
such expectations and the Python reality?
(it's all very alien to my Linux world/memories of MS-Win .msi files 
with a check-box at the end which invited a start-up or display of 
suitable help files)


Yes, the observation that we have folk who are quite probably 
downloading a command-line program(me) for the first time in their 
lives, but is that a valid excuse?



What I've run out of time to compare-and-contrast is the advantage of 
pointing users at a Python-environment distribution, eg Anaconda. If 
'we' are less interested in caring for beginners and their basic needs, 
should we point them at others who are?



Observations (further to/underlining @Oscar's points):

- the requirements of a beginner installing for the first time (and 
maybe his/her first programming language) are totally different to 
someone wanting to install a new version of Python or on a new machine. 
(ie done-it-all-before/want it to be quick-and-easy/don't bother me with 
loads of docs)


- most docs seem to try to be 'all things to all people', whereas the 
differences between platforms inevitably make the writing complicated 
and the reading difficult to follow. Thus, consider separating entries 
by OpSys and/or installation method.


- a reference manual is not 'the place' for beginners, who require a 
more tutorial/hand-holding approach


- a beginners' installation tutorial should include a first program(me) 
and thus run through the command-line/editor/execute/REPL etc 
philosophies. This may be opening yet another

Re: A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-18 Thread Oscar Benjamin
On Sat, 18 Jul 2020 at 05:39, dn via Python-list  wrote:
>
> On 18/07/20 3:29 PM, boB Stepp wrote:
> > On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
> >  wrote:
> >>
> >> On 18/07/20 1:53 PM, Castillo, Herbert S wrote:
> >>> I downloaded python not to long ago, and today when I opened Python on 
> >>> Windows it gave me a modify setup prompt. I have tried to click on modify 
> >>> , repair and even uninstalled and installed it back, but when I try to 
> >>> open Python up again, I keep on getting the same modify setup prompt. I 
> >>> am not sure of what to do? Thank you in advance.
> >>
> >>
> >> Regret that this mailing list does not support graphics attachments.
> >>
> >> Which part of https://docs.python.org/dev/using/windows.html failed?
> >
> > Just for grins I just now glanced at the link dn provided.  Yes, this
> > is a very thorough, very accurate, very *technical* help resource.
> > But if I were a person who had never seen a shell, cmd.exe or
> > Powershell window, never programmed before, had no clue about how to
> > truly use my OS, etc., I don't think I would understand a bit of this
> > "help" document, and, at best, would find it very intimidating.  If
> > this community does wish to cater to those who are totally new to the
> > world of programming and learning how to really use their PC at any
> > depth, then I think a different approach or set of documents is
> > needed.  And an easier way for those playing with the idea of learning
> > programming and Python to connect with such documentation.
> >
[snip]
>
> There is also THE Python Tutorial - the opening action is two?three
> pages 'in'. Is that suitably less-technical and more usable to a 'beginner'?
> https://docs.python.org/3/tutorial/index.html

I would say that the official tutorial is not targeted at the total
novice. I think it used to be described as the tutorial for people
with experience of programming in other languages but I might be
misremembering.

The main python.org page links to a "beginners guide" well actually
there are two beginners guides...
https://www.python.org/

Under "get started" there is a link to this beginners guide:
https://www.python.org/about/gettingstarted/

You can also hover over documentation and choose beginners guide to
get this one:
https://wiki.python.org/moin/BeginnersGuide

The former starts by asking whether you are new to programming and if
so suggests this page:
https://wiki.python.org/moin/BeginnersGuide/NonProgrammers

It also has an "installing" section which links to here:
https://wiki.python.org/moin/BeginnersGuide/Download

All of these have lots of information and many links to other pages.
I'm not sure how you'd find the page dn linked to which is at least
more direct about how to install:
https://docs.python.org/dev/using/windows.html

Certainly I don't see it if I go straight to the download pages:
https://www.python.org/downloads/
https://www.python.org/downloads/windows/

I think if I was new to programming or installing software in general
I would find all of this quite bewildering.

My experience of teaching total novice programmers is that you really
can't shirk the fundamental question: how should I install this thing
and start using it *before* I have any idea what I'm doing? Novices
don't need to be told that there are 100 ways to do it: they need to
be told exactly how to do it in a way that will work for them.

If I was writing the tutorial but aiming at total novices I would
probably begin by suggesting to use an online shell:
https://www.python.org/shell/

There could be a short guide there that explains very clearly how to
do simple commands in that online shell. At that point you are ready
to test the examples from page 3 of the official tutorial but I think
it is still not pitched at novices:
https://docs.python.org/3/tutorial/introduction.html

Then after a few examples and some familiarity it could be time to
suggest installing locally. That should be with a no nonsense
explanation that makes no reference to terminals, PATH, etc because
those are just intimidating distractions to a novice at that point in
time.

The sympy docs have a lot of room for improvement but one of the
things that is very useful for beginners there is the "Run code block
in sympy live" button which means that you can follow the
tutorial/docs and try things out before having anything installed
locally:
https://docs.sympy.org/latest/tutorial/intro.html#introduction

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


Re: A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-17 Thread dn via Python-list

On 18/07/20 3:29 PM, boB Stepp wrote:

On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
 wrote:


On 18/07/20 1:53 PM, Castillo, Herbert S wrote:

I downloaded python not to long ago, and today when I opened Python on Windows 
it gave me a modify setup prompt. I have tried to click on modify , repair and 
even uninstalled and installed it back, but when I try to open Python up again, 
I keep on getting the same modify setup prompt. I am not sure of what to do? 
Thank you in advance.



Regret that this mailing list does not support graphics attachments.

Which part of https://docs.python.org/dev/using/windows.html failed?


Just for grins I just now glanced at the link dn provided.  Yes, this
is a very thorough, very accurate, very *technical* help resource.
But if I were a person who had never seen a shell, cmd.exe or
Powershell window, never programmed before, had no clue about how to
truly use my OS, etc., I don't think I would understand a bit of this
"help" document, and, at best, would find it very intimidating.  If
this community does wish to cater to those who are totally new to the
world of programming and learning how to really use their PC at any
depth, then I think a different approach or set of documents is
needed.  And an easier way for those playing with the idea of learning
programming and Python to connect with such documentation.

I think that we take a lot for granted that is second nature to most
of us.  Also, most of us have the mindset that even when all of this
programming stuff was new to us (If we can even truly remember that
anymore.), we would have the problem-solving chops to get over these
hurdles.  Many don't have these native inclinations.  Searching online
for technical solutions is completely foreign to many.  Even searching
for anything may be more challenging than we suspect for some.

I am just a Python hobbyist/dabbler, not a pro like most of you, but I
have taught kids through adults various subjects in the past, helped
seniors, etc., and a lot of what we take for granted is *not* easy for
many.  But I believe that almost everyone that can get to the point of
believing that they can perhaps learn programming, can do so, but may
need some encouragement to get to that point of "self-belief".

Sure, some people are just too lazy and want to be spoon-fed, but I
truly believe that is a minority.  Can we make this easier for those
who really would like to try?

Just some thoughts that I hope will be constructively received.



There is also THE Python Tutorial - the opening action is two?three 
pages 'in'. Is that suitably less-technical and more usable to a 'beginner'?

https://docs.python.org/3/tutorial/index.html
--
Regards =dn
--
https://mail.python.org/mailman/listinfo/python-list


A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-17 Thread boB Stepp
On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
 wrote:
>
> On 18/07/20 1:53 PM, Castillo, Herbert S wrote:
> > I downloaded python not to long ago, and today when I opened Python on 
> > Windows it gave me a modify setup prompt. I have tried to click on modify , 
> > repair and even uninstalled and installed it back, but when I try to open 
> > Python up again, I keep on getting the same modify setup prompt. I am not 
> > sure of what to do? Thank you in advance.
>
>
> Regret that this mailing list does not support graphics attachments.
>
> Which part of https://docs.python.org/dev/using/windows.html failed?

Just for grins I just now glanced at the link dn provided.  Yes, this
is a very thorough, very accurate, very *technical* help resource.
But if I were a person who had never seen a shell, cmd.exe or
Powershell window, never programmed before, had no clue about how to
truly use my OS, etc., I don't think I would understand a bit of this
"help" document, and, at best, would find it very intimidating.  If
this community does wish to cater to those who are totally new to the
world of programming and learning how to really use their PC at any
depth, then I think a different approach or set of documents is
needed.  And an easier way for those playing with the idea of learning
programming and Python to connect with such documentation.

I think that we take a lot for granted that is second nature to most
of us.  Also, most of us have the mindset that even when all of this
programming stuff was new to us (If we can even truly remember that
anymore.), we would have the problem-solving chops to get over these
hurdles.  Many don't have these native inclinations.  Searching online
for technical solutions is completely foreign to many.  Even searching
for anything may be more challenging than we suspect for some.

I am just a Python hobbyist/dabbler, not a pro like most of you, but I
have taught kids through adults various subjects in the past, helped
seniors, etc., and a lot of what we take for granted is *not* easy for
many.  But I believe that almost everyone that can get to the point of
believing that they can perhaps learn programming, can do so, but may
need some encouragement to get to that point of "self-belief".

Sure, some people are just too lazy and want to be spoon-fed, but I
truly believe that is a minority.  Can we make this easier for those
who really would like to try?

Just some thoughts that I hope will be constructively received.

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


Re: python installation help

2020-07-10 Thread Bob Gailer
On Jul 10, 2020 1:04 PM, "Deepak Didmania" <6073sum...@gmail.com> wrote:
>
> please help me in installing python

Visit this page: https://www.python.org/about/gettingstarted/

If you get stuck, reply-all and tell us:

Your computer's operating system,
Version of python you're trying to install,
What you tried,
Results you got that you weren't expecting.
Don't attach screenshots as they probably won't come through.

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


Re: python installation help

2020-07-10 Thread Bischoop
On 2020-07-10, Deepak Didmania <6073sum...@gmail.com> wrote:
> please help me in installing python

Well I don't think anybody here has a Wizard Glass Ball.
You need to state what is your problem, what erro message you have
during istallation.
-- 
https://mail.python.org/mailman/listinfo/python-list


python installation help

2020-07-10 Thread Deepak Didmania
please help me in installing python
-- 
https://mail.python.org/mailman/listinfo/python-list


Fwd: Removing python installation

2020-05-14 Thread Shawn Hoffman
I've somehow wound up in a situation where I have both 3.7.5 and 3.7.6
installed, and the py.exe launcher can find both of them, and defaults
to the older one:

>py -0p
Installed Pythons found by py Launcher for Windows
 -3.7-64"C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\python.exe" *
 -3.7-64C:\Users\shawn\AppData\Local\Programs\Python\Python37\python.exe

As you can see, the 3.7.5 install is from Visual Studio. I want to
remove this python installation, however while uninstalling it via the
VS Installer GUI appears to work, none of the files are removed. Only
the json file VS Installer uses to track the package is removed. In
the VS Installer logs, I see:

Skipping uninstall of 'CPython3.Exe.x64,version=3.7.5,chip=x64'
because it is permanent.

which seems suspicious.

Additionally, in the aforementioned json file I can see the installer
being used is "python-3.7.5-amd64.exe" from
https://go.microsoft.com/fwlink/?linkid=2109129 , with args:
"/quiet /log \"[LogFile]\" InstallAllUsers=1 CompileAll=1
Include_symbols=1 TargetDir=\"[SharedInstallDir]\\Python37_64\""

So, I've downloaded this installer and tried to run it with the
/uninstall option. Again, the uninstall appears to complete OK, but
the files are not removed.
The uninstall log is here:
https://gist.github.com/shuffle2/3c3aa736f5cf9579e6e4a4a33b1ad81d

Is there some "clean" way to remove this VS-installed 3.7.5 (and not
break the 3.7.6 install)?

Thanks,
-Shawn
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
What is the error can you copy and paste? Because this list does not
support attachment.

Souvik flutter dev

On Wed, May 6, 2020, 7:49 AM Adolf Yoshua Marbun 
wrote:

> Yes, I did. I did this before the installation began, checked the "add to
> PATH" option.
>
> On Wed, May 6, 2020 at 9:17 AM Souvik Dutta 
> wrote:
>
>> Have you added python to path? If not then you will have to do it.
>>
>> Souvik flutter dev
>>
>> On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun <
>> adolfbordeau...@gmail.com> wrote:
>>
>>> Dear Python,
>>>
>>> I am currently learning about Python. First thing first, I need to
>>> install
>>> the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
>>> during running command.
>>>
>>> The installation was successful. When I try to run the command prompt,
>>> typing "python --version", it always shows me an error message as
>>> attached
>>> below this message. I tried to follow the message (reinstalling the
>>> program), but didn't work. I don't know what it is and I have tried few
>>> times to solve the problem from the internet.
>>>
>>> I wish Python could help me find a solution. Thank you very much.
>>>
>>>
>>> --
>>> *Regards,*
>>> *Adolf Yoshua Marbun*
>>> --
>>> https://mail.python.org/mailman/listinfo/python-list
>>>
>>
>
> --
> *Regards,*
> *Adolf Yoshua Marbun*
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python Installation Problem

2020-05-05 Thread Adolf Yoshua Marbun
Yes, I did. I did this before the installation began, checked the "add to
PATH" option.

On Wed, May 6, 2020 at 9:17 AM Souvik Dutta  wrote:

> Have you added python to path? If not then you will have to do it.
>
> Souvik flutter dev
>
> On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun <
> adolfbordeau...@gmail.com> wrote:
>
>> Dear Python,
>>
>> I am currently learning about Python. First thing first, I need to install
>> the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
>> during running command.
>>
>> The installation was successful. When I try to run the command prompt,
>> typing "python --version", it always shows me an error message as attached
>> below this message. I tried to follow the message (reinstalling the
>> program), but didn't work. I don't know what it is and I have tried few
>> times to solve the problem from the internet.
>>
>> I wish Python could help me find a solution. Thank you very much.
>>
>>
>> --
>> *Regards,*
>> *Adolf Yoshua Marbun*
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>

-- 
*Regards,*
*Adolf Yoshua Marbun*
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python Installation Problem

2020-05-05 Thread Souvik Dutta
Have you added python to path? If not then you will have to do it.

Souvik flutter dev

On Wed, May 6, 2020, 1:28 AM Adolf Yoshua Marbun 
wrote:

> Dear Python,
>
> I am currently learning about Python. First thing first, I need to install
> the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
> during running command.
>
> The installation was successful. When I try to run the command prompt,
> typing "python --version", it always shows me an error message as attached
> below this message. I tried to follow the message (reinstalling the
> program), but didn't work. I don't know what it is and I have tried few
> times to solve the problem from the internet.
>
> I wish Python could help me find a solution. Thank you very much.
>
>
> --
> *Regards,*
> *Adolf Yoshua Marbun*
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python Installation Problem

2020-05-05 Thread MRAB

On 2020-05-05 23:20, Rhodri James wrote:

On 05/05/2020 05:34, Adolf Yoshua Marbun wrote:

Dear Python,

I am currently learning about Python. First thing first, I need to install
the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
during running command.

The installation was successful. When I try to run the command prompt,
typing "python --version", it always shows me an error message as attached
below this message. I tried to follow the message (reinstalling the
program), but didn't work. I don't know what it is and I have tried few
times to solve the problem from the internet.


Unfortunately this is a text-only mailing list, and your attachment was
stripped off before any of us had the chance to see it.  Could you copy
and paste the error message into a message, please?  Also if you could
let us know what operating system you are using, some people may be able
to offer more detailed advice.

If you're using Windows and it's complaining that it can't find 
"python", try the Python launcher instead:


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


Re: Python Installation Problem

2020-05-05 Thread Rhodri James

On 05/05/2020 05:34, Adolf Yoshua Marbun wrote:

Dear Python,

I am currently learning about Python. First thing first, I need to install
the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
during running command.

The installation was successful. When I try to run the command prompt,
typing "python --version", it always shows me an error message as attached
below this message. I tried to follow the message (reinstalling the
program), but didn't work. I don't know what it is and I have tried few
times to solve the problem from the internet.


Unfortunately this is a text-only mailing list, and your attachment was 
stripped off before any of us had the chance to see it.  Could you copy 
and paste the error message into a message, please?  Also if you could 
let us know what operating system you are using, some people may be able 
to offer more detailed advice.


--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list


Python Installation Problem

2020-05-05 Thread Adolf Yoshua Marbun
Dear Python,

I am currently learning about Python. First thing first, I need to install
the interpreter Python 3.8.2 before I get to the IDE. But, I have problem
during running command.

The installation was successful. When I try to run the command prompt,
typing "python --version", it always shows me an error message as attached
below this message. I tried to follow the message (reinstalling the
program), but didn't work. I don't know what it is and I have tried few
times to solve the problem from the internet.

I wish Python could help me find a solution. Thank you very much.


-- 
*Regards,*
*Adolf Yoshua Marbun*
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Fw: Python installation problem

2020-04-01 Thread Michael Torrie
On 4/1/20 11:09 AM, HERNANDEZ AGUIRRE JOSE GABRIEL DE LA DOLOROSA wrote:
> Para: python-list@python.org
> 
> I  installed  the Python software , but I could not find the python.exe file 
> with the Unscramble software

Actually in windows 10, Idle shows up in the start menu under the "I"s,
not in a python  folder.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Fw: Python installation problem

2020-04-01 Thread Michael Torrie
On 4/1/20 11:09 AM, HERNANDEZ AGUIRRE JOSE GABRIEL DE LA DOLOROSA wrote:
> I  installed  the Python software , but I could not find the python.exe file 
> with the Unscramble software

What is this "Unscramble software?"

After Python is installed, you probably will find the "Idle" integrated
development environment in your start menu under "Python."

Looks like recent versions of Python default to installing into your
home directory under AppData\Local\Programs\Python-38-32 (or -64).  Look
in there for python.exe and pythonw.exe.  Please note that Python is not
like Visual Studio. It's an interpreter that is meant to be run from the
command line with python script files you create in an editor.

It may also be helpful to click the option in the installed to add
Python to the PATH. That way you can just run python.exe from any
command prompt.
-- 
https://mail.python.org/mailman/listinfo/python-list


Fw: Python installation problem

2020-04-01 Thread HERNANDEZ AGUIRRE JOSE GABRIEL DE LA DOLOROSA



En Mar, 31 Marzo, 2020 en 18:48, yo  escribió:
 

Para: python-list@python.org

I  installed  the Python software , but I could not find the python.exe file 
with the Unscramble software


What do you advise ?


Regards



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


Re: Error in python installation - was Re: Python, Be Bold!

2020-01-05 Thread Michael Torrie
On 1/5/20 7:59 AM, Kishor Soni wrote:
> After proceeding installation, few minutes later such error appears 
> "0x80072f7d - unspecified error"
> A log file is generated and attached herewith

I prefer to keep communication on the list.  Where did you download the
installer from?  Python.org or some other distribution like Anaconda?
Are you installing for all users, or just for your current user?  What
has google found about this error message and python?  Does google tell
you whether anyone else has seen this error message while installing
Python before?

I don't have Windows, so I can only speculate, and do the same google
searches you can do.

Finally, have you tried installing Python through the Microsoft Store on
Windows 10?  It's officially released by python.org core devs and should
always be free.
-- 
https://mail.python.org/mailman/listinfo/python-list


Segmentation violation with python installation under Tumbleweed

2019-12-30 Thread amitsis
Hello,

My full Python installation doesn't seem to work due to a segmentation 
violation issue with libc-2.30:

Dec 30 23:54:14 craylinux1 Kernel: Python [8467]: Segfault at 100013483 ip 
7f6594c896b6 sp 7ffe1570d188 error 4 in libc-2.30.so [7f6594c1 + 
14d000]
30.12. 23:54:14 craylinux1 kernel: Code: 0f 1f 40 00 66 0f ef c0 66 0f ef c9 66 
0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 
00 77 6a  0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83

I think this is just a bug of mismatched binaries and libraries in my Python 
installation.

I want to reinstall the full Python installation including the libraries now, 
but how can you do it with Zypper to get a clean Python environment again?

Any help with the detailed command lines would be greatly appreciated.

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


Error in python installation

2019-12-27 Thread Kishor Soni via Python-list
Hello
I have Intel DH61 series mother board, with Windows7 64bit + SP1 + some 
debugging components ( as shown in microsoft website, as service pack for W7)
however when I try to install current version of python, it displays error.
See the screenshot attached herewith.
(board configuration displays in background window)

Kishor Soni,
Vid Technology,
Rajkot - Gujarat.
URL: www.vidtech.co.in,
Landline: 0281-2225527
Cell: 093757 25527
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation.

2019-09-23 Thread Brian Korir
I used Windows x86-64 executable installer the first two times and Windows
x86-64 web-based installer. They both yielded the same result.

On Tue, 24 Sep 2019 05:46 Cameron Simpson,  wrote:

> On 24Sep2019 00:12, Brian Korir  wrote:
> >I receive a 'not a valid Win32...' after a few minutes of installing
> python
> >3.7.4. I have reinstalled it several times with the same results. My
> laptop
> >uses windows 7, 64-bit. What can I do to solve this?  Thank you.
>
> Are you using the appropriate installer? In particular (guessing from
> the message) might you have fetched a 32 bit install instead of the
> x86-64 installer?
>
> Please check this page:
>
>   https://www.python.org/downloads/windows/
>
> for installers, and if you've definitely got the right installer please
> post details about what installer you chose.
>
> Disclaimer: not a Windows person.
>
> Cheers,
> Cameron Simpson 
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation.

2019-09-23 Thread Cameron Simpson

On 24Sep2019 00:12, Brian Korir  wrote:

I receive a 'not a valid Win32...' after a few minutes of installing python
3.7.4. I have reinstalled it several times with the same results. My laptop
uses windows 7, 64-bit. What can I do to solve this?  Thank you.


Are you using the appropriate installer? In particular (guessing from 
the message) might you have fetched a 32 bit install instead of the 
x86-64 installer?


Please check this page:

 https://www.python.org/downloads/windows/

for installers, and if you've definitely got the right installer please 
post details about what installer you chose.


Disclaimer: not a Windows person.

Cheers,
Cameron Simpson 
--
https://mail.python.org/mailman/listinfo/python-list


python installation.

2019-09-23 Thread Brian Korir
I receive a 'not a valid Win32...' after a few minutes of installing python
3.7.4. I have reinstalled it several times with the same results. My laptop
uses windows 7, 64-bit. What can I do to solve this?  Thank you.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Issue with Python installation

2019-09-11 Thread Rhodri James

On 11/09/2019 17:48, Manasiz Paul wrote:

Dear Sir/Madam,

I have installed the latest version of Python but while running it, I am
facing this issue continuously.
[image: Untitled.png]


I'm afraid the mailing list stripped off your attachment.  Please copy 
and paste the error messages into the text of your email, that way we 
will get to see them!


(The temptation to say "Use your words" is oh so strong :-)

--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list


Issue with Python installation

2019-09-11 Thread Manasiz Paul
Dear Sir/Madam,

I have installed the latest version of Python but while running it, I am
facing this issue continuously.
[image: Untitled.png]

Kindly let me know how to resolve this issue.
-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Python installation - fatal error

2018-04-24 Thread Nagendra Babu Thillaiappan
 

Hi, 

I am a new user to Python and was trying to install version 3.6.5 (on a
Windows 7 64-bit machine). However, I installed a different version by
mistake and had to uninstall it. 

Then I tried installing version 3.6.5 using the .exe file, and it
returns a fatal error (log in attachment). 

Can I request your help in sorting this out? 

Thank you. 

Best
Babu 

 [1F98:1CE0][2018-04-24T16:37:10]i001: Burn v3.10.3.3007, Windows v6.1 (Build 
7601: Service Pack 1), path: 
C:\Users\NAGEND~1.CWT\AppData\Local\Temp\{8DFCE3D6-3016-431A-9581-DA2071E8583E}\.cr\python-3.6.5-amd64.exe
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'ActionLikeInstalling' to value 'Installing'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'ActionLikeInstallation' to value 'Setup'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'ShortVersion' to value '3.6'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'ShortVersionNoDot' to value '36'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'WinVer' to 
value '3.6'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'WinVerNoDot' to value '36'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'InstallAllUsers' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'InstallLauncherAllUsers' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 'TargetDir' 
to value ''
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'TargetPlatform' to value 'x64'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'DefaultJustForMeTargetDir' to value 
'[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'OptionalFeaturesRegistryKey' to value 
'Software\Python\PythonCore\[WinVer]\InstalledFeatures'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'TargetDirRegistryKey' to value 
'Software\Python\PythonCore\[WinVer]\InstallPath'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'DefaultCustomTargetDir' to value ''
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'InstallAllUsersState' to value 'enabled'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'InstallLauncherAllUsersState' to value 'enabled'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'TargetDirState' to value 'enabled'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'CustomBrowseButtonState' to value 'enabled'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_core' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_exe' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_dev' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_lib' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_test' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_doc' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_tools' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_tcltk' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_pip' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_launcher' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing string variable 
'Include_launcherState' to value 'enabled'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_symbols' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'Include_debug' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'LauncherOnly' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'DetectedLauncher' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'DetectedOldLauncher' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'AssociateFiles' to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 'Shortcuts' 
to value '1'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'PrependPath' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'CompileAll' to value '0'
[1F98:1CE0][2018-04-24T16:37:10]i000: Initializing numeric variable 
'SimpleInstall' to value '0'
[1F98:1CE0][

pip3 file in Scripts folder is missing - Python installation - Tensor

2017-12-08 Thread pavan kopparthi
Hi,

Installed Python 3.6.3 Amd64 in Windows 10 OS.

Want to install Tensor flow using native pip as suggested...

C:\> *pip3 install --upgrade tensorflow*

But, observed that pip3 file in Scripts folder is missing. Also, Scripts folder
 is empty.

Reg,
Pavan Kumar K.



<#m_1095693827828497751_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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


Fwd: pip3 file in Scripts folder is missing - Python installation - Tensor flow upgrade

2017-12-06 Thread pavan kopparthi
Hi,

Installed Python 3.6.3 Amd64 in Windows 10 OS.

Want to install Tensor flow using native pip as suggested...

C:\> *pip3 install --upgrade tensorflow*

But, observed that pip3 file in Scripts folder is missing. Also, Scripts
folder is empty.

-- 
Reg,
Pavan Kumar K



Virus-free.
www.avg.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
https://mail.python.org/mailman/listinfo/python-list


pip3 file in Scripts folder is missing - Python installation - Tensor flow upgrade

2017-12-03 Thread pavan kopparthi
Hi,

Installed Python 3.6.3 Amd64 in Windows 10 OS.

Want to install Tensor flow using native pip as suggested...

C:\> *pip3 install --upgrade tensorflow*

But, observed that pip3 file in Scripts folder is missing. Also, Scripts
folder is empty.

Reg,
Pavan Kumar K.



<#m_1095693827828497751_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-29 skrev Chris Warrick :
> On 29 October 2017 at 18:11, Martin Schöön  wrote:
>> I have installed Python 3 virtualenv and Nikola according to those
>> instructions. I now have a working Nikola but I sure don't know what
>> I am doing :-) How do I get back into that nikola python environment
>> next time?
>
> cd into your virtualenv directory and run `source bin/activate`.
>
Thanks

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


Re: Repairing Python installation?

2017-10-29 Thread Chris Warrick
On 29 October 2017 at 18:11, Martin Schöön  wrote:
> I have installed Python 3 virtualenv and Nikola according to those
> instructions. I now have a working Nikola but I sure don't know what
> I am doing :-) How do I get back into that nikola python environment
> next time?

cd into your virtualenv directory and run `source bin/activate`.

-- 
Chris Warrick 
PGP: 5EAAEA16
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-29 skrev Chris Warrick :
> On 28 October 2017 at 22:41, Martin Schöön  wrote:

>>
>> Could mixing pip installs with Debian distro installs of Python
>> packages lead to conflicts or other problems?
>
> Yes, it does, you should avoid that at all cost. The best way to do it
> is by using virtualenv.
>
OK. Python virtualenv is new to me.
>
> Now, onto fixing Nikola issues:
>
> As discussed on IRC, Nikola recommends (and will soon require) Python
> 3. And you’ll be better off with a virtualenv: install `virtualenv`
> from apt and follow the Getting started guide for Nikola:
> https://getnikola.com/getting-started.html
>
I have installed Python 3 virtualenv and Nikola according to those
instructions. I now have a working Nikola but I sure don't know what
I am doing :-) How do I get back into that nikola python environment
next time?

I guess I need to do some reading.

> If you still get unicode issues when compiling posts, make sure
> they’re saved as UTF-8, and that your locale is configured properly:
> https://chriswarrick.com/blog/2017/06/18/unix-locales-vs-unicode/
>
The problem with locale went away when I changed DEFAULT_LANG from en to
sv in conf.py. 

pip list still throws exceptions at me but I have a plan. My secondary
computer has a very similar Debian installation. There are no Python
issues on that machine so I will do some comparative research.

Most gratefully,

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


Re: Repairing Python installation?

2017-10-29 Thread Chris Warrick
On 28 October 2017 at 22:41, Martin Schöön  wrote:
> It seems something is amiss with my Python 2.7 installation. Revisiting
> Nikola (static web site generator written in Python) for the first time
> in several years the other day I experience some unexpected problems. I
> got some help form the Nikola people and the conclusion is something
> is broken with my Python 2.7. Pip list throws exceptions at me while
> pip3 list works the way I expect it to do.
>
> All this is happening on a Debian machine.
>
> Questions:
>
> Should I try to pinpoint what is broken (and how is that done) or should
> I just remove everything Python 2.7 and re-install?
>
> Could mixing pip installs with Debian distro installs of Python
> packages lead to conflicts or other problems?

Yes, it does, you should avoid that at all cost. The best way to do it
is by using virtualenv.

> Today I tried pip --version and got the following:
> /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:1892:
> UserWarning: /usr/lib/pymodules/python2.7/rpl-1.5.5.egg-info could not
> be properly decoded in UTF-8
>   warnings.warn(msg)

That’s a warning, and it happens to be caused by the `rpl` apt
package. Remove it from your system and try `pip --version` again:
https://github.com/certbot/certbot/issues/3795

Now, onto fixing Nikola issues:

As discussed on IRC, Nikola recommends (and will soon require) Python
3. And you’ll be better off with a virtualenv: install `virtualenv`
from apt and follow the Getting started guide for Nikola:
https://getnikola.com/getting-started.html

If you still get unicode issues when compiling posts, make sure
they’re saved as UTF-8, and that your locale is configured properly:
https://chriswarrick.com/blog/2017/06/18/unix-locales-vs-unicode/

(Nikola’s co-maintainer over here.)

-- 
Chris Warrick 
PGP: 5EAAEA16
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-28 skrev Percival John Hackworth :
> On 28-Oct-2017, Martin Schöön wrote
> (in article ):
>
>> It seems something is amiss with my Python 2.7 installation. Revisiting
>> Nikola (static web site generator written in Python) for the first time
>> in several years the other day I experience some unexpected problems. I
>> got some help form the Nikola people and the conclusion is something
>> is broken with my Python 2.7. Pip list throws exceptions at me while
>> pip3 list works the way I expect it to do.
>>

> If this site is accessible from the internet, have you looked around other 
> parts of the system? Like date/timestamps for /bin/*. I recently was asked to 
> look at a friends web site and found they were doing several things that I 
> consider a security no-no, like running the tomcat server as root to serve 
> their web site. It had been root-kitted. I helped them setup a new system 
> that ran tomcat under a non-priv user.
>


No web server is involved in this. Programs like Nikola takes pictures,
text files (Markdown, ReStructuredText...) + templates as input and
spits out html, css and sometimes javascript. Then it is up to you to
copy that result to a web server.

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


Re: Repairing Python installation?

2017-10-29 Thread Martin Schöön
Den 2017-10-28 skrev Karsten Hilbert :
> On Sat, Oct 28, 2017 at 08:41:34PM +, Martin Schöön wrote:
>
>> It seems something is amiss with my Python 2.7 installation. Revisiting
>> Nikola (static web site generator written in Python) for the first time
>> in several years the other day I experience some unexpected problems. I
>> got some help form the Nikola people and the conclusion is something
>> is broken with my Python 2.7. Pip list throws exceptions at me
> ...
>> All this is happening on a Debian machine.
>
> Exceptions or crashes of the python interpreter ?
>
> Karsten

Exceptions. (Disclaimer: I am not a Python expert).

Today I tried pip --version and got the following:
/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:1892:
UserWarning: /usr/lib/pymodules/python2.7/rpl-1.5.5.egg-info could not
be properly decoded in UTF-8
  warnings.warn(msg)

Reinstalling Python and pip makes no difference. pip3 --version throws
no warnings.

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


Re: Repairing Python installation?

2017-10-28 Thread Percival John Hackworth
On 28-Oct-2017, Martin Schöön wrote
(in article ):

> It seems something is amiss with my Python 2.7 installation. Revisiting
> Nikola (static web site generator written in Python) for the first time
> in several years the other day I experience some unexpected problems. I
> got some help form the Nikola people and the conclusion is something
> is broken with my Python 2.7. Pip list throws exceptions at me while
> pip3 list works the way I expect it to do.
>
> All this is happening on a Debian machine.
>
> Questions:
>
> Should I try to pinpoint what is broken (and how is that done) or should
> I just remove everything Python 2.7 and re-install?
>
> Could mixing pip installs with Debian distro installs of Python
> packages lead to conflicts or other problems?
>
> TIA,
>
> /Martin

If this site is accessible from the internet, have you looked around other 
parts of the system? Like date/timestamps for /bin/*. I recently was asked to 
look at a friends web site and found they were doing several things that I 
consider a security no-no, like running the tomcat server as root to serve 
their web site. It had been root-kitted. I helped them setup a new system 
that ran tomcat under a non-priv user.

It's just a SWAG, but perhaps something further is amiss that you don't see. 
I was really surprised that my friend, a pretty good programmer, was clueless 
about such things.

The only other time I've seen python "damaged" was when some developer 
decided they wanted a more current version than the default installed on the 
CentOS system (2.6) which is required for updating the system. They borked it 
beyond repair and my boss took away root access after we repaired it.

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


Re: Repairing Python installation?

2017-10-28 Thread Karsten Hilbert
On Sat, Oct 28, 2017 at 08:41:34PM +, Martin Schöön wrote:

> It seems something is amiss with my Python 2.7 installation. Revisiting
> Nikola (static web site generator written in Python) for the first time
> in several years the other day I experience some unexpected problems. I
> got some help form the Nikola people and the conclusion is something
> is broken with my Python 2.7. Pip list throws exceptions at me
...
> All this is happening on a Debian machine.

Exceptions or crashes of the python interpreter ?

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
-- 
https://mail.python.org/mailman/listinfo/python-list


Repairing Python installation?

2017-10-28 Thread Martin Schöön
It seems something is amiss with my Python 2.7 installation. Revisiting
Nikola (static web site generator written in Python) for the first time
in several years the other day I experience some unexpected problems. I
got some help form the Nikola people and the conclusion is something
is broken with my Python 2.7. Pip list throws exceptions at me while
pip3 list works the way I expect it to do.

All this is happening on a Debian machine.

Questions:

Should I try to pinpoint what is broken (and how is that done) or should
I just remove everything Python 2.7 and re-install?

Could mixing pip installs with Debian distro installs of Python
packages lead to conflicts or other problems?

TIA,

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


Re: How to run self-contained Python scripts who don't need Python installation?

2017-06-09 Thread Akira Li
"Juan C."  writes:

> I need to run some Python 3.6.0 scripts on the users' machines (W7 and
> W10) in an enterprise environment, but I can't install Python on those
> machines. I tried looking for those "py to exe", but sadly they don't
> support Python 3.6.0.

I've tried PyInstaller (development version) and it works with Python 3.6:

  $ py -3.6 -m pip install 
https://github.com/pyinstaller/pyinstaller/archive/develop.zip

From
https://www.reddit.com/r/Python/comments/6fpr70/how_do_i_distribute_a_py_file_and_its/


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


Re: How to run self-contained Python scripts who don't need Python installation?

2017-06-08 Thread Michael Torrie
On 06/08/2017 07:40 PM, Juan C. wrote:
> 2. I'd like to create a simple BAT to run my Python script, so there
> would be only 2 things (a 'dist' folder with everything and a run.bat
> to make it clear what should be run), for example:

Sure you can. You just have to do it like this (untested; I haven't used
Windows in many years):

@echo off

start %~dp0dist\python-3.6.0-embed-win32\python.exe %~dp0dist\app.py %*

I think %* expands to all the commandline parameters, apparently
excluding %0, which would be the command name itself.





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


How to run self-contained Python scripts who don't need Python installation?

2017-06-08 Thread Juan C.
I need to run some Python 3.6.0 scripts on the users' machines (W7 and
W10) in an enterprise environment, but I can't install Python on those
machines. I tried looking for those "py to exe", but sadly they don't
support Python 3.6.0. Then I found out about "Windows x86/x86-64
embeddable zip file" that Python.org made available since 3.5.0, and I
thought it would be the right thing for my case.

I have some questions regarding embeddable Python:

1. How can I install custom modules using pip?

2. I'd like to create a simple BAT to run my Python script, so there
would be only 2 things (a 'dist' folder with everything and a run.bat
to make it clear what should be run), for example:
@echo off
start %~dp0dist\python-3.6.0-embed-win32\python.exe %~dp0dist\app.py

The issue is that I can't parse args to app.py in this case. How would
that be possible? In the example above, if Python was fully installed,
I would give a file as argument to app.py, generally clicking and
dragging the file into the app.py icon so that it would start.

3. Is there a better approach for my case other than embedded Python?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation in windows

2016-01-12 Thread eryk sun
On Tue, Jan 12, 2016 at 9:15 AM, Oscar Benjamin
 wrote:
>
> I thought this was suppose to have been fixed in 3.5.1 though so the installer
> should now warn that it won't work on XP.

The CRT update also requires service pack 1 on Windows 7 and service
pack 2 on Vista. 3.5.1's installer was updated to check for a
supported operating system. On an XP system the error message should
be "Windows Vista SP2 or later is required to continue installation".

> I believe the installer itself has had something of an overhaul.

It was rewritten completely.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation in windows

2016-01-12 Thread Oscar Benjamin
On 11 January 2016 at 20:16, Cameron Simpson  wrote:
> On 11Jan2016 07:19, rusi  wrote:
>>
>> On Monday, January 11, 2016 at 6:32:14 PM UTC+5:30, navneet bhatele wrote:
>>>
>>> I have been trying to install the  "python-3.5.1-amd64-webinstall "  many
>>> times and the Set up failed is shown up with named 0*80070002 - file
>>> doesn't exist in dialog box
>>
>>
>> Which windows?
>> XP and 3.5 are not compatible
>> For XP use 3.4
>
>
> I am not a Windows user, but this question occurs a lot.
>
> Is this cryptic message a missing dependency of the installer or of Python.
> Because if it is Python surely we should be doing potential users a favour
> and mentioning this 3.5 vs XP (and earlier?) issue in nice human friendly
> prose instead of complaining about an obscure missing library file?
>
> As things stand, many users infer that they have a corrupt or broken
> download, not that they needed a different version of Python.

I think there are several different issues to do with Python 3.5 and Windows.

Firstly support for Windows XP was dropped and 3.5 was made in a way
that is incompatible with XP. However initially neither the download
page nor the installer were warning XP users leading to a lot of
confusion. I thought this was suppose to have been fixed in 3.5.1
though so the installer should now warn that it won't work on XP.

Secondly the Windows builds of 3.5 are now compiled using VS2015 and I
believe the installer itself has had something of an overhaul. This
seems to have caused a number of different problems. One problem is
that the newer VS2015 runtime requires the installation of some dll
from Microsoft. So some users are getting error messages about a
missing dll.

The error message quoted above is something else though. I can't tell
but it seems as if there are a number of distinct issues caused by the
significant changes to Python 3.5 on Windows.

> Should this be raised on python-dev?

Probably better to go for bugs.python.org. There's a few 3.5/Windows
issues already there. Not sure if this one's already listed.

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


Re: Python installation in windows

2016-01-11 Thread Cameron Simpson

On 11Jan2016 07:19, rusi  wrote:

On Monday, January 11, 2016 at 6:32:14 PM UTC+5:30, navneet bhatele wrote:

I have been trying to install the  "python-3.5.1-amd64-webinstall "  many
times and the Set up failed is shown up with named 0*80070002 - file
doesn't exist in dialog box


Which windows?
XP and 3.5 are not compatible
For XP use 3.4


I am not a Windows user, but this question occurs a lot.

Is this cryptic message a missing dependency of the installer or of Python.  
Because if it is Python surely we should be doing potential users a favour and 
mentioning this 3.5 vs XP (and earlier?) issue in nice human friendly prose 
instead of complaining about an obscure missing library file?


As things stand, many users infer that they have a corrupt or broken download, 
not that they needed a different version of Python.


Should this be raised on python-dev?

Cheers,
Cameron Simpson 
--
https://mail.python.org/mailman/listinfo/python-list


Re: Python installation in windows

2016-01-11 Thread Rustom Mody
On Monday, January 11, 2016 at 6:32:14 PM UTC+5:30, navneet bhatele wrote:
> I have been trying to install the  "python-3.5.1-amd64-webinstall "  many
> times and the Set up failed is shown up with named 0*80070002 - file
> doesn't exist in dialog box

Which windows?
XP and 3.5 are not compatible
For XP use 3.4
-- 
https://mail.python.org/mailman/listinfo/python-list


Python installation in windows

2016-01-11 Thread navneet bhatele
I have been trying to install the  "python-3.5.1-amd64-webinstall "  many
times and the Set up failed is shown up with named 0*80070002 - file
doesn't exist in dialog box
-- 
https://mail.python.org/mailman/listinfo/python-list


Python Installation

2015-05-31 Thread Kin Zhao
Hello,

I had a similar problem as Jim Conyngham (DieInSente) as shown in the link
below.

Uninstalling from the uninstall exe doesn't actually, fully uninstall the
program. It just removes it from the menu and the folder in All Program.
You'll have to uninstall with the initial installation exe. That's what I
did and it removed the wrong version for me so I can install the 64 bit
version of Python 3.4 on my computer. Can be a bit annoying, if you have to
figure out which exe you used after trying so many.

The error message comes up, because it's already downloaded. Even though it
says it's overwriting the older one, it doesn't actually overwrite it and
that's where the problem is.

Link: https://bugs.python.org/issue22028


Thanks,

Kin Zhao

C: (646) 204-2708 | E: kins...@gmail.com

LinkedIn: www.linkedin.com/in/kinzhao1
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-26 Thread Rhodri James

On Tue, 25 Mar 2014 18:17:30 -,  wrote:

Thanks for your comment but i also edited httpd.conf file then my wamp  
not running


LoadModule php5_module "c:/wamp/bin/php/php5.3.0/php5apache2_2.dll"

This line i added on line 128 but nothing. Wampserver showing yellow.

I'm not getting what happening. I'm doing as per suggested in  
documentation




And again if i'm removing this line then wampserver works properly


I'm totally confused.  You started out asking about problems getting  
mod_wsgi to load, and now without any indication that you've actually got  
mod_wsgi to load you are asking a Python group about a PHP module.  Slow  
down, do one thing at a time and please don't assume that we can read your  
mind.


Also please read https://wiki.python.org/moin/GoogleGroupsPython and take  
appropriate action.  This post was unreadable when it got to me, and I  
nearly didn't bother putting in the effort to make it readable.


--
Rhodri James *-* Wildebeest Herder to the Masses
--
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-25 Thread Mark Lawrence

On 25/03/2014 18:17, rborol...@gmail.com wrote:

Would you please use the mailing list 
https://mail.python.org/mailman/listinfo/python-list or read and action 
this https://wiki.python.org/moin/GoogleGroupsPython to prevent us 
seeing double line spacing and single line paragraphs, thanks.


--
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.


Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


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


Re: python installation on windows

2014-03-25 Thread rborole06
On Sunday, 23 March 2014 19:35:19 UTC-8, Chris Angelico  wrote:
> On Mon, Mar 24, 2014 at 2:28 PM, Mark H Harris  wrote:
> 
> > Anyway, the PSF runs python (the interpreter) from a web server (I can
> 
> > access the python interpreter from my browser from the PSF site).
> 
> >
> 
> > How is that done simply, is possibly what the OP wants to know (me too).
> 
> 
> 
> That's a much MUCH harder thing to do than running Python code in your
> 
> web server, because of trust issues. I don't know how it's set up, but
> 
> there'll be something in there to protect the server against malicious
> 
> or accidental insanity (spinning with "while True: pass", trying to
> 
> read/write files, trying to execute commands, using up all of RAM with
> 
> "x = []\nwhile True: x.append(1)", etc, etc, etc). That's actually a
> 
> very hard problem to solve, not something where you can just say
> 
> "Here, this is how to run Python via a browser".
> 
> 
> 
> ChrisA

LoadModule wsgi_module modules/mod_wsgi.so
This line also i added but then also same problem
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-25 Thread rborole06
On Sunday, 23 March 2014 13:07:28 UTC-8, tad na  wrote:
> On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote:
> 
> > On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote:
> 
> > > Hi Everybody
> 
> > > actually i want to run python on web browser. I downloaded python and 
> > > installed but i'm not able to run it in browser but it running using 
> > > command prompt. so i trying to install mod_wsgi 3.4. So i downloaded 
> > > precompiled version mod_wsgi-3.4.ap22.win32-py2.6 and copied mod_wsgi.so 
> > > file to C:\wamp\bin\apache\Apache2.2.11\modules after i'm trying to run 
> > > .\configure on path C:\Documents and 
> > > Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but it giving me 
> > > error that .\configure is not recognized as internal or external command.
> 
> 
> 
> > > So please suggest me what can i do for that, i'm so beginner to python 
> > > and installing and configuring modules for apache.
> 
> 
> 
> > > Thanks
> 
> 
> 
> > > Rahul
> 
> > To set up a web browser:
> 
>  
> 
> > 1.open a dos window
> 
> > 2.navigate to dir you want "served"
> 
> > 3.type "python -m SimpleHTTPServer  &."
> 
> 4. open browser and type http://localhost:/

It's saying unable to connect to localhost
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-25 Thread rborole06
On Sunday, 23 March 2014 18:22:54 UTC-8, Rhodri James  wrote:
> On Sun, 23 Mar 2014 17:09:09 -,  wrote:
> 
> 
> 
> > Hi Everybody
> 
> >
> 
> > actually i want to run python on web browser.
> 
> 
> 
> Actually you don't.  You want to run Python on a web server, which  
> 
> fortunately is a good deal easier.
> 
> 
> 
> > I downloaded python and installed but i'm not able to run it in browser  
> 
> > but it running using command prompt. so i trying to install mod_wsgi  
> 
> > 3.4. So i downloaded precompiled version mod_wsgi-3.4.ap22.win32-py2.6  
> 
> > and copied mod_wsgi.so file to C:\wamp\bin\apache\Apache2.2.11\modules  
> 
> > after i'm trying to run .\configure on path C:\Documents and  
> 
> > Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but it giving me  
> 
> > error that .\configure is not recognized as internal or external command.
> 
> >
> 
> > So please suggest me what can i do for that, i'm so beginner to python  
> 
> > and installing and configuring modules for apache.
> 
> 
> 
> The ".\configure" thing is for Linux installations using autotools; it's  
> 
> not going to work on Windows.
> 
> 
> 
> I don't run Apache on Windows, so I'm just guessing from the documentation  
> 
> here, but the mod_wsgi "Installation on Windows" page says to "follow the  
> 
> instructions for loading mod_wsgi in the Quick Installation Guide."  The  
> 
> "Quick Installation Guide" page has instructions for editing the Apache  
> 
> config files.  No mention of running ".\configure" -- why are you doing  
> 
> that?  Try just editing the config files as the documentation suggests and  
> 
> see if that works.
> 
> 
> 
> -- 
> 
> Rhodri James *-* Wildebeest Herder to the Masses

Thanks for your comment but i also edited httpd.conf file then my wamp not 
running
LoadModule php5_module "c:/wamp/bin/php/php5.3.0/php5apache2_2.dll"
This line i added on line 128 but nothing. Wampserver showing yellow.
I'm not getting what happening. I'm doing as per suggested in documentation

Thanks

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


Re: python installation on windows

2014-03-25 Thread rborole06
On Tuesday, 25 March 2014 10:16:20 UTC-8, rbor...@gmail.com  wrote:
> On Sunday, 23 March 2014 18:22:54 UTC-8, Rhodri James  wrote:
> 
> > On Sun, 23 Mar 2014 17:09:09 -,  wrote:
> 
> > 
> 
> > 
> 
> > 
> 
> > > Hi Everybody
> 
> > 
> 
> > >
> 
> > 
> 
> > > actually i want to run python on web browser.
> 
> > 
> 
> > 
> 
> > 
> 
> > Actually you don't.  You want to run Python on a web server, which  
> 
> > 
> 
> > fortunately is a good deal easier.
> 
> > 
> 
> > 
> 
> > 
> 
> > > I downloaded python and installed but i'm not able to run it in browser  
> 
> > 
> 
> > > but it running using command prompt. so i trying to install mod_wsgi  
> 
> > 
> 
> > > 3.4. So i downloaded precompiled version mod_wsgi-3.4.ap22.win32-py2.6  
> 
> > 
> 
> > > and copied mod_wsgi.so file to C:\wamp\bin\apache\Apache2.2.11\modules  
> 
> > 
> 
> > > after i'm trying to run .\configure on path C:\Documents and  
> 
> > 
> 
> > > Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but it giving me  
> 
> > 
> 
> > > error that .\configure is not recognized as internal or external command.
> 
> > 
> 
> > >
> 
> > 
> 
> > > So please suggest me what can i do for that, i'm so beginner to python  
> 
> > 
> 
> > > and installing and configuring modules for apache.
> 
> > 
> 
> > 
> 
> > 
> 
> > The ".\configure" thing is for Linux installations using autotools; it's  
> 
> > 
> 
> > not going to work on Windows.
> 
> > 
> 
> > 
> 
> > 
> 
> > I don't run Apache on Windows, so I'm just guessing from the documentation  
> 
> > 
> 
> > here, but the mod_wsgi "Installation on Windows" page says to "follow the  
> 
> > 
> 
> > instructions for loading mod_wsgi in the Quick Installation Guide."  The  
> 
> > 
> 
> > "Quick Installation Guide" page has instructions for editing the Apache  
> 
> > 
> 
> > config files.  No mention of running ".\configure" -- why are you doing  
> 
> > 
> 
> > that?  Try just editing the config files as the documentation suggests and  
> 
> > 
> 
> > see if that works.
> 
> > 
> 
> > 
> 
> > 
> 
> > -- 
> 
> > 
> 
> > Rhodri James *-* Wildebeest Herder to the Masses
> 
> 
> 
> Thanks for your comment but i also edited httpd.conf file then my wamp not 
> running
> 
> LoadModule php5_module "c:/wamp/bin/php/php5.3.0/php5apache2_2.dll"
> 
> This line i added on line 128 but nothing. Wampserver showing yellow.
> 
> I'm not getting what happening. I'm doing as per suggested in documentation
> 
> 
> 
> Thanks

And again if i'm removing this line then wampserver works properly
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-23 Thread Chris Angelico
On Mon, Mar 24, 2014 at 2:28 PM, Mark H Harris  wrote:
> Anyway, the PSF runs python (the interpreter) from a web server (I can
> access the python interpreter from my browser from the PSF site).
>
> How is that done simply, is possibly what the OP wants to know (me too).

That's a much MUCH harder thing to do than running Python code in your
web server, because of trust issues. I don't know how it's set up, but
there'll be something in there to protect the server against malicious
or accidental insanity (spinning with "while True: pass", trying to
read/write files, trying to execute commands, using up all of RAM with
"x = []\nwhile True: x.append(1)", etc, etc, etc). That's actually a
very hard problem to solve, not something where you can just say
"Here, this is how to run Python via a browser".

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


Re: python installation on windows

2014-03-23 Thread Mark H Harris

On 3/23/14 4:07 PM, tad na wrote:

On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote:
To set up a web browser:



1.open a dos window
2.navigate to dir you want "served"
3.type "python -m SimpleHTTPServer &."
4. open browser and type http://localhost:/


That is very ~cool. I learn something around here everyday.

But, the OP did not ask how to run a web server on python (above); he 
asked how to run python on a web browser (I think he meant web server).
Anyway, the PSF runs python (the interpreter) from a web server (I can 
access the python interpreter from my browser from the PSF site).


How is that done simply, is possibly what the OP wants to know (me too).

marcus

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


Re: python installation on windows

2014-03-23 Thread Rhodri James

On Sun, 23 Mar 2014 17:09:09 -,  wrote:


Hi Everybody

actually i want to run python on web browser.


Actually you don't.  You want to run Python on a web server, which  
fortunately is a good deal easier.


I downloaded python and installed but i'm not able to run it in browser  
but it running using command prompt. so i trying to install mod_wsgi  
3.4. So i downloaded precompiled version mod_wsgi-3.4.ap22.win32-py2.6  
and copied mod_wsgi.so file to C:\wamp\bin\apache\Apache2.2.11\modules  
after i'm trying to run .\configure on path C:\Documents and  
Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but it giving me  
error that .\configure is not recognized as internal or external command.


So please suggest me what can i do for that, i'm so beginner to python  
and installing and configuring modules for apache.


The ".\configure" thing is for Linux installations using autotools; it's  
not going to work on Windows.


I don't run Apache on Windows, so I'm just guessing from the documentation  
here, but the mod_wsgi "Installation on Windows" page says to "follow the  
instructions for loading mod_wsgi in the Quick Installation Guide."  The  
"Quick Installation Guide" page has instructions for editing the Apache  
config files.  No mention of running ".\configure" -- why are you doing  
that?  Try just editing the config files as the documentation suggests and  
see if that works.


--
Rhodri James *-* Wildebeest Herder to the Masses
--
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote:
> On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote:
> > Hi Everybody
> > actually i want to run python on web browser. I downloaded python and 
> > installed but i'm not able to run it in browser but it running using 
> > command prompt. so i trying to install mod_wsgi 3.4. So i downloaded 
> > precompiled version mod_wsgi-3.4.ap22.win32-py2.6 and copied mod_wsgi.so 
> > file to C:\wamp\bin\apache\Apache2.2.11\modules after i'm trying to run 
> > .\configure on path C:\Documents and 
> > Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but it giving me error 
> > that .\configure is not recognized as internal or external command.

> > So please suggest me what can i do for that, i'm so beginner to python and 
> > installing and configuring modules for apache.

> > Thanks

> > Rahul
> To set up a web browser:
 
> 1.open a dos window
> 2.navigate to dir you want "served"
> 3.type "python -m SimpleHTTPServer  &."
4. open browser and type http://localhost:/
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: python installation on windows

2014-03-23 Thread tad na
On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote:
> Hi Everybody
> 
> 
> 
> actually i want to run python on web browser. I downloaded python and 
> installed but i'm not able to run it in browser but it running using command 
> prompt. so i trying to install mod_wsgi 3.4. So i downloaded precompiled 
> version mod_wsgi-3.4.ap22.win32-py2.6 and copied mod_wsgi.so file to 
> C:\wamp\bin\apache\Apache2.2.11\modules after i'm trying to run .\configure 
> on path C:\Documents and Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 
> but it giving me error that .\configure is not recognized as internal or 
> external command.
> 
> 
> 
> So please suggest me what can i do for that, i'm so beginner to python and 
> installing and configuring modules for apache.
> 
> 
> 
> Thanks
> 
> Rahul

To set up a web browser:
1.open a dos window
2.navigate to dir you want "served"
3.type "python -m SimpleHTTPServer  &."
-- 
https://mail.python.org/mailman/listinfo/python-list


python installation on windows

2014-03-23 Thread rborole06
Hi Everybody

actually i want to run python on web browser. I downloaded python and installed 
but i'm not able to run it in browser but it running using command prompt. so i 
trying to install mod_wsgi 3.4. So i downloaded precompiled version 
mod_wsgi-3.4.ap22.win32-py2.6 and copied mod_wsgi.so file to 
C:\wamp\bin\apache\Apache2.2.11\modules after i'm trying to run .\configure on 
path C:\Documents and Settings\Rahul\Desktop\mod_wsgi-3.4.ap22.win32-py2.6 but 
it giving me error that .\configure is not recognized as internal or external 
command.

So please suggest me what can i do for that, i'm so beginner to python and 
installing and configuring modules for apache.

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


Re: Python installation/cleanup management

2014-02-05 Thread Asaf Las
On Thursday, February 6, 2014 3:19:00 AM UTC+2, Asaf Las wrote:
> On Thursday, February 6, 2014 1:31:58 AM UTC+2, Asaf Las wrote:
so far smallest footprint one:

http://my.opera.com/ruario/blog/2012/02/15/tracking-software-that-you-have-compiled-locally


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


Re: Python installation/cleanup management

2014-02-05 Thread Asaf Las
On Thursday, February 6, 2014 1:31:58 AM UTC+2, Asaf Las wrote:
> 
> Asaf

Epel repository provides paco for CentOS. Guess RH does same.
 paco x86_64 2.0.9-6.el6 

(yet there are couple of other tools based on interception of copied 
files during make install)


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


Python installation/cleanup management

2014-02-05 Thread Asaf Las
Hi

What is the best way to manage Python isolated from 
/bin /usr/bin ... installations done via source code 
compilation on yum/rpm based systems? 

there are some alternatives i guess could be done: 

* configure --prefix, then delete
* checkinstall
* fpm (questionable for python?)
* make altinstall and diff fs for pre post changes 
* diving into rpm spec file
---
* any other?

main objective is to figure out upgrade or python 
release test methods done in least painless way. 

have searched issue but either missed or there is no 
much comparison of above.  

Thanks 

Asaf

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


Re: Sharing Python installation between architectures

2013-12-06 Thread Albert van der Horst
In article ,
Paul Smith   wrote:
>One thing I always liked about Perl was the way you can create a single
>installation directory which can be shared between archictures.  Say
>what you will about the language: the Porters have an enormous amount of
>experience and expertise producing portable and flexible interpreter
>installations.
>
>By this I mean, basically, multiple architectures (Linux, Solaris,
>MacOSX, even Windows) sharing the same $prefix/lib/python2.7 directory.
>The large majority of the contents there are completely portable across
>architectures (aren't they?) so why should I have to duplicate many
>megabytes worth of files?

The solution is of course to replace all duplicates by hard links.
A tool for this is useful in a lot of other circumstances too.
In a re-installation of the whole or parts, the hard links
will be removed, and the actual files are only removed if they aren't needed
for any of the installations, so this is transparent for reinstallation.
After a lot of reinstallation you want to run the tool again.

This is of course only possible on real file systems (probably not on FAT),
but your files reside on a server, so chances are they are on a real file
system.

(The above is partly in jest. It is a real solution to storage problems,
but storage problems are unheard of in these days of Tera byte disks.
It doesn't help with the clutter, which was probably the main motivation.)

Symbolic links are not as transparent, but they may work very well too.
Have the common part set apart and replace everything else by symbolic links.

There is always one more way to skin a cat.

Groetjes Albert
-- 
Albert van der Horst, UTRECHT,THE NETHERLANDS
Economic growth -- being exponential -- ultimately falters.
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

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


Re: Sharing Python installation between architectures

2013-11-17 Thread Paul Smith
On Sun, 2013-11-17 at 10:46 -0500, Paul Smith wrote:
> Unfortunately, if you set PYTHONHOME then it's used for both $PREFIX and
> $EXECPREFIX without any path probing whatsoever, so PYTHONHOME is
> unusable with an installation where you've used different values for
> --prefix and --exec-prefix during configure.

Gak.  Never mind.  That's what you get when you're trying to hack
relocatable installations at 3am: even after some sleep you think you
know what's going on.

PYTHONHOME accepts a colon-separated list for prefix:exec-prefix.  This
is even clearly documented, even in the error output from the
interpreter when it can't find its installation!

Making this change in my wrapper script for GDB gets everything working.

Cheers!

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


Re: Sharing Python installation between architectures

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 2:46 AM, Paul Smith  wrote:
> However, that configuration doesn't work
> for embedded Python (for example, if you embed the Python interpreter in
> GDB by linking libpython2.7.a) if you relocate it.
> ...
> I'm willing to do this and file a bug with a patch if there's any
> interest in pursuing it further.  Or should this be discussed on
> python-dev?

I don't have any experience with your actual issue, so though I've
been reading your posts, I haven't anything to add to the thread. But
one small side point: If you're going to propose patches that
materially change functionality, they won't be applied to 2.7, which
is now closed for new features (and there won't be a 2.8). So the
first thing I'd recommend doing is trying the same things with 3.3, or
possibly an alpha of 3.4 (or the beta, if you can wait one week for
its launch). If it's exactly the same, then you could propose changes
to the 3.x branch (probably too late for 3.4 now, but 3.5), and
possibly they could be backported to 2.7 if it's considered a bugfix.
Or you might find that, by the magic of Guido's time machine, the
problem's already been solved in 3.x!

Maybe you can't actually migrate your codebase fully, but at very
least, try this sort of thing in both versions - at worst, you spend a
bit of time spinning up a duplicate and then say "Same thing happens
in 3.3.2".

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


Re: Sharing Python installation between architectures

2013-11-17 Thread Paul Smith
On Sat, 2013-11-16 at 19:28 -0500, Paul Smith wrote:
> On Fri, 2013-11-15 at 18:00 -0500, Paul Smith wrote:
> > By this I mean, basically, multiple architectures (Linux, Solaris,
> > MacOSX, even Windows) sharing the same $prefix/lib/python2.7 directory.
> > The large majority of the contents there are completely portable across
> > architectures (aren't they?) so why should I have to duplicate many
> > megabytes worth of files?
> 
> OK, after some investigation and reading the code in Modules/getpath.c
> to determine exactly how sys.prefix and sys.exec_prefix are computed (it
> would be nice if this algorithm was documented somewhere... maybe it is
> but I couldn't find it) I have a solution for this that appears to be
> working fairly well.

Ouch.  I spoke a bit too soon.

The standard Python installation and interpreter works fine with the
"split --prefix and --exec-prefix" configuration, even with relocation
of the installation directory.  However, that configuration doesn't work
for embedded Python (for example, if you embed the Python interpreter in
GDB by linking libpython2.7.a) if you relocate it.

In that configuration when the interpreter looks for the lib/python
directory at runtime it appears to use only the prefix path Python was
originally compiled with (I'm using strace on Linux to see what paths
are being probed at startup).  It doesn't use the "current installation
path" via argv[0], which means it's not relocatable at all.

I can, of course, set PYTHONHOME to point to the right place.

Unfortunately, if you set PYTHONHOME then it's used for both $PREFIX and
$EXECPREFIX without any path probing whatsoever, so PYTHONHOME is
unusable with an installation where you've used different values for
--prefix and --exec-prefix during configure.

We'd need a new environment variable, like PYTHONEXECHOME or something,
which would be tested first when looking for the exec_path (only).  If
that didn't exist, it could try PYTHONHOME as before.

I'm willing to do this and file a bug with a patch if there's any
interest in pursuing it further.  Or should this be discussed on
python-dev?

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


Re: Sharing Python installation between architectures

2013-11-16 Thread Paul Smith
On Fri, 2013-11-15 at 18:00 -0500, Paul Smith wrote:
> By this I mean, basically, multiple architectures (Linux, Solaris,
> MacOSX, even Windows) sharing the same $prefix/lib/python2.7 directory.
> The large majority of the contents there are completely portable across
> architectures (aren't they?) so why should I have to duplicate many
> megabytes worth of files?

OK, after some investigation and reading the code in Modules/getpath.c
to determine exactly how sys.prefix and sys.exec_prefix are computed (it
would be nice if this algorithm was documented somewhere... maybe it is
but I couldn't find it) I have a solution for this that appears to be
working fairly well.

In order to get this to work you need to use the following arguments
when you run "configure" to build your Python:

configure --prefix=$PREFIX --exec-prefix=$PREFIX/$ARCH

where $ARCH can be pretty much whatever you want, but should be unique
for each different architecture of course.  The $PREFIX should be the
same for all architectures.

The magic here is ensuring that the --exec-prefix directory is a
SUBDIRECTORY of --prefix.  If that's not true, nothing works!

The resulting python interpreter will live in $PREFIX/$ARCH/bin: you
have to leave it there!  If you move it nothing works.  Although you can
get rid of the "bin" and move it up into $PREFIX/$ARCH if you want;
that's OK.

What I do is have a little shell-script wrapper installed somewhere else
that runs 'exec $EXECPREFIX/bin/python "$@"'

You can also correctly install extra packages with setup.py, even if
those packages have their own shared objects (like pycrypto or
whatever).

I should say, I've not thought about Windows yet.  I don't know if this
will work out for Windows.  However, Windows is such a different beast
anyway I think (at least in my environment) it will be OK to treat it
separately and require Windows people to download/install their own
Python.


There are few nitty things that I needed to handle:

 1. The _sysconfigdata.py file is put into $PREFIX not $EXECPREFIX,
which is wrong since that file is very much
architecture-specific.  As a post-processing step I moved it
from $PREFIX/... into $EXECPREFIX/.../lib-dynload.  It's not
quite correct since it's not a dynamic object, but lib-dynload
is the only standard path on sys.paths from $EXECPREFIX.  It
works OK anyway.
 2. All the scripts, even the ones in $PREFIX/bin, have hardcoded #!
paths which go to a specific python in $EXECPREFIX/bin which is
wrong (they can't be shared that way).  I use a simple "sed -i"
to replace them all with "#!/usr/bin/env python" instead.
 3. There are some scripts that get dumped into $EXECPREFIX/bin
rather than into $PREFIX/bin: "2to3", "idle", "pydoc",
"smtpd.py".  I think this is simply a bug in the installation
and those should all go into $PREFIX/bin.

Another weird thing is that the normal installation (this has nothing to
do with the above; it happens even if you don't set --exec-prefix)
contains TWO copies of libpython2.7.a; one in $EXECPREFIX/lib and one in
$EXECPREFIX/lib/python2.7/config.  These are over 14M each so it's not
inconsequential to have two.

I'm deleting the one in lib/python2.7/config and things still seem to
work OK.  The pkgconfig python definition references the one in
$EXECPREFIX/lib.

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


Sharing Python installation between architectures

2013-11-15 Thread Paul Smith
One thing I always liked about Perl was the way you can create a single
installation directory which can be shared between archictures.  Say
what you will about the language: the Porters have an enormous amount of
experience and expertise producing portable and flexible interpreter
installations.

By this I mean, basically, multiple architectures (Linux, Solaris,
MacOSX, even Windows) sharing the same $prefix/lib/python2.7 directory.
The large majority of the contents there are completely portable across
architectures (aren't they?) so why should I have to duplicate many
megabytes worth of files?

The only parts of the install which are not shareable (as far as I can
tell) are the .so dynamic objects (and the python executable itself
obviously).

If the default sys.path included platform-specific directories as well
as the generic lib-dynload, it would be possible.


I do see that there are "plat-*" directories available in the default
path.  Is it possible to make use of these (say, by renaming each
architecture's lib-dynload to the appropriate plat-* name)?


If that works, the remaining issue is the site-packages directory.
There is no ability (that I can see) to separate out the shareable vs.
non-sharable aspects of the add-on site-packages.


Any comments or suggestions?  Am I overestimating the amount of sharing
that's possible?  Thanks!

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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-22 Thread Serhiy Storchaka

On 21.04.13 23:31, James Jong wrote:

I see, just to be clear, do you mean that Python 2.7.4 (stable) is
incompatible with Tk 8.6 (stable)?


Yes.


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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-21 Thread James Jong
I see, just to be clear, do you mean that Python 2.7.4 (stable) is
incompatible with Tk 8.6 (stable)?

James


On Fri, Apr 19, 2013 at 12:27 PM, Serhiy Storchaka wrote:

> 18.04.13 19:24, James Jong написав(ла):
>
>> The file libtk8.6.so   has 1.5M and is definitely
>> there.
>>
>>
>> So why did that compilation fail?
>>
>
> LD_LIBRARY_PATH=/path_to_libtk
>
> However be careful. For now Python doesn't support Tk 8.6 (results of some
> functions changed in 8.6), this is a known bug (issue16809). You can build
> Python with Tk 8.6 and even run, but any real tkinter application likely
> will failed. Use Tk 8.5 instead.
>
>
> --
> http://mail.python.org/**mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-19 Thread Serhiy Storchaka

18.04.13 19:24, James Jong написав(ла):

The file libtk8.6.so   has 1.5M and is definitely there.

So why did that compilation fail?


LD_LIBRARY_PATH=/path_to_libtk

However be careful. For now Python doesn't support Tk 8.6 (results of 
some functions changed in 8.6), this is a known bug (issue16809). You 
can build Python with Tk 8.6 and even run, but any real tkinter 
application likely will failed. Use Tk 8.5 instead.



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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread Chris Angelico
On Fri, Apr 19, 2013 at 6:34 AM, Terry Reedy  wrote:
> On 4/18/2013 3:21 PM, James Jong wrote:
>>
>> Thanks Terry. I run the tcl tests and passed them all. There was only one
>> tk test that I think I didn't  pass.
>>
>> One thing I don't understand is that I thought that Python would
>> statically link against sqlite and tcl/tk (I presume that this is the reason
>> why you said I could build it in a similar system and copy it to the
>> supercomputer).
>
>
> I am not the one who said that. i presume whoever did meant to copy the
> necessary .sos, but I am not using *nix.

I'm the one who was talking about the build/copy. You could manually
copy a bunch of .so, but there's a reasonable chance you wouldn't need
to - in many Linux systems, you have the binary packages for heaps of
things that you don't have the dev libraries (headers, .a files,
whatever) for. At work, we have just one computer on which we build
from C source (which happens to be my personal dev unit as well); all
the other computers - other devs' laptops, staging servers, production
servers - just get binaries deployed directly. There aren't very many
libraries to install on them, as they're fully-functional Linux boxes
already (we use Debian).

It may, of course, be different on your setup, but I figured it was worth a try.

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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread Terry Reedy

On 4/18/2013 3:21 PM, James Jong wrote:
Thanks Terry. I run the tcl tests and passed them all. There was only 
one tk test that I think I didn't  pass.


One thing I don't understand is that I thought that Python would 
statically link against sqlite and tcl/tk (I presume that this is the 
reason why you said I could build it in a similar system and copy it 
to the supercomputer).


I am not the one who said that. i presume whoever did meant to copy the 
necessary .sos, but I am not using *nix.


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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread James Jong
Thanks Terry. I run the tcl tests and passed them all. There was only one
tk test that I think I didn't  pass.

One thing I don't understand is that I thought that Python would statically
link against sqlite and tcl/tk (I presume that this is the reason why you
said I could build it in a similar system and copy it to the
supercomputer). But this thread shows that, at least, setup.py tries to
load libtk.so (a dynamic shared library).

Does Python then load dynamic libraries from sqlite, tcl, tk when using the
respective modules?

James


On Thu, Apr 18, 2013 at 3:10 PM, Terry Jan Reedy  wrote:

> On 4/18/2013 12:24 PM, James Jong wrote:
>
> After compiling, you might want to run the test suite.
>
>  libtk8.6.so 
>>
>
> I do not know that Python/_tkinter/tkinter has been very well tested,
> certainly not on all systems, with the newish tcl/tk 8.6, as opposed to
> 8.5.z used for several years. There are 4 test/test_xxx files to be
> concerned about: something like test_tcl, test_tkinter, test_ttkxxx.
>
> --
> http://mail.python.org/**mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread Terry Jan Reedy

On 4/18/2013 12:24 PM, James Jong wrote:

After compiling, you might want to run the test suite.


libtk8.6.so 


I do not know that Python/_tkinter/tkinter has been very well tested, 
certainly not on all systems, with the newish tcl/tk 8.6, as opposed to 
8.5.z used for several years. There are 4 test/test_xxx files to be 
concerned about: something like test_tcl, test_tkinter, test_ttkxxx.


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


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread James Jong
All

I finally solved the problem. The problem was that setup.py tests loading
the dynamic library libtk (this I don't understand, since I though Python
would statically link against TCL, TK and SQLITE.

Either way, I have updated the thread at StackOverflow with the answer:
http://stackoverflow.com/questions/16026348/preparing-tkinter-and-sqlite3-for-python-installation-no-admin-rights/16090051#16090051

but basically the answer was:

Add the following include paths through `CPPFLAGS`

* /path_to/sqlite3/include
* /path_to/tcl/include
* /path_to/tk/include

the following lib paths through `LDFLAGS`

* /path_to/sqlite3/lib
* /path_to/tcl/lib
* /path_to/tk/lib

and the following lib paths through `LD_LIBRARY_PATH`:

* /path_to/sqlite/lib
* /path_to/tcl/lib
* /path_to/tk/lib

Thanks,

James


On Thu, Apr 18, 2013 at 12:24 PM, James Jong  wrote:

> Thanks Jason. I have pinpointed the location of the error to a very
> specific gcc line. I am reproducing the error below (very easy to read):
>
> I run:
>
> ==
> export CPPFLAGS='-I/opt/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
>  -I/opt/tcl8.6.0/include/'
>
> export LDFLAGS='-L/opt/sqlite-3.7.16.2/lib -L/opt/tk8.6.0/lib/
>  -L/opt/tcl8.6.0/lib/  ./configure --prefix=/path_to_python-2.7.4
> --enable-shared
> ==
>
> and then I run make and I got  the following:
>
> ==
> 
> building '_tkinter' extension
>
> gcc -pthread -fPIC -fno-strict-aliasing
> -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1
> -I/usr/X11/include -I. -IInclude -I./Include
> -I/opt/sqlite/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
> -I/opt/tcl8.6.0/include -I/usr/local/include
> -I/opt/python/src/Python-2.7.4/Include -I/opt/python/src/Python-2.7.4 -c
> /opt/python/src/Python-2.7.4/Modules/_tkinter.c -o
> build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/_tkinter.o
>
> gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
> -Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11/include -I.
> -IInclude -I./Include -I/opt/sqlite/sqlite-3.7.16.2/include
> -I/opt/tk8.6.0/include -I/opt/tcl8.6.0/include -I/usr/local/include
> -I/opt/python/src/Python-2.7.4/Include -I/opt/python/src/Python-2.7.4 -c
> /opt/python/src/Python-2.7.4/Modules/tkappinit.c -o
> build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/tkappinit.o
>
> gcc -pthread -shared -L/opt/sqlite/sqlite-3.7.16.2/lib
> -L/opt/tk8.6.0/lib/ -L/opt/tcl8.6.0/lib/ -L/opt/sqlite/sqlite-3.7.16.2/lib
> -L/opt/tk8.6.0/lib/ -L/opt/tcl8.6.0/lib/ -I. -IInclude -I./Include
> -I/opt/sqlite/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
> -I/opt/tcl8.6.0/include
> build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/_tkinter.o
> build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/tkappinit.o
> -L/usr/X11/lib -L/opt/sqlite/sqlite-3.7.16.2/lib -L/opt/tk8.6.0/lib/
> -L/opt/tcl8.6.0/lib/ -L/usr/local/lib -L. -ltk8.6 -ltcl8.6 -lX11
> -lpython2.7 -o build/lib.linux-x86_64-2.7/_tkinter.so
>
> *** WARNING: renaming "_tkinter" since importing it failed: libtk8.6.so:
> cannot open shared object file: No such file or directory
> ...
> ==
>
> The odd thing is that I can see `libtk8.6.so` under /opt/tcl8.6.0/lib,
>  as I specified with `LDFLAGS`:
>
> ==
> cd /opt/tcl8.6.0/lib
> ls
> .
> ../
> pkgconfig
> tk8.6
> libtkstub8.6.a
> tkConfig.sh
> libtk8.6.so
> ==
>
> The file libtk8.6.so  has 1.5M and is definitely there.
>
> So why did that compilation fail?
>
> James
>
>
>
> On Thu, Apr 18, 2013 at 11:05 AM, Jason Swails wrote:
>
>>
>>
>>
>> On Thu, Apr 18, 2013 at 10:37 AM, James Jong wrote:
>>
>>> Thanks so much Chris. This is part of a super computer and I am afraid I
>>> don't have access to a machine with sudo permissions and similar
>>> architecture & OS.
>>>
>>> Is there any way to active higher level of verbosity during the build
>>> process to identify what is failing? Or anything specifically I should
>>> watch for?
>>>
>>
>> Most supercomputers I'm familiar with have some variant of Linux running
>> (e.g., SUSE or Red Hat are quite common).  Some of these machines only have
>> barebone kernels on the compute nodes, though, and have a fully-fledged
>> Linux OS only on the 

Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread James Jong
Thanks Jason. I have pinpointed the location of the error to a very
specific gcc line. I am reproducing the error below (very easy to read):

I run:

==
export CPPFLAGS='-I/opt/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
 -I/opt/tcl8.6.0/include/'

export LDFLAGS='-L/opt/sqlite-3.7.16.2/lib -L/opt/tk8.6.0/lib/
 -L/opt/tcl8.6.0/lib/  ./configure --prefix=/path_to_python-2.7.4
--enable-shared
==

and then I run make and I got  the following:

==

building '_tkinter' extension

gcc -pthread -fPIC -fno-strict-aliasing
-g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DWITH_APPINIT=1
-I/usr/X11/include -I. -IInclude -I./Include
-I/opt/sqlite/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
-I/opt/tcl8.6.0/include -I/usr/local/include
-I/opt/python/src/Python-2.7.4/Include -I/opt/python/src/Python-2.7.4 -c
/opt/python/src/Python-2.7.4/Modules/_tkinter.c -o
build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/_tkinter.o

gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -DWITH_APPINIT=1 -I/usr/X11/include -I. -IInclude
-I./Include -I/opt/sqlite/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
-I/opt/tcl8.6.0/include -I/usr/local/include
-I/opt/python/src/Python-2.7.4/Include -I/opt/python/src/Python-2.7.4 -c
/opt/python/src/Python-2.7.4/Modules/tkappinit.c -o
build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/tkappinit.o

gcc -pthread -shared -L/opt/sqlite/sqlite-3.7.16.2/lib
-L/opt/tk8.6.0/lib/ -L/opt/tcl8.6.0/lib/ -L/opt/sqlite/sqlite-3.7.16.2/lib
-L/opt/tk8.6.0/lib/ -L/opt/tcl8.6.0/lib/ -I. -IInclude -I./Include
-I/opt/sqlite/sqlite-3.7.16.2/include -I/opt/tk8.6.0/include
-I/opt/tcl8.6.0/include
build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/_tkinter.o
build/temp.linux-x86_64-2.7/opt/python/src/Python-2.7.4/Modules/tkappinit.o
-L/usr/X11/lib -L/opt/sqlite/sqlite-3.7.16.2/lib -L/opt/tk8.6.0/lib/
-L/opt/tcl8.6.0/lib/ -L/usr/local/lib -L. -ltk8.6 -ltcl8.6 -lX11
-lpython2.7 -o build/lib.linux-x86_64-2.7/_tkinter.so

*** WARNING: renaming "_tkinter" since importing it failed: libtk8.6.so:
cannot open shared object file: No such file or directory
...
==

The odd thing is that I can see `libtk8.6.so` under /opt/tcl8.6.0/lib,  as
I specified with `LDFLAGS`:

==
cd /opt/tcl8.6.0/lib
ls
.
../
pkgconfig
tk8.6
libtkstub8.6.a
tkConfig.sh
libtk8.6.so
==

The file libtk8.6.so  has 1.5M and is definitely there.

So why did that compilation fail?

James



On Thu, Apr 18, 2013 at 11:05 AM, Jason Swails wrote:

>
>
>
> On Thu, Apr 18, 2013 at 10:37 AM, James Jong wrote:
>
>> Thanks so much Chris. This is part of a super computer and I am afraid I
>> don't have access to a machine with sudo permissions and similar
>> architecture & OS.
>>
>> Is there any way to active higher level of verbosity during the build
>> process to identify what is failing? Or anything specifically I should
>> watch for?
>>
>
> Most supercomputers I'm familiar with have some variant of Linux running
> (e.g., SUSE or Red Hat are quite common).  Some of these machines only have
> barebone kernels on the compute nodes, though, and have a fully-fledged
> Linux OS only on the login nodes... This info is typically on the website
> for that supercomputer (if it has one), or any other available
> documentation.
>
> That said, there are other options available that are probably less of a
> hassle for you:
>
> 1) Skip tkinter unless you _know_ you really need it.  Do you plan on
> doing X-forwarding when you log in?  Can you run the GUI app on your local
> machine before uploading the files you need for computation?  Running GUIs
> locally rather than over the network is typically much faster, anyway.
>
> 2) Submit a ticket to the supercomputer staff requesting that they install
> the software you need.  There may be other 'gotchas' associated with
> installing certain software on supercomputers that the staff would know
> best.
>
> Good luck,
> Jason
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Preparing sqlite, dl and tkinter for Python installation (no admin rights)

2013-04-18 Thread Jason Swails
On Thu, Apr 18, 2013 at 10:37 AM, James Jong  wrote:

> Thanks so much Chris. This is part of a super computer and I am afraid I
> don't have access to a machine with sudo permissions and similar
> architecture & OS.
>
> Is there any way to active higher level of verbosity during the build
> process to identify what is failing? Or anything specifically I should
> watch for?
>

Most supercomputers I'm familiar with have some variant of Linux running
(e.g., SUSE or Red Hat are quite common).  Some of these machines only have
barebone kernels on the compute nodes, though, and have a fully-fledged
Linux OS only on the login nodes... This info is typically on the website
for that supercomputer (if it has one), or any other available
documentation.

That said, there are other options available that are probably less of a
hassle for you:

1) Skip tkinter unless you _know_ you really need it.  Do you plan on doing
X-forwarding when you log in?  Can you run the GUI app on your local
machine before uploading the files you need for computation?  Running GUIs
locally rather than over the network is typically much faster, anyway.

2) Submit a ticket to the supercomputer staff requesting that they install
the software you need.  There may be other 'gotchas' associated with
installing certain software on supercomputers that the staff would know
best.

Good luck,
Jason
-- 
http://mail.python.org/mailman/listinfo/python-list


  1   2   3   >