Infinidat / relocatable-python3

40 stars 10 forks source link

Python 3.7 dependency missing from FTP #6

Open vooon opened 5 years ago

vooon commented 5 years ago

Hello,

There are may errors like that on python3.7 branch:

ftp://python.infinidat.com/python/sources/cyrus-sasl-2.1.27.tar.gz: <urlopen error ftp error: [Errno ftp error] 550 No such file or directory.>

As a quick fix i just change urls to use upstream sites.

wiggin15 commented 5 years ago

Hi. The 3.7 branch is still work in progress. We hope to finish it soon. Please use the "develop" branch for now.

vooon commented 5 years ago

Hi, thanks. Unfortunately i switched to vanilla python installed to /usr/local because i can't get working pipenv environments (many errors, firstly libpython.so...).

wiggin15 commented 5 years ago

@vooon Thanks for letting us know. Did you get these errors after building the "develop" branch or on the "3.7" branch?

vooon commented 5 years ago

"python3.7" branch. I changed most of unavailable tarballs urls to upstream ones. Then got successful build. Not tried "develop" yet.

But the problem is more like in how virtualenv work. Because it do a copy of python binary, but then let it to ld any libpython3.7.so. Because I installed python distro to /opt/python3.7 ld can't load the library. All tricks with LD_LIBRARY_PATH makes it unusable.

My goal is to have portable runtime that is not tied to exact operating system, so then I can package my microservice venv and run.

Edward-Knight commented 5 years ago

After much hacking around, I have also not been able to build inside a virtual environment. In the end I gave up and now build using the system Python.

r-bit-rry commented 4 years ago

Hey guys, trying to figure the issue out. Are you trying to build the python from a virtualenv or are you trying to create a new virtualenv using the relocatable python?

vooon commented 4 years ago

@r-bit-rry i tried to create venv with relocatable python and then use it.