ImportError: initialization failed when trying to import in python
- Dominant language
- C++
- Stars
- 928
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I'm trying to get ViSQOL to work through python
I followed all the installation steps and got the main script to work from the command line.
However, when I run the example code mentioned in the README, I hit this error:
```
>>> from visqol import visqol_lib_py
Add a python dependency on "@com_google_protobuf//:protobuf_python"
ModuleNotFoundError: No module named 'google'
Traceback (most recent call last):
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
ModuleNotFoundError: No module named 'google'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
ImportError: initialization failed
```
It seems there's an extra dependency needed, but I'm having a hard time decyphering the error message.
What exactly am I missing?
Thanks in advance :)
Contributor guide
Assessment
This issue has not been assessed yet.