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

urllib issue #15

Open
arasouli91 opened this issue Apr 26, 2024 · 1 comment
Open

urllib issue #15

arasouli91 opened this issue Apr 26, 2024 · 1 comment

Comments

@arasouli91
Copy link

PS C:\Users\v-arasouli\Downloads\LeetCode-Anki-master\LeetCode-Anki-master> python3 main.py
Traceback (most recent call last):
File "C:\Users\v-arasouli\Downloads\LeetCode-Anki-master\LeetCode-Anki-master\main.py", line 2, in
from crawler import LeetCodeCrawler
File "C:\Users\v-arasouli\Downloads\LeetCode-Anki-master\LeetCode-Anki-master\crawler.py", line 7, in
import requests
File "C:\Users\v-arasouli\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests_init_.py", line 43, in
import urllib3
File "C:\Users\v-arasouli\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3_init_.py", line 7, in
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "C:\Users\v-arasouli\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\connectionpool.py", line 11, in
from .exceptions import (
File "C:\Users\v-arasouli\AppData\Local\Programs\Python\Python312\Lib\site-packages\urllib3\exceptions.py", line 2, in
from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ModuleNotFoundError: No module named 'urllib3.packages.six.moves'

@zerone0x
Copy link

You need to run the script on python virtual environment

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

2 participants