Deploying Flask Application on IIS with wfastcgi in Python3.10 include other source folders

45 views Asked by At

My Flask project includes main.py and a folder called yolov5, which contains the source code for yolov5, including the utils module. In main.py, I have an import statement for utils. When I set yolov5 as the source in PyCharm (the purpose being to include the source code and its subfolders in the build process), the project runs smoothly. However, I'm unsure how to configure this in IIS. If left unhandled, the “import utils” statement throws an error, indicating that the package cannot be found.

how can i include the source code(yolov5) and its subfolders in the build process

0

There are 0 answers