New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problems due to google_type_annotations #96
Comments
I've been running up against this, too. You need to install from this commit: pip install git+https://github.com/google/gin-config@22f59375a70d47e467c902eaeb6f979660995b84 You'll get the |
Fixes #96 PiperOrigin-RevId: 343954894
Fixes #96 PiperOrigin-RevId: 343954894
I just pushed 0.4.0 so there should be a new package available to install directly from pypi. |
ERROR:root:Path not found: base.gin
*** TypeError: expected str, bytes or os.PathLike object, not NoneType This is after running: gin.add_config_file_search_path("configs")
gin.parse_config_file("base.gin") Both the path I can confirm that this works with 22f5937. I haven't been able to go past that commit because of |
@dhr can you take a look at this? |
can you patch d318342 to remove the issue with |
Hello. My problem seems to be solved; should the issue be closed? |
I had the same problem and I solved downgrading to the version that @ionlights suggested, the most recent commit is still affected by this problem |
Maybe @dhr has some insights. |
I'm running python 3.7.5, on Ubuntu 18.04. While installing gin-config, I ran into the following error:
The error seems to be thrown by
from __future__ import google_type_annotations
. Commenting out this import inresource_reader.py
resolves the problem. Seems similar to #77, though it's supposed to be resolved.Also checked: installing gin-config-0.3.0 directly from pip allows me to import gin without any problems (Though it lacks the bindings for torch)
The text was updated successfully, but these errors were encountered: