Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error 'No module named datetime' when compiling shaderc library #1370

@fancycww

Description

@fancycww

Description

Hi,

I tried to build shaderc library for Vulcan development, run these commands:

cd ndk-bundle/sources/third_party/shaderc
../../../ndk-build.cmd NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_ABI=all APP_PLATFORM=android-30 APP_STL=c++_static -j8 clean libshaderc_combined

But I got an error:

Traceback (most recent call last):
  File "third_party/spirv-tools/utils/update_build_version.py", line 32, in <module>
    import datetime
ImportError: No module named datetime

image

Any ideas on this?
Thanks.

Environment Details

  • NDK Version: 21.3.6528147
  • Build system: ndk-build
  • Host OS: Windows 10
  • ABI: all
  • NDK API level: 24, 26, 30
  • Device API level: 24, 26, 30
  • Python: 3.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions