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

No module named 'sevsnpmeasure.cli' #4

Open
pegahnikbakht opened this issue Oct 7, 2022 · 1 comment
Open

No module named 'sevsnpmeasure.cli' #4

pegahnikbakht opened this issue Oct 7, 2022 · 1 comment

Comments

@pegahnikbakht
Copy link

Hi,

I tried to run sev-snp-measure both from source code and from pip but in both I get this error "ModuleNotFoundError: No module named 'sevsnpmeasure.cli'", what is missing?

Thanks in advance.
Pegah

@dubek
Copy link
Collaborator

dubek commented Oct 19, 2022

Hi @pegahnikbakht ,

I've tried to install sev-snp-measure from pip in a new docker container (clean environment):

$ docker run -it --rm python:3.8 /bin/bash
root@364fae701437:/# pip install sev-snp-measure
Collecting sev-snp-measure
  Downloading sev_snp_measure-0.0.3-py3-none-any.whl (15 kB)
Installing collected packages: sev-snp-measure
Successfully installed sev-snp-measure-0.0.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

root@364fae701437:/# sev-snp-measure --version
sev-snp-measure 0.0.3
root@364fae701437:/#

so it seems to work fine. Maybe something is wrong with the python/pip installation? Can you try on another machine/vm/container?

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

2 participants