Skip to content

mac的python插件安装失败问题 #37

@lu-you

Description

@lu-you

<-- Please answer these questions before submitting them. Thank you. -->

Version
The version you are currently using

OS
macOS、Linux、Windows

Question Description
A clear and concise description of what the question is.

intel9的mac,os:14.3 (23D56)

安装python3 和 2 都会报错,还是说我只能使用OS X 14.3 using python-build 2.3.36-17-gc5eae0f2

python-build: use zlib from xcode sdk
^@
BUILD FAILED (OS X 14.3 using python-build 2.3.36-17-gc5eae0f2)

Inspect or clean up the working tree at /var/folders/kr/tp1mzss90ds16ry5119pglyr0000gn/T/python-build.20240312150311.43829
Results logged to /var/folders/kr/tp1mzss90ds16ry5119pglyr0000gn/T/python-build.20240312150311.43829.log

Last 10 log lines:
^
Python/random.c:97:19: error: call to undeclared function 'getentropy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
res = getentropy(buffer, len);
^
2 errors generated.
make: *** [Python/random.o] Error 1
make: *** Waiting for unfinished jobs....
1 warning generated.
1 warning generated.
1 warning generated.
plugin [PostInstall] method error: :101: python build failed
stack traceback:
[G]: in function 'error'
:101: in main chunk
(tailcall): ?
[G]: ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions