-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 'pandas_profiling' package was not installed in a way that PackageLoader understands. #430
Comments
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section. Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion. |
It appears this may be an issue with the |
I went through all the above opened discussions and issues forms and I can't find any resolving for it , also I don't know where the below pieces of code should be inserted into ? : Initializing Jinjaif getattr(sys, 'frozen', False): |
I have not used this library before so I'm unable to offer any assistance with it. I recommend asking in the discussion I linked as it's the same issue and in the repo of the library you are having the issue with. |
Quick Checks
Describe the bug
When trying to launch the output "exe" I faced the below issue
ValueError: The 'pandas_profiling' package was not installed in a way that PackageLoader understands.
To Reproduce
Steps to reproduce the behavior (install dependencies, do this in the auto-py-to-exe UI):
1- I launched auto-py-to-exe GUI.
2- I extracted python script in py file (attached below)
3- In auto-py-to-exe GUI , I have choose "file only" then process
4- Whole process run successfully.
5- When trying to launch the output "exe" I faced the below issue
Traceback (most recent call last):
File "DataQuilaty.py", line 8, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling_init.py", line 8, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling\compare_reports.py", line 8, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling\profile_report.py", line 26, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling\report\presentation\flavours\html_init.py", line 1, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling\report\presentation\flavours\html\alerts.py", line 2, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "pandas_profiling\report\presentation\flavours\html\templates.py", line 11, in
File "jinja2\loaders.py", line 323, in init
ValueError: The 'pandas_profiling' package was not installed in a way that PackageLoader understands.
Expected behavior
A clear and concise description of what you expected to happen.
Your Environment:
3.9.17
):2.38.0
):5.13.2
):0.16.0
):DataQuilaty.txt
The text was updated successfully, but these errors were encountered: