-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Run open_smart[s3] without installing dependencies for other providers. #840
Comments
Can you provide the full error traceback? |
sure
|
it looks like the can you attempt to |
smart_open only catches ImportError to skip libs when they're not installed, but apparently on your system it can be (partially) imported but is not properly installed (erroring during import with DistributionNotFound when google-cloud-storage lib checks for its proper installation and that's a hard fail). |
I’ll try it later, but I’m curious why open_smart is looking for those packages when I only want to use S3 |
It's doing so in order to populate |
Problem description
Be sure your description clearly answers the following questions:
I want to use open_smart[s3] without the need to install additional dependencies for other providers (gcs/azure).
Ensure the application remains functional.
pkg_resources.DistributionNotFound: The 'google-cloud-storage' distribution was not found and is required by the application
Steps/code to reproduce the problem
requirements.txt
All I need to do is run the application, and right after starting, I get the error:
pkg_resources.DistributionNotFound: The 'google-cloud-storage' distribution was not found and is required by the application
Versions
Please provide the output of:
Checklist
Before you create the issue, please make sure you have:
The text was updated successfully, but these errors were encountered: