Open TamirBar-Tov opened 2 hours ago
Hi @TamirBar-Tov this is related to locale encoding on windows. You need to compare the environment variables between jupyter and pycharm to see where they issue is coming from.
This is from ChatGPT:
Font issues in PyCharm versus Jupyter when using pandas.to_csv could be influenced by several environment variables or settings:
Locale Settings: Ensure that the locale in PyCharm is set correctly. Jupyter may be using UTF-8 encoding by default, while PyCharm could be defaulting to a different encoding (e.g., ANSI).
Check the PYTHONIOENCODING environment variable in PyCharm. Set it to utf-8 if not already set:
PYTHONIOENCODING=utf-8
Console Encoding: PyCharm's console may not handle special characters or encodings as well as Jupyter's interface. Check the console encoding settings in PyCharm:
Go to File > Settings > Editor > File Encodings and ensure UTF-8 is set for "Global Encoding" and "Project Encoding." Pandas Display Options: Pandas might display text differently based on the environment. Try enforcing the encoding when saving the CSV file:
python Copy code df.to_csv('file.csv', encoding='utf-8') Font in PyCharm: If PyCharm is using a font that doesn't support special characters, change the font under File > Settings > Editor > Font to something like Consolas or another monospaced font that supports Unicode.
System Locale: On Windows, the system locale may differ between applications. Ensure that the locale for non-Unicode programs is set to a UTF-8 compatible option.
What happened?
Hi! I run the code on windows (pycharm) and the atrain_crops file doesn't build preperly. When I run the same code on colab it works well. It somewhre in the dll.do_main function.
filename: ???????? ???????? ??????????????? ???????? ???????? ???????? ???????? ???????? ??????????? ????????
What did you expect to see?
No response
What version of fastdup were you runnning on?
2.2
What version of Python were you running on?
Python 3.9
Operating System
Windows
Reproduction steps
No response
Relevant log output
Attach a screenshot [Optional]
No response
Contact Details [Optional]
bartov7@gmail.com