[OpenIndiana-discuss] Python 3.10.0

Alex Smith (K4RNT) shadowhunter at gmail.com
Mon Nov 15 22:04:37 UTC 2021


Python 2.7 and 3.0 are not compatible with each other. This occurred
several years ago.

Hope you can get this module working! BTW, does pip have numpy in its
repository?

" 'With the first link, the chain is forged. The first speech censured, the
first thought forbidden, the first freedom denied, chains us all
irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and
warning... The first time any man's freedom is trodden on, we’re all
damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG
episode "The Drumhead"
- Alex Smith
- Lacey, Washington (Olympia, WA metropolitan area)


On Mon, Nov 15, 2021 at 9:16 AM Apostolos Syropoulos via
openindiana-discuss <openindiana-discuss at openindiana.org> wrote:

> Hello,
> I wanted to play a bit with Python's numpy module. One can install an old
> versionfor Python 2.7.X (it is available as a package). But it is not
> possible to install it withthe latest version of Python that is bundled
> with the OS. Thus I tried to compilethe latest version of Python (3.10.0)
> and see if I can succeed with numpy.I have tried with no extra options
> etc., but this did not work as Python was compiledwithout openssl support.
> After some experiments, I succeeded to build Python with thefollowing
> options:
> CC="gcc-10 -m64" CFLAGS="-I/usr/openssl/1.1/include
> -I/usr/lib/amd64/libffi-3.2.1/include -DFFI_NO_RAW_API" \
> LDFLAGS="-L/usr/openssl/1.1/lib/amd64 -lcrypto -lssl -L/usr/lib/amd64
> -lffi" \
> ./configure --prefix=/opt/gnu/python  --with-openssl=/usr/openssl/1.1
> --with-openssl-rpath=auto
> Then I tried to install Cython and numpy and there was absolutely no
> problem!
>
> Regards,
> A.S.
>
> ----------------------Apostolos Syropoulos
> Xanthi, Greece
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
>


More information about the openindiana-discuss mailing list