I am trying to deploy Django app in windows using Jenkins. It is getting "no such file or directory" but the file is exists. How do I solve that issue. anyone help me?
Error as
C:Windowssystem32configsystemprofileAppDataLocalJenkins.jenkinsworkspaceDNACMonitoring>dir
Volume in drive C has no label.
Volume Serial Number is 5C8B-B82B
Directory of C:Windowssystem32configsystemprofileAppDataLocalJenkins.jenkinsworkspaceDNACMonitoring
01/07/2021 08:50 PM <DIR> .
01/07/2021 08:50 PM <DIR> ..
01/07/2021 01:44 PM 131,072 db.sqlite3
01/07/2021 08:39 PM 42 deploy_prod.sh
01/07/2021 08:28 PM <DIR> dnac_monitoring
01/07/2021 08:50 PM 926 Jenkinsfile
01/07/2021 12:28 PM <DIR> liveapi
01/07/2021 04:29 PM 656 manage.py
01/07/2021 12:28 PM 19 README.md
01/07/2021 04:29 PM 31 requirements.txt
01/07/2021 12:28 PM <DIR> static
01/07/2021 08:28 PM <DIR> templates
01/07/2021 12:28 PM <DIR> utilization
01/07/2021 12:28 PM <DIR> venv
6 File(s) 132,746 bytes
8 Dir(s) 87,394,852,864 bytes free
C:Windowssystem32configsystemprofileAppDataLocalJenkins.jenkinsworkspaceDNACMonitoring>pip install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
C:Windowssystem32configsystemprofileAppDataLocalJenkins.jenkinsworkspaceDNACMonitoring>exit 1
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
question from:
https://stackoverflow.com/questions/65623689/error-could-not-open-requirements-file-errno-2-no-such-file-or-directory-r 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…