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

[BUG] Can't install requirements.txt with pip3 #442

Open
iamchenyu opened this issue Oct 28, 2023 · 7 comments
Open

[BUG] Can't install requirements.txt with pip3 #442

iamchenyu opened this issue Oct 28, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@iamchenyu
Copy link

Hi,

I cloned the repo and cd to the directory. I ran pip3 install -r requirements.txt but it threw me an error. Please see the screenshot below.
I use Python 3.12.0 and pip3. Could someone help with this issue?
Thanks!

Screen Shot 2023-10-27 at 11 02 39 PM
@iamchenyu iamchenyu added the bug Something isn't working label Oct 28, 2023
@baseplate-admin
Copy link
Contributor

This is because aiohttp lacks python 3.12 support.

Linked Issue:

@iamchenyu
Copy link
Author

This is because aiohttp lacks python 3.12 support.

Linked Issue:

Thanks for the reply. I downgraded the python to 3.8.9 and were able to install the requirements.txt successfully.
However, when running the python3 udemy_enroller script, it showed the error message that can't find '__main__' module in 'udemy_enroller'. Please see the screenshot below:

Screen Shot 2023-10-29 at 6 17 54 PM

Could you please help with this? Thank you!

@iamchenyu iamchenyu reopened this Oct 29, 2023
@baseplate-admin
Copy link
Contributor

I downgraded the python to 3.8.9

Please downgrade to python 3.11

it showed the error message that can't find 'main' module in 'udemy_enroller'

Please include the full stacktrace

@iamchenyu
Copy link
Author

Hi, I downgraded to Python 3.11.5 and the same issue happened again when I installed the requirements.txt:

Screen Shot 2023-10-29 at 6 47 23 PM

But it worked fine when I was using Python 3.8.9.
Thanks!

@baseplate-admin
Copy link
Contributor

I see the error.
Linked PR:

Please merge the pr above and do a new release.

cc : @fakeid30 , @cullzie

@iamchenyu
Copy link
Author

Thanks for the update. Following the instructions in the PR, I changed the aiohttp package to 3.8.4 and I was able to install the requirements. Here's a screenshot of my requirements.txt:

Screen Shot 2023-10-29 at 7 19 32 PM

However, when I ran the script python3 udemy_enroller --browser=chrome, it again showed the error message that can't find 'main' module in 'udemy_enroller'. Below is the stacktrace:

`chenyuwang@chenyus-mbp Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE % python3 udemy_enroller --browser=chrome

/Library/Frameworks/Python.framework/Versions/3.11/bin/python3: can't find 'main' module in '/Users/chenyuwang/Desktop/Developer/Courses/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE/udemy_enroller'`

Could you please help with this issue? Thank you!

@cullzie
Copy link
Collaborator

cullzie commented Feb 21, 2024

@iamchenyu Version 4.1.4 has been released. Could you please re-check if this issue still exists. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants