AUR (en) - python36
andreymal commented on 2020-09-07 22:19
rixx commented on 2020-04-16 09:38
pkgrel bumped, works again.
dani commented on 2020-04-16 05:20
please make it support libffi.so.7
somini commented on 2020-04-13 15:06
This needs a pkgrel bump since libffi was updated.
rixx commented on 2020-03-31 15:43
Because enabling optimizations adds a lot of build time – I for one would not upgrade my Python as regularly if every update took 40 minutes of heavy CPU use. Adding --enable-optimizations is, as you've seen, fairly doable on your own, but I think adding it by default would be a poor choice.
makeworld commented on 2020-03-31 14:55
Why does this package not use --enable-optimizations?
ubmarco commented on 2020-03-24 20:02
I also face the same issue:
error: [Errno 2] No such file or directory: '/home/ubadmin/.cache/yay/python36/src/Python-3.6.10/Modules/_ctypes/libffi'
make: *** [Makefile:603: sharedmods] Error 1
==> ERROR: A failure occurred in build().
Aborting...
I fixed it by installing the pkgconf package following this advice.
dcoryh192 commented on 2019-09-20 16:08
@walwe I had a similar issue to @ammonaur, but was able to resolve it:
Python36 installed correctly and the python3.6 symlink is properly under /usr/bin. Running "sudo python3.6 -m ensurepip" gives:
"Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (40.0.0)
Requirement already satisfied: pip in /usr/lib/python3.6/site-packages (18.0)"
But pip3.6 cannot be found and python3.6 -m pip gives:
"/usr/bin/python3.6: No module named pip.main; 'pip' is a package and cannot be directly executed"
I looked at /usr/lib/python3.6/site-packages/pip and only see the _internal and _vendor folders. Compared to the corresponding py3.7 directory, it seems to be missing init.py and main.py which explains the error message above.
To fix: I deleted /usr/lib/python3.6/site-packages/pip and /usr/lib/python3.6/site-packages/pip-18.0.dist-info, then re-ran "sudo python3.6 -m ensurepip" which was successful and now pip3.6 works as well as python3.6 -m pip
vaan commented on 2019-08-31 14:16
I'm getting this error:
warning: building with the bundled copy of libffi is deprecated on this platform. It will not be distributed with Python 3.7 error: [Errno 2] No such file or directory: '/tmp/python36/src/Python-3.6.9/Modules/_ctypes/libffi' make: *** [Makefile:603: sharedmods] Error 1
I do have libffi installed. I wonder if that's normal the error is still occurring? Am I missing something? I have remove the rm _ctypes/libffi from the PKGBUILD in the mean time.
walwe commented on 2019-08-23 13:55
@ammonaur You can install pip3.6 using: sudo python3.6 -m ensurepip
After you can use "pip3.6 install" or "python3.6 -m pip install"
Does anyone know why these errors are happening?