* python2.7.6 and pip
@ 2020-06-18 9:06 kokamoto
2020-06-19 2:19 ` [9fans] " Jeff Sickel
2020-06-29 23:05 ` kokamoto
0 siblings, 2 replies; 6+ messages in thread
From: kokamoto @ 2020-06-18 9:06 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] python2.7.6 and pip
2020-06-18 9:06 python2.7.6 and pip kokamoto
@ 2020-06-19 2:19 ` Jeff Sickel
2020-06-19 2:32 ` jas
2020-06-29 23:05 ` kokamoto
1 sibling, 1 reply; 6+ messages in thread
From: Jeff Sickel @ 2020-06-19 2:19 UTC (permalink / raw)
To: 9fans
[-- 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] python2.7.6 and pip
2020-06-19 2:19 ` [9fans] " Jeff Sickel
@ 2020-06-19 2:32 ` jas
2020-06-19 6:45 ` kokamoto
0 siblings, 1 reply; 6+ messages in thread
From: jas @ 2020-06-19 2:32 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]
Not sure why this text/plain message is marked invalid given it is, well, a plain text message. Here are the details:
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
[-- Attachment #2: Type: text/html, Size: 3911 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] python2.7.6 and pip
2020-06-19 2:32 ` jas
@ 2020-06-19 6:45 ` kokamoto
2020-06-19 7:17 ` Jens Staal
0 siblings, 1 reply; 6+ messages in thread
From: kokamoto @ 2020-06-19 6:45 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 41 bytes --]
Ok, thanks
I'll write to you.
Kenji
[-- Attachment #2: Type: message/rfc822, Size: 9787 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 1087 bytes --]
Not sure why this text/plain message is marked invalid given it is, well, a plain text message. Here are the details:
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
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Ta10c6b46f1dfa71e-M597edfb83f7d30f60951427f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
[-- Attachment #2.1.2: Type: text/html, Size: 4606 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] python2.7.6 and pip
2020-06-19 6:45 ` kokamoto
@ 2020-06-19 7:17 ` Jens Staal
0 siblings, 0 replies; 6+ messages in thread
From: Jens Staal @ 2020-06-19 7:17 UTC (permalink / raw)
To: 9fans
I remember that there was an old openssl port too. With that, can the most
recent 2.7.18 and even 3.x be built?
On Fri, Jun 19, 2020 at 03:45:05PM +0900, kokamoto@hera.eonet.ne.jp wrote:
> Ok, thanks
> I'll write to you.
>
> Kenji
>
> ------------------------------------------
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/Ta10c6b46f1dfa71e-M6872935c0c421daf84bc3304
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
> Date: Thu, 18 Jun 2020 22:32:14 -0400
> From: jas@corpus-callosum.com
> To: 9fans <9fans@9fans.net>
> Topicbox-Policy-Reasoning: allow: sender is a member
> Topicbox-Message-UUID: 160a0076-b1d5-11ea-8b80-0dc6212d11b0
> Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:f46adda4-eb83-11e9-92f5-7ab8f5b1d025:M597edfb83f7d30f60951427f:1:cQQ8sfFcN3j7E4cX6nVTY_T6ffs2dPToR6DZjO_yQEk
> Subject: Re: [9fans] python2.7.6 and pip
>
> Not sure why this text/plain message is marked invalid given it is, well, a plain text message. Here are the details:
>
> 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
>
> ------------------------------------------
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/Ta10c6b46f1dfa71e-M597edfb83f7d30f60951427f
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] python2.7.6 and pip
2020-06-18 9:06 python2.7.6 and pip kokamoto
2020-06-19 2:19 ` [9fans] " Jeff Sickel
@ 2020-06-29 23:05 ` kokamoto
1 sibling, 0 replies; 6+ messages in thread
From: kokamoto @ 2020-06-29 23:05 UTC (permalink / raw)
To: 9fans
> 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
....
> AttributeError: 'module' object has no attribute 'TCP_NODELAY'
I recompiled python2.7.6 by the help from jas adding -DTCP_NODELAY.
Yes, it disappeared, however, I got another error saying no _ctypes module.
According to jas, we have to implement it on python2.7.6.
Then, to perform
term% pythonb get-pip.py
is difficult here.
Kenji
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-06-29 23:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18 9:06 python2.7.6 and pip kokamoto
2020-06-19 2:19 ` [9fans] " Jeff Sickel
2020-06-19 2:32 ` jas
2020-06-19 6:45 ` kokamoto
2020-06-19 7:17 ` Jens Staal
2020-06-29 23:05 ` kokamoto
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).