Do I need a requirements txt file or should I install dependencies Azure DevOps

0 votes
I am using SonarCloud/SonarLint to set up some preliminaries - i.e. create AzureDevOps and Pipeline. I don't know much about  Azure and I  don't understand how to t fix this error. I'm assuming I either need to create a 'requirements.txt' file or that I need to install dependencies....or both. Either way, I don't know where to get started with this. Could someone help? Below is the log I get from testing out the pipeline, where my issue lies. Am I right in my assumption?

2020-12-20T01:30:10.5970195Z ##[section]Starting: Install dependencies
2020-12-20T01:30:10.5977975Z ==============================================================================
2020-12-20T01:30:10.5978665Z Task         : Command line
2020-12-20T01:30:10.5978936Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2020-12-20T01:30:10.5979213Z Version      : 2.178.0
2020-12-20T01:30:10.5979420Z Author       : Microsoft Corporation
2020-12-20T01:30:10.5979702Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2020-12-20T01:30:10.5980019Z ==============================================================================
2020-12-20T01:30:11.0224446Z Generating script.
2020-12-20T01:30:11.0226001Z ========================== Starting Command Output ===========================
2020-12-20T01:30:11.0229091Z [command]/bin/bash --noprofile --norc /home/vsts/work/_temp/f501a929-0e67-45b9-9e28-7047fe9295cf.sh
2020-12-20T01:30:15.1478266Z DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
2020-12-20T01:30:15.8292586Z Collecting pip
2020-12-20T01:30:15.8700890Z   Downloading pip-20.3.3-py2.py3-none-any.whl (1.5 MB)
2020-12-20T01:30:15.9513160Z Installing collected packages: pip
2020-12-20T01:30:15.9513725Z   Attempting uninstall: pip
2020-12-20T01:30:15.9514085Z     Found existing installation: pip 20.3.1
2020-12-20T01:30:16.0461039Z     Uninstalling pip-20.3.1:
2020-12-20T01:30:16.0935089Z       Successfully uninstalled pip-20.3.1
2020-12-20T01:30:16.9255324Z Successfully installed pip-20.3.3
2020-12-20T01:30:17.4315243Z DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
2020-12-20T01:30:17.5185497Z ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
2020-12-20T01:30:17.5845613Z ##[error]Bash exited with code '1'.
2020-12-20T01:30:17.5859482Z ##[section]Finishing: Install dependencies.
Mar 15 in Other DevOps Questions by Kichu
• 19,040 points
177 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer
0 votes
0 answers

How do I start a DevOps career?

Jan 12 in Other DevOps Questions by Vaani
• 7,020 points
146 views
0 votes
1 answer

Is it possible to have a link to raw content of file in Azure DevOps

Sure, here's the call for the rests: GET ...READ MORE

answered Feb 10 in Other DevOps Questions by Bhavitha
• 1,000 points
144 views
0 votes
0 answers

what is the use of visual studio 2015 tool in python?

What purpose would it serve being a ...READ MORE

Jun 7, 2019 in Python by Waseem
• 4,540 points
184 views
0 votes
1 answer

How do I start with Azure DevOps?

Sign up with a personal Microsoft account Select ...READ MORE

answered Jan 2, 2020 in Azure by Sirajul
• 59,190 points
349 views
0 votes
1 answer

I have trouble signing in into Azure DevOps. (401 Error)

The most common error page is the 401 ...READ MORE

answered Jan 2, 2020 in Azure by Sirajul
• 59,190 points
4,272 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP