Skip to content

Installation of the CLI is not working on Ubuntu 20.04 #1181

Description

@Sispheor

With the deb package:

sudo dpkg -i cloudify-cli_5.1.1-ga_amd64.deb 
[sudo] password for nico: 
Selecting previously unselected package cloudify.
(Reading database ... 196562 files and directories currently installed.)
Preparing to unpack cloudify-cli_5.1.1-ga_amd64.deb ...
Unpacking cloudify (5.1.1) ...
dpkg: dependency problems prevent configuration of cloudify:
 cloudify depends on python3 (<< 3.7); however:
  Version of python3 on system is 3.8.2-0ubuntu2.

dpkg: error processing package cloudify (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 cloudify

Then with pip, install ok. (in a pipx venv)

pipx install cloudify
⚠️  Note: cfy was already on your PATH at /usr/bin/cfy
  installed package cloudify 20.3.3, Python 3.8.5
  These apps are now globally available
    - cfy
done! ✨ 🌟 ✨

Then when I run cfy

cfy
Traceback (most recent call last):
  File "/home/nico/.local/bin/cfy", line 5, in <module>
    from cloudify_cli.main import _cfy
  File "/home/nico/.local/pipx/venvs/cloudify/lib/python3.8/site-packages/cloudify_cli/main.py", line 18, in <module>
    from .cli import cfy
  File "/home/nico/.local/pipx/venvs/cloudify/lib/python3.8/site-packages/cloudify_cli/cli/cfy.py", line 21, in <module>
    import StringIO
ModuleNotFoundError: No module named 'StringIO'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions