For reasons I don’t know my app keeps giving errors even though it worked before this and I didnt change anything to the version.
It now either says “No module named ‘Google’” even thought it says that the package installed succesfully or it gives a generic failed to run. In both cases it does show the “security vulnerabilites” but I have no clue what that error says.
Someone else may be able to help based on what you’ve said, but I’m guessing more details would be helpful. Can you spell out more what you’re seeing, step-by-step? Best of all would be to replicate the issue in a demo app that you can share a clone link to so others can replicate what you’re seeing.
certifi is a package that the python requests module installs as a dependency, your code may be using ‘requests’. It’s like a python specific certificate ‘truststore’ used by the requests module. Seems to be stating that some vendor’s specific root certs are being removed from ‘certifi’. Not sure if this would be your problem specific to not finding ‘google’ anvl module.
You can install the newest requests farther up the list to handle the security issue, but removing the old one and installing the new one frequently takes so much time it exceeds the 1500 allowed seconds for installing packages once it starts doing the rest of the list of packages to install.
I’m getting the same security vulnerability messages about certifi but my packages build successfully. They don’t necessarily cause a failed build or errors in the application.
If you’re getting a failed build, you would need to examine the errors related to the build.
If the build is successful, you’d have to look closer at the line causing the error - looks like a module or package import. The last release for the ‘google’ PYPI package was in 2020 so I’m not sure what package is causing the issue.
thanks for all the help so far. I’ve attached the link below. I also don’t think the warning is the actual issue. The problem is when I try to run the form that contains the call to the server module I get the error in the screenshot below. But the weird part is that when I look at packages I did actually install Google. Maybe I’m probably missing something very obvious since I’m pretty new to Python, so thanks in advance.
So I think the problem might be that the package you’ve installed isn’t what you think it is. This is the PyPI page for the google package, which doesn’t have a description and I can’t find a link to documentation: google · PyPI
What you probably want is the official google-cloud package: google-cloud · PyPI
You can then find the official github page and documentation for using that.