Problem installing 3.2.1 on a Linux server

2011-08-06 Thread John S James
My ISP (Bluehost) does not yet support Python version 3, but gave me shell
access (no sudo) so that I can install Python 3 myself on my server account
(running Apache). So I uploaded the standard Python.org installation package
(Python 3.2.1 for Linux) and followed instructions, starting with
./configure. These instructions had worked for me before, to install Python3
on a Linux netbook.

But on the server, ./configure starts fine, but later stops with an error.
Here is the section of the output where the error occurred:
*checking for build directories... done*
*configure: creating ./config.status*
*config.status: creating Makefile.pre*
*config.status: creating Modules/Setup.config*
*config.status: error: cannot find input file: `Misc/python.pc.in'*

Then the ./configure step stopped. Needless to say, the next step, Make, did
not work because there was no Makefile.

Others have received the same message, in different contexts. But I haven't
found a solution.

Two action items:

* For the Python community, it would help to fix this problem in the
standard Python distribution, if possible. People do want to run Python3 on
more servers. I could help by testing the fix to see if the Python3 install
now works.

* Meanwhile I'd appreciate any advice on a temporary fix (such as changing
the configure file, or where to find a package that I could install on the
server before installing Python3). All I need for now is the most basic
installation, to support CGI and Web forms.

John

-- 
John S. James
www.RepliCounts.org
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Problem installing 3.2.1 on a Linux server

2011-08-14 Thread John S James
Thanks, your reply helped. The problem seems to be the autoconfig -- I was
using version 2.59 instead of 2.68. However, the host will not let users
install 2.68.

So I'm sending them feedback, suggesting a number of reasons for supporting
3.2 for their server accounts, including:

* Popularity of Python, TIOBE recognition;
* Wide consensus that new Python programmers should learn version 3, unless
they must maintain legacy software;
* 3.2 will be around for at least another year before 3.3 is released;
* Lack of 3.2 in low-cost hosts (3.1 is available) -- a competitive
advantage;
* 3.2 improves future library compatibility, vs. 3.1;
* Installing 3.2 should not affect any existing customers, unless they
choose to use it.

We should explore why hosting services are resistant to supporting the
current version of Python (plus an important older version, 2.7). Other
supported versions could be deprecated -- and eventually removed by the
ISPs, except for the few customers who choose to install it themselves.

John S James
www.replicounts.org



-- Forwarded message --
From: Ned Deily 
To: python-list@python.org
Date: Sat, 06 Aug 2011 15:09:39 -0700
Subject: Re: Problem installing 3.2.1 on a Linux server
In article
,
 John S James  wrote:
> My ISP (Bluehost) does not yet support Python version 3, but gave me shell
> access (no sudo) so that I can install Python 3 myself on my server
account
> (running Apache). So I uploaded the standard Python.org installation
package
> (Python 3.2.1 for Linux) and followed instructions, starting with
> ./configure. These instructions had worked for me before, to install
Python3
> on a Linux netbook.
>
> But on the server, ./configure starts fine, but later stops with an error.
> Here is the section of the output where the error occurred:
> *checking for build directories... done*
> *configure: creating ./config.status*
> *config.status: creating Makefile.pre*
> *config.status: creating Modules/Setup.config*
> *config.status: error: cannot find input file: `Misc/python.pc.in'*
>
> Then the ./configure step stopped. Needless to say, the next step, Make,
did
> not work because there was no Makefile.

Works for me on a current Debian system.  Are you downloading the source
from python.org?  Did you verify that the file is created by tar?

$ curl -O http://www.python.org/ftp/python/3.2.1/Python-3.2.1.tgz
$ tar xzf Python-3.2.1.tgz
$ cd ./Python-3.2.1/
$ ls -l Misc/python.pc.in
-rw-r- 1 nad nad 293 Jul  8 23:58 Misc/python.pc.in
$ ./configure
[...]
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
creating Modules/Setup
creating Modules/Setup.local
creating Makefile

If you are still having problems, chances are you have an out-of-date or
incomplete version of GNU autotools which contains the macros and tools
that are used by the ./configure script.  On my system:

$ autoconf --version
autoconf (GNU Autoconf) 2.68

--
 Ned Deily,
 n...@acm.org


-- 
John S. James
www.aidsnews.org
www.RepliCounts.org
-- 
http://mail.python.org/mailman/listinfo/python-list


Installed 3.5.0 successfully on Windows 10, but where is DDLs, Doc, Lib, etc?

2015-10-14 Thread John S. James
I installed 3.5.0 today and it's working fine -- either from the command 
prompt, or running a .py script.

But the Python 3.4 that was previously installed on the computer had a Python34 
folder, which contained DDLs, Doc, include, Lib, and various other folders and 
files. I haven't found a comparable Python35 folder anywhere. I'd like to find 
the 3.5 Doc folder at least.

I looked for the installation directory using the command prompt, but at 
c:\Users\(my name)\ there is no AppData.

Where can I find that folder? Or can I just ignore it for now (and get the 
documentation elsewhere)?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Installed 3.5.0 successfully on Windows 10, but where is DDLs, Doc, Lib, etc?

2015-10-15 Thread John S James
Thank you, this is very helpful.

John

On Wed, Oct 14, 2015 at 3:31 PM, Zachary Ware  wrote:

> On Wed, Oct 14, 2015 at 2:05 PM, John S. James 
> wrote:
> > I installed 3.5.0 today and it's working fine -- either from the command
> prompt, or running a .py script.
> >
> > But the Python 3.4 that was previously installed on the computer had a
> Python34 folder, which contained DDLs, Doc, include, Lib, and various other
> folders and files. I haven't found a comparable Python35 folder anywhere.
> I'd like to find the 3.5 Doc folder at least.
> >
> > I looked for the installation directory using the command prompt, but at
> c:\Users\(my name)\ there is no AppData.
> >
> > Where can I find that folder? Or can I just ignore it for now (and get
> the documentation elsewhere)?
>
> Python 3.5 changed the default install directory on Windows to better
> fit in with other Windows software and to alleviate security concerns
> (C:\Python34, for example, is world-writable, whereas C:\Program
> Files\Python 3.5\, which is the new default all-users install
> location, can only be written to by administrators).  True per-user
> installs are now also possible, and install to your user directory.
>
> You can find where Python is installed using Python itself: try `py
> -3.5 -c "import sys, os;os.system('explorer ' + sys.prefix)"` at the
> Command Prompt, which uses the Python Launcher for Windows to start
> Python 3.5 and execute a command to start a Windows Explorer instance
> in the directory containing Python.
>
> By the way, C:\Users\(your name)\AppData does exist, but is hidden by
> default.  It will tab-complete, though; at Command Prompt do `dir
> C:\Users\(your name)\App`.
>
> You can also get always-up-to-date documentation from
> https://docs.python.org/3.5/.  There's also a download page at
> https://docs.python.org/3.5/download.html if you prefer a local copy
> of one of the various formats available there.
>
> Hope this helps,
> --
> Zach
>



-- 
John S. James
www.AgeTreatmentNews.org <http://www.agetreatmentnews.org/> -  Biomedical
research to slow or reverse aging; also on Twitter at AgeTreatment
<http://twitter.com/agetreatment>
Other projects: www.affinity99.orgwww.MassSponsorship.org
<http://www.masssponsorship.org/>
-- 
https://mail.python.org/mailman/listinfo/python-list