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

在多python环境下,返回Python.h的列表,导致编译出错。 #322

Closed
Aaron20000101 opened this issue Oct 8, 2023 · 1 comment · Fixed by #722
Closed

在多python环境下,返回Python.h的列表,导致编译出错。 #322

Aaron20000101 opened this issue Oct 8, 2023 · 1 comment · Fixed by #722
Assignees

Comments

@Aaron20000101
Copy link
Collaborator

Aaron20000101 commented Oct 8, 2023

https://github.com/DeepLink-org/DIPU/blob/5cd9b1c5d2dd38aef63959b49d4948e05a38f870/dipu/CMakeLists.txt#L43
image

@Aaron20000101
Copy link
Collaborator Author

而且也无法确定哪个版本是正确的(活跃的)版本。
建议使用cmake的find_package(Python COMPONENTS Interpreter Development)语法来获取。

@Aaron20000101 Aaron20000101 changed the title 在多python环境下,这句话将返回Python.h的列表,导致编译出错。 在多python环境下,返回Python.h的列表,导致编译出错。 Oct 8, 2023
@lljbash lljbash self-assigned this Oct 19, 2023
LeungChiNan pushed a commit to DeepLink-org/deeplink.framework.dev that referenced this issue Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants