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

upgrad to pybind11 master and pass exe path #3522

Merged
merged 3 commits into from
Aug 31, 2020

Conversation

jackalcooper
Copy link
Collaborator

@jackalcooper jackalcooper commented Aug 31, 2020

error log:

[100%] Building CXX object CMakeFiles/oneflow_internal.dir/oneflow/core/job/oneflow_worker.cpp.o
[100%] Built target of_include_copy
[100%] Linking CXX executable bin/oneflow_worker
[100%] Linking CXX executable bin/oneflow_testexe
[100%] Linking CXX shared module python_scripts/oneflow/_oneflow_internal.cpython-37m-x86_64-linux-gnu.so
[100%] Built target oneflow_worker
[100%] Built target oneflow_testexe
[100%] Built target oneflow_internal
Scanning dependencies of target generate_api
Traceback (most recent call last):
  File "/home/hanbinbin/oneflow/tools/generate_oneflow_api.py", line 6, in <module>
    import oneflow
  File "/home/hanbinbin/oneflow/build/python_scripts/oneflow/__init__.py", line 44, in <module>
    oneflow_api = import_oneflow_internal2()
  File "/home/hanbinbin/oneflow/build/python_scripts/oneflow/__init__.py", line 38, in import_oneflow_internal2
    "_oneflow_internal", [dirname(__file__)]
  File "/home/hanbinbin/anaconda3/envs/of-debug/lib/python3.6/imp.py", line 297, in find_module
    raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named '_oneflow_internal'
make[2]: *** [CMakeFiles/generate_api] Error 1
make[1]: *** [CMakeFiles/generate_api.dir/all] Error 2
make: *** [all] Error 2

@clackhan clackhan self-requested a review August 31, 2020 07:30
@oneflow-ci-bot oneflow-ci-bot merged commit 0a647bc into master Aug 31, 2020
@oneflow-ci-bot oneflow-ci-bot deleted the fix_pybind11_swig_use_different_python branch August 31, 2020 11:22
@jackalcooper jackalcooper added this to the 0.1.11 milestone Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants