RunpodR
Runpod2y ago
17 replies
fanbing

Dockerless CLI can not sync local files to runpod server

when i try use dockerless following runpod blog feb 2 2024, i config and create project sucess on local ,but when i start a development session useing "runpodctl project dev", ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'builder/requirements.txt' . cmd file is "C:\Users\Administrator\test-project>" .please tell why .
log info :
Waiting for Pod to come online... Project test-project Pod (npia2rx81eq4wp) created.
Checking remote project folder: /runpod-volume/68b7482a/dev/test-project on Pod npia2rx81eq4wp
Syncing files to Pod npia2rx81eq4wp
Activating Python virtual environment /68b7482a/venv on Pod npia2rx81eq4wp
[npia2rx81eq4wp] Retrieving existing venv from network volume...
[npia2rx81eq4wp] Requirement already satisfied: pip in /68b7482a/venv/lib/python3.10/site-packages (24.0)
[npia2rx81eq4wp] Using pip 24.0 from /68b7482a/venv/lib/python3.10/site-packages/pip (python 3.10)
[npia2rx81eq4wp] ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'builder/requirements.txt'
Creating Project watcher...

Starting project endpoint...
[npia2rx81eq4wp] - Activated project environment.
[npia2rx81eq4wp] cat: /installreport.json: No such file or directory
[npia2rx81eq4wp] - Changed to project directory.
[npia2rx81eq4wp] cp: cannot stat '.runpodignore': No such file or directory
[npia2rx81eq4wp] - Started API server with PID: 178
[npia2rx81eq4wp] python: can't open file '/runpod-volume/68b7482a/dev/test-project/src/handler.py': [Errno 2] No such file or directory
[npia2rx81eq4wp]
[npia2rx81eq4wp] Connect to the API server at:
[npia2rx81eq4wp] > https://npia2rx81eq4wp-7270.proxy.runpod.net
[npia2rx81eq4wp]
[npia2rx81eq4wp] Synced venv to network volume
Solution
install guide for wsl if you gotta install that: https://canonical-ubuntu-wsl.readthedocs-hosted.com/en/latest/
Was this page helpful?