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

ModuleNotFoundError: No module named 'requests' #445

Open
sldk123123 opened this issue May 1, 2022 · 22 comments
Open

ModuleNotFoundError: No module named 'requests' #445

sldk123123 opened this issue May 1, 2022 · 22 comments

Comments

@sldk123123
Copy link

Traceback (most recent call last):
File "afy/cam_fomm.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

@JohanAR
Copy link
Collaborator

JohanAR commented May 2, 2022

Did you follow each step of the "install" and "run" sections in the manual?

@Rakenz
Copy link

Rakenz commented Jun 7, 2022

Did you follow each step of the "install" and "run" sections in the manual?

Hi bro
How can i contact you

@JohanAR
Copy link
Collaborator

JohanAR commented Jun 8, 2022

I'm sorry, I'm just a volunteer co-maintainer of this github project, I don't have time to provide support to help people get it running. Alievk made avatarify-python as an experiment and then decided to open up its source code so that other developers could learn from it, it was never meant to be user friendly. If you can't get it running using the provided documentation, maybe Avatarify mobile is more suited for you.

@Realrichard57
Copy link

Traceback (most recent call last):
File "afy/cam_fomm.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

were you able to find a solution to this?

@Kingso42
Copy link

Traceback (most recent call last):
File "afy/cam_fomm.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

Please who’s able to find solution to the. I’m having same issue

@Jblaac7
Copy link

Jblaac7 commented Dec 13, 2022

@Kingso42 I'm having the same issues. Please have you been able to come up with a solution yet?

@Kingso42
Copy link

@Kingso42 I'm having the same issues. Please have you been able to come up with a solution yet?

No. I still can’t. Have you fixed yours ?

@Jblaac7
Copy link

Jblaac7 commented Dec 14, 2022

@Kingso42 Not yet. But still trying

@Kingso42
Copy link

@Kingso42 Not yet. But still trying

okay

@Kingso42
Copy link

@Kingso42 Not yet. But still trying

I had this error, so I reran a clean install and then I had the yaml module not found error
I ran these commands
pip install pyyaml
pip install requests
pip install cv2
pip install scipy
pip install face_alignment
pip install sklearn
pip install pandas
I also copied the 7 files from the modules folder into the fomm folder.

This now works

@Spykey231
Copy link

Traceback (most recent call last):
File "afy/cam_fomm.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

Same issue

@Testedxxzz
Copy link

I tried this but the cv2 isn't working

@Utehfo00
Copy link

Utehfo00 commented May 2, 2023

Useless, no one helping just scammers. Wasted 2 weeks with this

@jcemos57
Copy link

jcemos57 commented May 3, 2023

@Kingso42 Not yet. But still trying

I had this error, so I reran a clean install and then I had the yaml module not found error I ran these commands pip install pyyaml pip install requests pip install cv2 pip install scipy pip install face_alignment pip install sklearn pip install pandas I also copied the 7 files from the modules folder into the fomm folder.

This now works

how do i locate module folder and the fomm folder?

@blast-cloud
Copy link

blast-cloud commented May 27, 2023

Useless, no one helping just scammers. Wasted 2 weeks with this

Lol, I know it can be frustrating… I tried running this for a week and nothing, … then finally i got it working on my Linux machine.

@JohanAR
Copy link
Collaborator

JohanAR commented May 27, 2023

@blast-cloud if you have the time and energy, pull requests to fix the install scripts and or instructions are welcome :)

@MICKYGEM
Copy link

MICKYGEM commented Jun 2, 2023

Pip install pyyaml
pip install requests
pip install numpy
Conda install opencv
Pip install pyyaml
Pip install zmq
Pip install msgpack
Pip install msgpack_numpy

For any other help
What's app

‪+234 811 513 3627‬

@MICKYGEM
Copy link

MICKYGEM commented Jun 2, 2023

pip install pyyaml
pip install numpy
Conda install opencv
Pip install pyyaml
Pip install zmq
Pip install msgpack
Pip install msgpack_numpy

Contact for any other help

@Morten202
Copy link

Please anyone can help bc i have been battling with this for the past 3 days. It didn't open the camera at the module
(base) C:\Users\matek\avatarify-python>run_windows.bat
Traceback (most recent call last):
File "afy/cam_fomm.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

(avatarify) C:\Users\matek\avatarify-python>

@SanPatrick01
Copy link

call pip install -r requirements.txt

@Morten202
Copy link

Please who can help me to install it?

@Morten202
Copy link

call pip install -r requirements.txt

(base) C:\Users\matek>call pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

(base) C:\Users\matek>

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

15 participants