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

[Bug]: bazel运行millionaire示例报No module named 'jax'(pip包含jax库) #925

Closed
dtera opened this issue Dec 3, 2024 · 6 comments

Comments

@dtera
Copy link

dtera commented Dec 3, 2024

Issue Type

Usability

Modules Involved

Documentation/Tutorial/Example

Have you reproduced the bug with SPU HEAD?

Yes

Have you searched existing issues?

Yes

SPU Version

main

OS Platform and Distribution

macosx-arm64

Python Version

3.10.14

Compiler Version

clang 16.0.0

Current Behavior?

bazel run -c opt //examples/python:millionaire

image

Standalone code to reproduce the issue

bazel run -c opt //examples/python:millionaire

Relevant log output

No response

@w-gc
Copy link
Collaborator

w-gc commented Dec 3, 2024

please install Python dependency packages first: https://github.com/secretflow/spu/blob/main/requirements.txt

@dtera
Copy link
Author

dtera commented Dec 3, 2024

please install Python dependency packages first: https://github.com/secretflow/spu/blob/main/requirements.txt

都安装了的,所以我不明白安装了为啥还会报上面的错误,请看下面(我上面的图也标了已经安装了)

image

@tpppppub
Copy link
Collaborator

tpppppub commented Dec 3, 2024

bazel clean 然后再重跑下

@dtera
Copy link
Author

dtera commented Dec 3, 2024

bazel clean 然后再重跑下

clean后运行会报另一个error,如下图

image

@tpppppub
Copy link
Collaborator

tpppppub commented Dec 3, 2024

请确保你的 nodes 已经启动在运行

@dtera
Copy link
Author

dtera commented Dec 4, 2024

请确保你的 nodes 已经启动在运行

ok了,感谢~

@dtera dtera closed this as completed Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants