docker-pyinstaller
docker-pyinstaller copied to clipboard
How to change Python version?
In the beginning, there was a error:
Unable to find "C:\users\root\nltk_data" when adding binary and data files.
Then, I downgrade pyinstaller by adding pyinstaller==3.3
to requirements.txt according to the instructions on this link —— Unable to find "/usr/share/nltk_data" when adding binary and data files. · Issue #2159 · nltk/nltk.
BTW, there was a typo in README.md, pyinstaller=3.1.1
should be pyinstaller==3.1.1
.
But then there was another error:
RecursionError: maximum recursion depth exceeded while calling a Python object
According to RecursionError: maximum recursion depth exceeded - python 3.6 issue · Issue #2919 · pyinstaller/pyinstaller, I need to downgrade Python version to 3.5.3
So, How to change Python version?
What docker image are you running? win32 or win64? Please be more clear.
First of all, Thanks for your attention.
I’m sorry that I didn’t follow the guidelines—How To Ask Questions The Smart Way. Let’s see if I can do better this time.
I run Docker on ubuntu-latest
on GitHub Actions. The image I use is cdrx/pyinstaller-windows:latest
. Here is my yaml file.
Here is the info:
PyInstaller: 3.3 Python: 3.7.5 Platform: Windows-7-6.1.7601-SP1
I’ve never dealt with Docker before, so I am not sure it is win32 or win64. This one is the first error I met: https://github.com/Arriv9l/InfoSpider/runs/1910229901?check_suite_focus=true And this one is the second error I met: https://github.com/Arriv9l/InfoSpider/runs/1910341118?check_suite_focus=true English is not my native language; please excuse typing errors.
It's ok - typing errors are fine! :)
hmmm... I'll take a look to see whether its win32 or 64. Thanks for the extra details
Please remind me tomorrow or ill forget :)
Hi, @TheTechRobo. If you’re free sometime, could you help to check whether it‘s win32 or win64? Sorry for the late remind.
perhaps this issue is related? https://github.com/cdrx/docker-pyinstaller/issues/105
Tbh I can't tell.
May you tell where you got the github action?