Skip to content

Error parsing python code for dependencies #41

Description

@gforcada

Describe the bug

The following error message is printed when running pyscan:

An error occurred while retrieving 'from pathlib' version info from pip.
pip error: Package not found in pip

The offending line is:

from pathlib import Path

Which can not be found on pip because this is from the python standard library.

To Reproduce
Steps to reproduce the behavior:

  1. Create a blank folder
  2. Add a python file with the above line
  3. Run uvx --from pyscan-rs pyscan
  4. See error

Expected behavior
No error reported

Desktop (please complete the following information):

  • OS: Linux
  • Version Fedora 44

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions