Forums

Could not find a version that satisfies the requirement (for module GA 0.17.2)

Basically, the error i get is module not found, which is why I am trying to install this version 0.17.2 on the latest Python Flask via Bash but I it cant find a version?

16:12 ~ $ pip install google-analytics==0.17.2
Defaulting to user installation because normal site-packages is not writeable
Looking in links: /usr/share/pip-wheels
ERROR: Could not find a version that satisfies the requirement google-analytics==0.17.2 (from versions: 0.0.0)
ERROR: No matching distribution found for google-analytics==0.17.2

Many thanks for help.

[edit by admin: formatting]

The only google-analytics package I can see on PyPI is this one, which only has a version 0.0.0. Perhaps the package you need has a different name? Here's a link to a PyPI search for all similar packages.

Yeah thank you! I was doing this late at night and I was wondering whats wrong.

Apparently, I forgot to add -data, basically its google-analytics-data package, so it worked fine after that. Thank you!

Excellent, glad to hear you got it working!