Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lu-you opened this issue Mar 12, 2024 · 3 comments
Open

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

lu-you opened this issue Mar 12, 2024 · 3 comments
Labels
question Further information is requested

Comments

@lu-you
Copy link

lu-you commented Mar 12, 2024

<-- 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]: ?

@lu-you lu-you added the question Further information is requested label Mar 12, 2024
@bytemain
Copy link
Member

看下是不是这个,试试安装 2.7.13 或 3.5.3

@lu-you
Copy link
Author

lu-you commented Mar 12, 2024

看下是不是这个,试试安装 2.7.13 或 3.5.3

I have a try

@lu-you
Copy link
Author

lu-you commented Mar 12, 2024

看下是不是这个,试试安装 2.7.13 或 3.5.3

2.7.13 没问题,但是3.5.3还是不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants