-
Notifications
You must be signed in to change notification settings - Fork 662
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
ModuleNotFoundError for py-zerox Module #47
Comments
Found a solution here:
created a .py file:
ModuleNotFoundError error is fixed. However, still got other errors:
Please help! Thanks! |
@shawn8888, the fix for the second problem is already raised as a PR #40, which is still currently unmerged, but you can still use is for now by uninstalling you py-zerox package and reinstalling with: pip install git+https://github.com/pradhyumna85/zerox.git@formatting-control @tylermaran, @annapo23, could you please review PR #40 and merge that. |
@pradhyumna85
|
@shawn8888, the parameter output_dir is replaced with output_file_path which is the output file path of the md file instead of a directory. |
I was going to test the installation above on a different PC and got this error:
|
@shawn8888, Install poppler utils manually using prebuilt binaries as you are on windows and then try pip install again.
|
It works! |
Set an environment variable (not inside python) PYTHONIOENCODING with value utf-8 and See if that solves the issue. |
@pradhyumna85 You are the best! After setting PYTHONIOENCODING=utf-8 in CMD, the program works! I have a couple of questions:
Here is the pdf I tested: |
For 1. you can set it on the OS level, for eg in windows: For 2. even I am not sure, if you find a solution then please share here. Edit: Set an environment variable (not inside python) PYTHONUTF8 with value 1 and See if that solves the issue. Also I would say try to work on linux, you would have a much easier life. If you are on windows then I would recommend you to use WSL 2 |
I'm encountering a ModuleNotFoundError when trying to import the py-zerox module in my Python project, despite having installed it successfully.
Environment
Steps to Reproduce:
Install the py-zerox package using:
Attempt to import the module in a Python script:
Receive the following error:
Could you please assist me in resolving this issue? Any guidance on ensuring that the py-zerox module is recognized would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: