AMahi728967 (Community Member) asked a question.

Unable to scan my Python repo

When scanning my repo I get the following error:

 

An error occurred while attempting to collect Python package information.

We suggest the following:

1) Ensure that your dependencies file (e.g. requirements.txt) is not corrupted and can be read.

2) Check that your network is working and you can access PyPi.

3) you can run command `pip install -r requirements.txt` or `pip install -e .` successfully in your machine.

 

However, all of the suggested fixes have been implemented, to begin with. Could this be a possible error on Veracodes end?

 


  • Hello @AMahi728967 (Community Member)​,

     

    For this type of inquiry, I would recommend you contact our technical support team. Please include the information from this post, the name and link of the scan, and any other files in order for the engineer to investigate this.

     

    Here's how you can log a case:

    1. Navigate to the upper right corner of any page in the Community, and click on your user avatar.
    2. Select Contact Support from the drop-down menu. 

     

    Jason

    Veracode Support Engineer

    Expand Post
  • ADehaven440362 (Community Member)

    Glad you like it. We have been using this for several weeks now and it seems to be going nicely.

  • SSKennedy942359 (Community Member)

    If you're encountering issues scanning your Python repository, here are some troubleshooting steps you can try:

     

    Check Repository Permissions: Ensure that you have the necessary permissions to access and scan the repository. Make sure your account has the appropriate access rights.

     

    Verify Repository URL: Double-check the URL of your repository to ensure that it is correct and accessible. If there are any typos or errors in the URL, correct them and try again.

     

    Review Scanner Configuration: Check the configuration settings of your scanning tool to make sure it is set up correctly for scanning Python repositories. Ensure that the scanner supports Python repositories and that it is properly configured to scan them.

     

    Update Scanner Software: Make sure that your scanning tool is up-to-date with the latest version. Updates may include bug fixes and improvements that could resolve any scanning issues.

    Expand Post

Topics (7)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.