Embarcadero / PythonEnvironments

Components to simplify the deployment for Python environments for Delphi applications using Python4Delphi.
MIT License
40 stars 15 forks source link

Linux Pip SSL problem #10

Closed peardox closed 2 years ago

peardox commented 2 years ago

Tried using Alexandria Trail + FMXLinux Trial to build on Ubuntu 22.04 (any project that uses Pip should have the same issue)

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. More detailed log...

lartis.log

lmbelo commented 2 years ago

This is nothing regarding the DelphiFMX library. This is regarding the Python version you're installing. You're using a non-ssl compiled version.

peardox commented 2 years ago

I'm supposed to be using whatever's in PythonEnvironments/python - so this one... python3-linux-3.9.12-x86_64.zip

lmbelo commented 2 years ago

Have you tried to install SLL with APT? Try sudo apt-get install libssl-dev.

peardox commented 2 years ago

Got libssl-dev and NOT any APT pip (just default python 3.10 which is no good for project)

lmbelo commented 2 years ago

Install the libessl and you're good to use the Python embeddable that we are sharing out.

peardox commented 2 years ago

This is actually just pre-work for when I get my SteamDeck in a few months BTW

lmbelo commented 2 years ago

I too want a SteamDeack xP

peardox commented 2 years ago

Should get mine about October. They've got an AMD RDNA2 GPU in them that should theoretically work with PyTorch Linux - at least I hope so. I like the idea of launching my project on Steam at some point

Not been able to test on Linux as Laptop has NVidia GPU so the also-present AMD on-chip RDNA is ignored :(

lmbelo commented 2 years ago

Ohh, it looks very cool. Share your thoughts and maybe a video when you get it.

peardox commented 2 years ago

I already plan to - video + all. I should (probably) have the first YouTube video on Machine Learning with a Steam Deck (and a Trial copy of Delphi...) :)

lmbelo commented 2 years ago

I already plan to - video + all. I should (probably) have the first YouTube video on Machine Learning with a Steam Deck (and a Trial copy of Delphi...) :)

I'd love to watch it. Let me know if you need help.

peardox commented 2 years ago

Fixed