Forum Discussion
bharathsimha
Mar 30, 2023Copper Contributor
ERROR: Invalid requirement: '/home/vsts/work/1/a/scripts-deploy'
Hi we are trying to download required files using requirement.txt file we are using github repository when we are running below the code
trigger: none
resources:
webhooks:
- webhook: testspa_new ### Webhook alias
connection: testspa_new
filters:
- path: pull_request.merged
value: true
- path: pull_request.base.ref
value: "develop"
repositories:
- repository: Mytest
type: githubenterprise
name: mytest/Mytest
ref: develop
endpoint: myrepo1
variables:
- name: devops_dir
value: "/home/vsts/work/1/scripts-deploy"
- name: global_dir
value: "/home/vsts/work/1/s/Mytest"
#- group: varhashicorp
#- group: vargroup-sfdx
stages:
- stage: UnlockedPackage_Creation
jobs:
- job: Build
timeoutInMinutes: 360
pool:
vmImage: ubuntu-18.04
steps:
- checkout: self
path: scripts-deploy
- checkout: Mytest
- task: UsePythonVersion@0
inputs:
versionSpec: '3.10'
addToPath: true
architecture: 'x64'
- bash:
pip install wheel --upgrade
pip install dohq-artifactory
pip install hvac
pip install --target= $(devops_dir) -r requirements.txt
displayName: Install Required Python Packages
i am gettung the error
2 Replies
- bharathsimhaCopper Contributor
- bharathsimhaCopper Contributor
can you please help me out this. @AzureDevopscommunity