Ubuntu test uwsgi error

want to build a django server on ubuntu. Then run a test file after installing uwsgi, according to the online tutorials, and test.py, then reports an error.
error content:
dh@ubuntu:~$ uwsgi-- http: 8001-- wsgi-file test.py
Starting uWSGI 2.0.17 (64bit) on [Mon Jun 11 12:37:29 2018]
compiled with version: 7.3.0 on 07 June 2018 06:45:48
os: Linux-4.15.0-22-generic-sharp24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018
nodename: ubuntu
machine: x8634
clock source: unix
detected number of CPU cores: 4
current working directory: / home/dh
detected binary Path: / home/dh/.local/bin/uwsgi
! No internal routing support, rebuild with pcre support!
WARNING: you are running uWSGI without its master process manager
your processes number limit is 15072
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with-- thunder-lock)
uWSGI http bound on: 8001 fd 4
spawned uWSGI http 1 (pid: 18207)
uwsgi socket 0 bound to TCP address 127.0.1 purge 36073 (port auto-assigned) fd 3
Python version: 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0]
Python threads support is disabled. You can enable it with-- enable-threads
Python main interpreter initialized at 0x55e5bf3e29c0
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 72904 bytes (71 KB) for 1 cores
Operational MODE: single process
failed to open python file test.py
unable to load app 0 (mountpoint="") (callable not found or import error)
no app loaded.) Going in full dynamic mode
uWSGI is running in multiple interpreter mode
spawned uWSGI worker 1 (and the only) (pid: 18206, cores: 1)
ask for help!

Mar.18,2021

this problem has been solved, and the solution is very simple. When running the test command: uwsgi-- http: 8001-- wsgi-file test.py, the location of the terminal must be the same as the location of the test.py file in order to run normally.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea10c9-4eff6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea10c9-4eff6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?