-
Notifications
You must be signed in to change notification settings - Fork 319
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
ort scan: No module named 'virtualenv.seed.embed.via_app_data' #4469
Comments
The line "/usr/lib/python3.8/subprocess.py" seems to indicate you're using a too new Python version for the outdated ScanCode version ORT (still) uses by default. IIRC ScanCode 3.2.1 supports at most Python 2.7. |
So I cannot use ort only with python2? |
On the contrary, you can use ORT with Python 2, and the default version of ScanCode also requires it; but using ORT with Python 3 is a bit of work, currently. You may have luck using the Docker image from this PR. |
I do not see any instructions on how to use the docker image from the PR you have shared. Maybe you can give the explicit command line instructions to use/download this image? |
It's not a Docker image, it's a |
Yes, sure. How do I checkout this specific pull request? |
Please consult the GitHub docs for basic GitHub usage questions. I recommend using the GitHub CLI: |
Ok, I have to create a bug report with github CLI then.
Maybe I have to open, copy and paste each file on its own? |
Ok, I finally was able to create the Dockerfile. I had the wrong |
I tried to run an ort scan on the output of an analyze file like
./ort/cli/build/install/ort/bin/ort scan -i output/analyzer-result.yml -o output2/
and got the following output:
The text was updated successfully, but these errors were encountered: