ERROR: Invalid requirement: '/home/vsts/work/1/a/scripts-deploy'

Copper Contributor

Hi we are trying to download required files using requirement.txt file we are using github repository when we are running below the code

triggernone

resources:
    webhooks:
    - webhooktestspa_new          ### Webhook alias
      connectiontestspa_new
      filters:
        - pathpull_request.merged  
          valuetrue
        - pathpull_request.base.ref  
          value"develop"


    repositories:
    - repositoryMytest  
      typegithubenterprise
      name: mytest/Mytest
      refdevelop
      endpointmyrepo1

variables:
    - namedevops_dir
      value"/home/vsts/work/1/scripts-deploy"  
    - nameglobal_dir
      value"/home/vsts/work/1/s/Mytest"
    #- group: varhashicorp
    #- group: vargroup-sfdx

stages:
 - stageUnlockedPackage_Creation
   jobs:
      - jobBuild 
        timeoutInMinutes360
        pool:
         vmImageubuntu-18.04
        
        steps:
        
        - checkoutself
          pathscripts-deploy
        - checkoutMytest
        - taskUsePythonVersion@0
          inputs:
            versionSpec'3.10'
            addToPathtrue
            architecture'x64'
        - bash
           pip install wheel --upgrade
           pip install dohq-artifactory
           pip install hvac
           pip install --target= $(devops_dir) -r requirements.txt
          displayNameInstall Required Python Packages

 

 

i am gettung the error

 

bharathsimha_0-1680158358082.png

 

 

2 Replies

can you please help me out this. @AzureDevopscommunity