9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jeff Sickel <jas@corpus-callosum.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] python2.7.6 and pip
Date: Thu, 18 Jun 2020 21:19:01 -0500	[thread overview]
Message-ID: <BF0D3BDB-D3E3-41AC-A4BB-8BC2894E7204@corpus-callosum.com> (raw)
In-Reply-To: <4BDD7E19810FF01142A082326C490278@hera.eonet.ne.jp>

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

from postmaster@aperture:
The following attachment had content that we can't
prove to be harmless.  To avoid possible automatic
execution, we changed the content headers.
The original header was:

	Content-Type: text/plain;
	charset=us-ascii
	Content-Transfer-Encoding: quoted-printable

[-- Attachment #2: file.suspect --]
[-- Type: application/octet-stream, Size: 2431 bytes --]

Kenji,

TCP_NODELAY should be enabled in the 2.7.6 build.

Make sure you have all the APE patches from 9legacy or check the sources:

	https://9p.io/sources/contrib/jas/cpython-src.arch.bz2
	https://9p.io/sources/contrib/jas/src/cmd/cpython-src.arch.bz2
	https://9p.io/sources/contrib/jas/src/ape-source.arch

Python 2.7.6 is the last viable release on Plan 9 until a rewrite of the _p9ssl.c version of the ssl module is completed.  After 2.7.6 the Python group back ported the openssl module from Python 3 to the 2.7 branch and it broke the underlying ssl module hooks used in the Plan 9 Python 2.7.6 port that leveraged libsec instead of openssl.

Feel free to contact me off list if you need additional help.

Jeff

> On Jun 18, 2020, at 4:06 AM, kokamoto@hera.eonet.ne.jp wrote:
> 
> I installed binary distribution of python2.6.7(I'm trying to compile
> it on my machine, but not success yet), and tried to install pip
> by the command of
> % python get-pip.py
> 
> I got failed, and got the error messages as:
> 
> Traceback (most recent call last):
>  File "./get-pip.py:23484", in <module>
>    main()
>  File "./get-pip.py:198", in main
>    bootstrap(tmpdir=tmpdir)
>  File "./get-pip.py:83", in bootstrap
>    from pip._internal.commands.install import InstallCommand
>  File "/tmp/tmplQrajV/pip.zip/pip/_internal/commands/install.py:24", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_internal/cli/req_command.py:16", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_internal/index/package_finder.py:21", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_internal/index/collector.py:14", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_vendor/requests/__init__.py:43", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_vendor/urllib3/__init__.py:7", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_vendor/urllib3/connectionpool.py:29", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_vendor/urllib3/connection.py:68", in <module>
>  File "/tmp/tmplQrajV/pip.zip/pip/_vendor/urllib3/connection.py:96", in HTTPConnection
> AttributeError: 'module' object has no attribute 'TCP_NODELAY'
> 
> Anyone got success above?
> 
> Kenji
> 
> 
> ------------------------------------------
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/Ta10c6b46f1dfa71e-M30ffb2a7fab6ac0c8dead543
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


  reply	other threads:[~2020-06-19  2:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18  9:06 kokamoto
2020-06-19  2:19 ` Jeff Sickel [this message]
2020-06-19  2:32   ` [9fans] " jas
2020-06-19  6:45     ` kokamoto
2020-06-19  7:17       ` Jens Staal
2020-06-29 23:05 ` kokamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BF0D3BDB-D3E3-41AC-A4BB-8BC2894E7204@corpus-callosum.com \
    --to=jas@corpus-callosum.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).