Package Details: python36 3.6.12-1

Git Clone URL: (read-only, click to copy)
Package Base: python36
Description: Major release 3.6 of the Python high-level programming language
Upstream URL:
Keywords: python python3
Licenses: custom
Submitter: rixx
Maintainer: rixx
Last Packager: rixx
Votes: 28
Popularity: 0.014536
First Submitted: 2016-09-10 11:42
Last Updated: 2020-09-17 12:41

Latest Comments

1 2 3 Next › Last »

andreymal commented on 2020-09-07 22:19

Does anyone know why these errors are happening?

ERROR: object '' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
python36/src/Python-3.6.11/Modules/_decimal/_decimal.c:282:36: error: expected ';', ',' or ')' before 'UNUSED'
  282 | dec_traphandler(mpd_context_t *ctx UNUSED) /* GCOV_NOT_REACHED */
python36/src/Python-3.6.11/Modules/_decimal/_decimal.c:667:14: error: 'signaldict_len' undeclared here (not in a function); did you mean 'signaldict_repr'?
  667 |     (lenfunc)signaldict_len,          /* mp_length */
Failed to build these modules:

rixx commented on 2020-04-16 09:38

pkgrel bumped, works again.

dani commented on 2020-04-16 05:20

please make it support

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

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