alpr-unconstrained icon indicating copy to clipboard operation
alpr-unconstrained copied to clipboard

Can't "make" on Mac OS

Open YaKalmar0 opened this issue 5 years ago • 5 comments

I get message clang: fatal error: unsupported option '-fopenmp after typing command make in darknet directory. I have already updated clang but I don't understand how to run it properly via make. Thanks in advance!

YaKalmar0 avatar Jul 12 '20 18:07 YaKalmar0

I also encountered this yesterday. I thought this Darknet is out of date or something so I replaced it entirely with the newest version which was pulled from here. Now it works really well

tailtq avatar Jul 16 '20 06:07 tailtq

I also encountered this yesterday. I thought this Darknet is out of date or something so I replaced it entirely with the newest version which was pulled from here. Now it works really well

True, thank you!

YaKalmar0 avatar Jul 16 '20 11:07 YaKalmar0

I also encountered this yesterday. I thought this Darknet is out of date or something so I replaced it entirely with the newest version which was pulled from here. Now it works really well

Did you have an issue with import darknet.python.darknet as dn ImportError: No module named darknet.python.darknet? If yes, how did you solve it?

YaKalmar0 avatar Jul 16 '20 13:07 YaKalmar0

I also encountered this yesterday. I thought this Darknet is out of date or something so I replaced it entirely with the newest version which was pulled from here. Now it works really well

Did you have an issue with import darknet.python.darknet as dn ImportError: No module named darknet.python.darknet? If yes, how did you solve it?

No, I didn't see it. Can you double-check your files and directories?

I think the reason would be having path like alpr-unconstrained/darknet/darknet/python/darknet.py. If it is the case, please correct it like the same structure, which is alpr-unconstrained/darknet/python/darknet.py.

If you can send your structure here, I might be able to help. Good luck 😄

tailtq avatar Jul 17 '20 02:07 tailtq

I also encountered this yesterday. I thought this Darknet is out of date or something so I replaced it entirely with the newest version which was pulled from here. Now it works really well

True, thank you!

I think this can be closed with this solution. It worked for me as well.

qurbat avatar Sep 05 '21 08:09 qurbat