python3 from source
Posted: 4. Dec 2018, 14:22
I got the following error when using sklearn:
Searching online I found most people solve it in slackware by recompiling python.
But I couldn't find python3 in `slapt-src`, and according to the post python3 not available from sourcery this is intentional.
So I proceeded to adapt the Slackbuild for python3 to build the same version as the package (3.5.1), to avoid the breakage mentioned on that post. Basically I updated the version number, commented out the patches session and downloaded the old source. But the build is stopping with an error,
, and doesn't produce a package.
Before spend time debugging the Slackbuild I thought it might exist a better approach.
Is the Slackbuild used to create the Salix package available somewhere?
Code: Select all
/usr/lib64/python3.5/site-packages/sklearn/externals/joblib/_multiprocessing_helpers.py:38: UserWarning: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.. joblib will operate in serial mode
But I couldn't find python3 in `slapt-src`, and according to the post python3 not available from sourcery this is intentional.
So I proceeded to adapt the Slackbuild for python3 to build the same version as the package (3.5.1), to avoid the breakage mentioned on that post. Basically I updated the version number, commented out the patches session and downloaded the old source. But the build is stopping with an error,
Code: Select all
...
Installing collected packages: setuptools, pip
Successfully installed pip setuptools
sed: can't read /tmp/SBo/package-python3/usr/lib64/python3.5/ensurepip/__init__.py: No such file or directory
Before spend time debugging the Slackbuild I thought it might exist a better approach.
Is the Slackbuild used to create the Salix package available somewhere?