docker-pyinstaller icon indicating copy to clipboard operation
docker-pyinstaller copied to clipboard

How to change Python version?

Open Arriv9l opened this issue 3 years ago • 7 comments

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?

Arriv9l avatar Feb 16 '21 12:02 Arriv9l

What docker image are you running? win32 or win64? Please be more clear.

TheTechRobo avatar Feb 16 '21 14:02 TheTechRobo

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.

Arriv9l avatar Feb 17 '21 02:02 Arriv9l

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

TheTechRobo avatar Feb 17 '21 13:02 TheTechRobo

Please remind me tomorrow or ill forget :)

TheTechRobo avatar Feb 17 '21 13:02 TheTechRobo

Hi, @TheTechRobo. If you’re free sometime, could you help to check whether it‘s win32 or win64? Sorry for the late remind.

Arriv9l avatar Feb 20 '21 08:02 Arriv9l

perhaps this issue is related? https://github.com/cdrx/docker-pyinstaller/issues/105

davidhuser avatar Feb 20 '21 09:02 davidhuser

Tbh I can't tell.

May you tell where you got the github action?

TheTechRobo avatar Feb 20 '21 15:02 TheTechRobo