Package Details: python36 3.6.15-6

Git Clone URL: https://aur.archlinux.org/python36.git (read-only, click to copy)
Package Base: python36
Description: Major release 3.6 of the Python high-level programming language
Upstream URL: http://www.python.org/
Keywords: python python3
Licenses: custom
Submitter: rixx
Maintainer: rixx
Last Packager: rixx
Votes: 36
Popularity: 0.001117
First Submitted: 2016-09-10 11:42 (UTC)
Last Updated: 2023-10-14 21:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

ubmarco commented on 2020-03-24 20:02 (UTC) (edited on 2020-03-24 20:06 (UTC) by ubmarco)

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 (UTC) (edited on 2019-09-20 16:10 (UTC) by dcoryh192)

@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 (UTC) (edited on 2019-08-31 14:18 (UTC) by vaan)

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 (UTC)

@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"

emmieaur commented on 2019-07-18 23:30 (UTC)

Why does the package have pip as a built-in, but without the binary? Is there a way I can install pip3.6/python3.6 -m pip using this package?

rixx commented on 2018-11-17 07:59 (UTC)

Updated, sorry. Thank you, aorth, for providing the PKGBUILD. I have my pkgbuild repository online at https://github.com/rixx/pkgbuilds, so if I seem to miss updates in the future, you can also PR there.

SilverMight commented on 2018-11-16 23:33 (UTC)

Is this going to be updated anytime soon? Has been flagged for a long time now

aorth commented on 2018-11-02 12:24 (UTC)

Updated PKGBUILD for Python 3.6.7: https://gist.github.com/alanorth/e1667b7ae8e463f12a1078bef975904e

applebloom commented on 2018-10-03 12:21 (UTC)

The package has $srcdir references.

rixx commented on 2018-08-06 15:21 (UTC) (edited on 2018-08-06 15:31 (UTC) by rixx)

Done, thank you. This package now builds correctly alongside with Python 3.7 (and all others, presumably.