-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
depends on 'codeql-python@*', but pack 'codeql-python' was not found #13364
Comments
|
Can you explain what you're doing to get this error message? Which command are you running? If you've written a |
|
qlpack.yaml content: |
|
I was just trying to start using CodeQL, so i setup an example for a python codebase so i can get a glance of it. Here's the codql code im using: |
|
That sounds like you either haven't downloaded the CodeQL library code you depend on (from https://github.com/github/codeql) or haven's put it in a place where the
After the you get the library found, you'll find that there is some trouble with your query source: This is bad syntax and not needed. The initial won't work because However, as far as I can see the Python QL library doesn't actually define classes named For some working examples of Python queries, see e.g. https://codeql.github.com/docs/codeql-language-guides/codeql-library-for-python/ and the QL library reference at https://codeql.github.com/codeql-standard-libraries/python/index.html |
Hey, I meet same question now. And I more like use the fourth way: Use vscode-plugin. I write a query which will work well when I use vscode-codeql-starter. But it run too slow because the database is so large. So I decide run this query in command(powshell), instead of vscode-codeql-starter. Because I could use the "--threads" optioins. Seems If I set it to 0, all core will be used. So I guess it will make my query run faster. And I failed. So, Is there a way could make me still use Vscode-codeql-starter, and I still could set the "--threads" options in vscode? |
Package was not found in the pack download cache
The text was updated successfully, but these errors were encountered: