darkGrimoire / hoyolab-daily-bot

Genshin Impact's Hoyolab Daily Check-in Bot
MIT License
115 stars 44 forks source link

Error install requirement pyinstaller==4.2 #27

Open dimas-adi-kris opened 7 months ago

dimas-adi-kris commented 7 months ago

#6704

The problem is caused by the latest setuptools in combination with sdist containing both pyinstaller.py script and PyInstaller package (which end up shadowing each other on case-insensitive OSes, i.e., Windows in macOS). In current versions of pyinstaller, the fix was to remove the script as it is not used anyway (there are auto-generated entry-point scripts) - take a look at https://github.com/pyinstaller/pyinstaller/pull/6701.

We generally don't support old PyInstaller versions, so if you want to continue using 4.0~4.3, you'll need to backport the fix yourself. (EDIT: or pin setuptools to an earlier version).

I try remove pyinstaller and pyinstaller-hooks-contrib from requirement, and the error is gone and the requirement succesfully installed

Python = 3.10 windows 11