Skip to content
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

Add support to Windows & Python 3.10 environment #19

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

amoslai5128
Copy link

Add support to Windows & Python 3.10 Environment.

  1. Improved readme typos & installation information
  2. Fixed the decoding issue on Windows Host (on Linux/MacOS is default by UTF8, but Windows).
  3. Updated packages to support Python 3.10
  4. Added .bat script "run_crawling.bat" for run all the python scripts on Windows.

*Addidtion info on item 2:
Fixed error on decoding when calling with open():

File "d:\GitLab\hk-bus-crawling\hkbus\lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
UnicodeDecodeError: 'cp950' codec can't decode byte 0x9c in position 98: illegal multibyte sequence

Reference of open() on Windows platofrm: Python 3 Offical Doc

Add support to Windows & Python 3.10 Environment.
1. Improved readme typos & installation information
2. Fixed the decoding issue on Windows Host (on Linux/MacOS is default by UTF8, but Windows).
3. Updated packages to support Python 3.10
4. Added .bat script "run_crawling.bat" for run all the python scripts on Windows.
@amoslai5128
Copy link
Author

@chunlaw Please review, thanks.

@chunlaw chunlaw merged commit 1c9d6f2 into hkbus:master Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants