After checking the relevant information, I found out that this is actually a path setting problem. It is that your text actually exists, but the path you set is not correct causing the system to not find the requriements.txt file.
So, you just need to change your path setting to the path of the parent file you want to query.
I use the cmd system command cd to enter the specified file and then pip install -r requirments.txt method.
Example.
If requirements.txt is under the PythonProject file, then use
Cd C:\Users\xizhou\Desktop\PythonProject # Enter superior files first
pip install -r requirements.txt # Install pip again
The file can then be found.
Read More:
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- Keil Compile Error: ..\OBJ\USART.axf: error: L6002U: Could not open file ..\obj\sys.o: No such file or directory
- [Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- [619]libgtk-3.so.0 or libXt.so.6: cannot open shared object file: No such file or directory
- error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory
- ./popins2: error while loading shared libraries: libbifrost.so: cannot open shared object file: No such file or directory
- [Solved] ./my_cmake_exe: error while loading shared libraries: libswresample.so.4: cannot open shared object file: No such file or directory
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- [Solved] open failed: ENOENT (No such file or directory)
- [Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- [Solved] MSYS2+ fatal error: zlib.h: There is no such file or directory
- NVM ERROR open \settings.txt: The system cannot find the file specified
- crtdbg.h No such file or directory error [How to Solve]
- [Solved] Error executing Jupyter command ‘notebook‘: [Errno 2] No such file or directory
- C++: fatal error: variant: No such file or directory
- [Solved] fatal error: Eigen/Geometry: No such file or directory
- Containerd Error: btrfs/ioctl.h: No such file or directory
- [Solved] 1.fatal error: NvInfer.h: No such file or directory