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.

Install failed on Ubuntu 18.04

See original GitHub issue

Description

I’m new to opsdroid, install opsdroid failed after the step sudo pip3 install opsdroid[common], error is shown as below on Ubuntu 18.04.5 LTS (Bionic Beaver)

Requirement already satisfied: decorator in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2->nbconvert>=5.6.1->opsdroid[common]) (5.1.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->click>=7.1.2->opsdroid[common]) (3.5.0)
Requirement already satisfied: pyparsing>=2.0.2 in /usr/local/lib/python3.6/dist-packages (from packaging->bleach>=3.1.5->opsdroid[common]) (2.4.7)
Installing collected packages: argparse, pyyaml, pycryptodome, pycron, puremagic, parse, opsdroid-get-image-size, nbconvert, logbook, h2, h11, get-video-properties, future, dataclasses, click, bitstring, Babel, arrow, appdirs, aiohttp-socks, aiofiles, slack-sdk, opsdroid, matrix-nio, emoji, certifi, aiosqlite
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 3.12
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

And is there platforms support matrix available for reference? I noticed only Ubuntu 16.04 is mentioned in the installation guide, not sure if opsdroid supports the newer version of Ubuntu (18.04 and 20.04), and other Linux OS (i.e RedHat), and other arch (i.e zLinux, pLinux)? https://docs.opsdroid.dev/en/stable/installation.html#installation-methods

Steps to Reproduce

Please also include relevant information and steps to reproduce the bug/issue.

Expected Functionality

Explain what should happen.

Experienced Functionality

Explain what happened instead(Please include the debug log).

Versions

  • Opsdroid version: 0.23.0
  • Python version: Python 3.6.9
  • OS/Docker version: Ubuntu 18.04.5 LTS

Configuration File

Please include your version of the configuration file below.

# Your code goes here.

Additional Details

Any other details you wish to include such as screenshots, console messages, etc.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Satishmane-mitcommented, Sep 21, 2021

i think the error is in PyYaml file cause it shows this “Cannot uninstall ‘PyYAML’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.” and i think this time to configure PyYaml file again

0reactions
yypptestcommented, Sep 26, 2021

Thanks for all your response. The original issue is resolved, so close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ubuntu 18.04 installation failed
1 Answer 1 · Find the Gparted application and launch it. · Change the dropdown to the name of your HDD (e.g: /dev/sdb)....
Read more >
Installation failed on Ubuntu 18.04 and Ubuntu 20.04 #66
Solved it. It does appear that SSL is now forced, yet the script doesn't enable it on the NGINX server. So you just...
Read more >
Solved: Trouble installing Ubuntu 18.04 and 20.04
Solved: Hello, I'm having trouble installing either version of Ubuntu LTS. I get the same generic error- sorry there was a problem ...
Read more >
Installation Failed on linux ubuntu 18.04.5 LTS - Ignition
Hello, I got an error when starting the ignition gateway, below is the line Ignition Successfully Installed The wizard has finished ...
Read more >
Installation error on Ubuntu 18.04 - Progress Community
Install OE 11.7. 3 64-bit on Ubuntu Linux 18.04​​​​​​ LTS 64-bit. Run ldd against _overly to see which dependencies are missing.
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