question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Installation] sudo pip3 install cassandra-medusa[AZURE] fails

See original GitHub issue

Hi, Thanks for this awesome application. I was trying to install medusa, in ubuntu 16.04 using pip3 and got below error. I saw in another thread asking for install Medusa from master branch, But I was not sure, how it’ll affect the [AZURE] part. So if I install using pip install git+https://github.com/thelastpickle/cassandra-medusa.git will the azure integration work ? Or do I have to do any other manual steps?

Collecting paramiko (from parallel-ssh==1.9.1->cassandra-medusa[AZURE])
  Downloading https://files.pythonhosted.org/packages/95/19/124e9287b43e6ff3ebb9cdea3e5e8e88475a873c05ccdf8b7e20d2c4201e/paramiko-2.7.2-py2.py3-none-any.whl (206kB)
    100% |████████████████████████████████| 215kB 3.3MB/s
Requirement already satisfied (use --upgrade to upgrade): six>=1.7.0 in /usr/lib/python3/dist-packages (from retrying>=1.3.3->cassandra-medusa[AZURE])
Collecting futures>=2.2.0; python_version < "3.2" (from grpcio>=1.29.0->cassandra-medusa[AZURE])
  Downloading https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz
    Complete output from command python setup.py egg_info:
    This backport is meant only for Python 2.
    It does not work on Python 3, and Python 3 users do not need it as the concurrent.futures package is available in the standard library.
    For projects that work on both Python 2 and 3, the dependency needs to be conditional on the Python version, like so:
    extras_require={':python_version == "2.7"': ['futures']}

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2dkvptx9/futures/
You are using pip version 8.1.1, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

┆Issue is synchronized with this Jira Task by Unito ┆Issue Number: K8SSAND-234

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adejanovskicommented, Feb 10, 2021

Re-reading the whole thread, I notice that you’re using Ubuntu 16.04. We stopped building debian packages for trusty as it ships with python 3.5 which we don’t support anymore as it reached EOL. If you have Python 3.6 installed though, you can achieve what you’re after by running the following commands:

sudo pip3 install git+https://github.com/thelastpickle/cassandra-medusa.git
sudo pip3 install azure-cli

Let me know how this works.

0reactions
rjshrjndrncommented, Feb 10, 2021

@adejanovski I thought it sounds better to have a statically compiled executable, which can run anywhere like a rust or golang. But as you told me, time is of the essence. I’ll try the compiled app approach when I’m free. But for now, I’ll try to update the xenial script with 3.6. Thanks for the heads-up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cassandra-medusa/Installation.md at master - GitHub
Using pip. Online installation. if the storage backend is a locally accessible shared storage, run sudo pip3 install cassandra-medusa; if your backups are ......
Read more >
pip3: command not found but python3-pip is already installed
Probably pip3 is installed in /usr/local/bin/ which is not in the PATH of the sudo (root) user. Use this instead sudo /usr/local/bin/pip3 install...
Read more >
How to install modules with PIP (and fix it when it fails) - Medium
Installing modules to python is painfully easy. Simply open up your terminal: Windows — Command Prompt (CMD); MacOS — Terminal; Linux — Terminal ......
Read more >
Python3 pip3 install broken on Ubuntu
When I do sudo apt install python3-pip , I get the following error: The following packages have unmet dependencies: python3-pip : Depends: ...
Read more >
How to install and use Pip3 - ActiveState
Pip3 is the official package manager and pip command for Python 3. It enables the installation and management of third party software ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found