capsolver / capsolver-python

Python 3 package for easy integration with the API of capsolver captcha solving service to solver recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas. Capsolver.
https://www.capsolver.com/
MIT License
50 stars 9 forks source link

Unable to import capsolver? #7

Open dylan0356 opened 1 year ago

dylan0356 commented 1 year ago

^C(base) Dylans-MacBook-Air:QuackSelfBot dylanb$ pip3 install --upgrade capsolver Requirement already satisfied: capsolver in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (1.0.7) Requirement already satisfied: requests>=2.26.0 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from capsolver) (2.31.0) Requirement already satisfied: charset-normalizer<4,>=2 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.26.0->capsolver) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.26.0->capsolver) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.26.0->capsolver) (2.0.4) Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (from requests>=2.26.0->capsolver) (2023.7.22)

After this I have: import capsolver

but I get: Traceback (most recent call last): File "/Users/dylanb/Documents/Github/DiscordBots/QuackSelfBot/bot.py", line 11, in import capsolver ModuleNotFoundError: No module named 'capsolver'

AlexPaiva commented 1 year ago

Do you have multiple python versions running? virtual environments? maybe the script is running in one version and you installed in another version, leave here logs of your python versions and virtual envs