The problem with dlib19.21

I installed dlib19.21 with python3.6.9 on jetpack4.6 successfully the other day. But when I wanna install with python3.7 was fail.
I got this error cmd “AttributeError: module ‘dlib’ has no attribute ‘DLIB_USE_CUDA’”
So, I downloaded jetpack4.6 again and trying to installed dlib19.21 with python3.6.9 on virtualenv. But I still got that error cmd.
I don’t know if that means I have to upgrade something. Please tell me how to do, thanks

I’m closing this topic due to there is no update from you for a period, assuming this issue was resolved.
If still need the support, please open a new topic. Thanks

Hi,

Just want to confirm first.

Is the dlib 19.21 + python 3.6 working before, but failed with the “AttributeError: module ‘dlib’ has no attribute ‘DLIB_USE_CUDA’” when re-downloading?

If yes, does the only difference is the virtualenv?
Could you try if dlib can work without using virtualenv?

Thanks.