I have successfully packaged many python programs using auto-py-to-exe but this time I ran into some problems, Could you please tell me how to package pandas.txt into it and I will try to --add-data "C: / Users / 26225 /. Conda/envs/pythontest/Lib/site - packages/redmail/email/templates/text/table/pandas. TXT" cannot find the file #511
Unanswered
2622594863
asked this question in
Q&A
Replies: 1 comment
-
What is trying to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully packaged many python programs using auto-py-to-exe but this time I ran into some problems, Could you please tell me how to package pandas.txt into it and I will try to --add-data "C: / Users / 26225 /. Conda/envs/pythontest/Lib/site - packages/redmail/email/templates/text/table/pandas. TXT" cannot find the file
Exception in ASGI application
Traceback (most recent call last):
File "uvicorn\protocols\http\httptools_impl.py", line 419, in run_asgi
File "uvicorn\middleware\proxy_headers.py", line 84, in call
File "fastapi\applications.py", line 1054, in call
File "starlette\applications.py", line 123, in call
File "starlette\middleware\errors.py", line 186, in call
File "starlette\middleware\errors.py", line 164, in call
File "starlette\middleware\exceptions.py", line 65, in call
File "starlette_exception_handler.py", line 64, in wrapped_app
File "starlette_exception_handler.py", line 53, in wrapped_app
File "starlette\routing.py", line 756, in call
File "starlette\routing.py", line 776, in app
File "starlette\routing.py", line 297, in handle
File "starlette\routing.py", line 77, in app
File "starlette_exception_handler.py", line 64, in wrapped_app
File "starlette_exception_handler.py", line 53, in wrapped_app
File "starlette\routing.py", line 72, in app
File "fastapi\routing.py", line 278, in app
File "fastapi\routing.py", line 193, in run_endpoint_function
File "starlette\concurrency.py", line 42, in run_in_threadpool
File "anyio\to_thread.py", line 56, in run_sync
File "anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 851, in run
File "main.py", line 38, in send_email
File "redmail\email\sender.py", line 302, in send
File "redmail\email\sender.py", line 370, in get_message
File "redmail\email\sender.py", line 571, in get_text_table_template
File "jinja2\environment.py", line 1010, in get_template
File "jinja2\environment.py", line 969, in _load_template
File "jinja2\loaders.py", line 125, in load
File "jinja2\loaders.py", line 204, in get_source
jinja2.exceptions.TemplateNotFound: pandas.txt
Beta Was this translation helpful? Give feedback.
All reactions