-
Notifications
You must be signed in to change notification settings - Fork 75
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
compile error #45
Comments
Try Python 3
turbine yan <notifications@github.com> 于 2020年4月7日周二 下午1:23写道:
… I like this project. I met a error when I try to config it, as type:
'python ./configure.py --backend auto'
then an error was reported on the screen, as:
***@***.***:~/NNPACK-darknet$ python ./configure.py --backend auto
Detected root directory: /home/pi/NNPACK-darknet
/usr/local/lib/python2.7/dist-packages/confu/manifest.py:36: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
manifest_yaml = yaml.load(manifest_text)
Configuring dependency pthreadpool
Configuring dependency fxdiv
Configuring dependency googletest
Configuring dependency googlebenchmark
Traceback (most recent call last):
File "./configure.py", line 396, in <module>
main(sys.argv[1:]).generate()
File "./configure.py", line 36, in main
(build.deps.pthreadpool, build.deps.fxdiv, build.deps.fp16): any,
File "/usr/local/lib/python2.7/dist-packages/confu/builds/deps.py", line 48, in __getattr__
config = configure.main(["--target", self._target])
File "/home/pi/NNPACK-darknet/deps/pthreadpool/configure.py", line 20, in main
build.static_library("pthreadpool", [build.cc(src) for src in sources])
File "/usr/local/lib/python2.7/dist-packages/confu/builds/unix.py", line 72, in cc
return self._compile("cc", source_path)
File "/usr/local/lib/python2.7/dist-packages/confu/builds/unix.py", line 56, in _compile
source_path = validate_source_path(source_path, self.source_dir)
File "/usr/local/lib/python2.7/dist-packages/confu/validators.py", line 67, in validate_source_path
.format(source_path=source_path))
ValueError: Specified source file /home/pi/NNPACK-darknet/deps/pthreadpool/src/threadpool-legacy.c does not exist
any idea about this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#45>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZY3LDBN63S3BTCGTWXNEDRLK2E3ANCNFSM4MC2F3LA>
.
|
this issue was not relative to the version of python. I have figured out the reason, because the author of the project ptheadpool was refactoring those code and rename all of files, but forgetting to update the config.py file in new version. I try to revert the repo in a specified version then re-compile the whole project then the issue was solved. |
@turbin I am having this same problem right now. To which commit did you roll back to for pthreadpool? |
nvm. Found it. Thanks for the save! |
I like this project. I met a error when I try to config it, as type:
'python ./configure.py --backend auto'
then an error was reported on the screen, as:
any idea about this?
The text was updated successfully, but these errors were encountered: