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

How to change Python version? #106

Open
Arriv9l opened this issue Feb 16, 2021 · 7 comments
Open

How to change Python version? #106

Arriv9l opened this issue Feb 16, 2021 · 7 comments

Comments

@Arriv9l
Copy link

Arriv9l commented Feb 16, 2021

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?

@TheTechRobo
Copy link

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

@Arriv9l
Copy link
Author

Arriv9l commented Feb 17, 2021

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.

@TheTechRobo
Copy link

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
Copy link

TheTechRobo commented Feb 17, 2021

Please remind me tomorrow or ill forget :)

@Arriv9l
Copy link
Author

Arriv9l commented Feb 20, 2021

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

@davidhuser
Copy link

davidhuser commented Feb 20, 2021

perhaps this issue is related? #105

@TheTechRobo
Copy link

Tbh I can't tell.

May you tell where you got the github action?

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

No branches or pull requests

3 participants