Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

AttributeError: module 'PyNvCodec' has no attribute 'SeekMode' #228

@bralat

Description

@bralat

Describe the bug
After building vpf from source in windows using the instructions in the wiki, I got the following error when I tried to run python SampleDecode.py

AttributeError: module 'PyNvCodec' has no attribute 'SeekMode'

To Reproduce
Steps to reproduce the behavior:

  1. Follow instructions to install on windows
  2. go to the build folder
  3. run python SampleDecode.py
  4. see the error

Expected behavior
I expected SampleDecode.py to print a description of the file and options it expects

Desktop:

  • OS: Windows 10 Home
  • Nvidia driver version 471.21
  • CUDA Version 11.0
  • Video Codec SDK Version 9.1.23
  • Python Version 3.8
  • Visual Studio 17

Additional context
I started with python 3.7 as stated in the wiki but I got a different error that was only resolved after switching to python 3.8

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions