Jittor / jittor

Jittor is a high-performance deep learning framework based on JIT compiling and meta-operators.
https://cg.cs.tsinghua.edu.cn/jittor/
Apache License 2.0
3.08k stars 311 forks source link

AttributeError: module 'os' has no attribute 'RTLD_DEEPBIND' #8

Closed sunnythree closed 4 years ago

sunnythree commented 4 years ago

os: mac os log:

import jittor [i 0320 17:51:07.925814 12 v1 init.py:102] Run cmd: which g++ [i 0320 17:51:07.936802 12 v1 init.py:102] Run cmd: /usr/bin/g++ --version [i 0320 17:51:08.182412 12 init.py:183] Found g++(17.7.0) at /usr/bin/g++. [i 0320 17:51:08.193914 12 v1 init.py:102] Run cmd: git branch fatal: 不是一个 git 仓库(或者任何父目录):.git Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/jittor-1.0.0-py3.6.egg/jittor/init.py", line 10, in from . import compiler File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/jittor-1.0.0-py3.6.egg/jittor/compiler.py", line 755, in import_flags = os.RTLD_NOW | os.RTLD_GLOBAL | os.RTLD_DEEPBIND AttributeError: module 'os' has no attribute 'RTLD_DEEPBIND'

Jittor commented 4 years ago

Mac os is not supported yet, you are welcome to create a pull request for it~ Duplicate of #6

Jittor commented 4 years ago

Thans for reporting, we will close and merge this issue.