Skip to content
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

Build error: rsa requires Python '>=3.5, <4' but the running Python is 2.7.17 #773

Open
kerbymart opened this issue May 20, 2024 · 1 comment

Comments

@kerbymart
Copy link

The guide is outdated: https://github.com/AppScale/appscale-tools/wiki/Installing-the-AppScale-Tools-on-Linux

To prevent the error "rsa requires Python '>=3.5, <4' but the running Python is 2.7.17", run the following command:

pip install google-api-python-client==1.5.4 oauth2client==4.0.0 rsa==4.0
@kerbymart
Copy link
Author

And then running appscale init cluster throws:

$ appscale init cluster
Traceback (most recent call last):
  File "/usr/local/bin/appscale", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 657, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'azure-core>=1.24.0' distribution was not found and is required by msrest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant