Comments (6)
Try running this command : pip install selenium==3.141.0
Then try to run the script again. If this still doesn't work, you might be using the wrong version of the chrome driver. The chrome driver version must be the same as your google chrome browser.
And if none of the above is working, please tell so I can try to solve the error you're getting.
from tiktok-bot.
no response, issue will be closed
from tiktok-bot.
Receiving similar error.
Have ChromeDriver executable file in the Bot folder.
When running the bot, am prompted to enter which service is required. Upon entering number, receive error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/hungrybear/Desktop/Bots/TikTok-Bot-main/chromedriver.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/hungrybear/Desktop/Bots/TikTok-Bot-main/tiktok-bot.py", line 182, in <module>
driver = webdriver.Chrome(PATH)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
ChromeDriver version is 96 but Chrome is 97.
brew install --cask [email protected]
Cask '[email protected]' is unavailable: No Cask with this name exists.
Thanks for your help
HB
from tiktok-bot.
Hello! Thank you for sharing the issue. So the script is running fine on my local machine, so lets try to find a solution for you. First, be sure that your chromedriver is the same version of your chrome browser. Then, on line 181, replace PATH = os.getcwd() + "/chromedriver.exe"
with PATH = "./chromedriver.exe"
, save the file and rerun the script. If this still doesn't work, send me a screenshot of your installation directory, and I'll be working on another solution.
from tiktok-bot.
Got it to work, however the likes to the hearts on the video did not increase.
from tiktok-bot.
Great to hear. Well for the likes, that would be a zefoy problem, I can't control that.
from tiktok-bot.
Related Issues (20)
- cloudflare "verify you are human" loop HOT 5
- looping human verification HOT 5
- No internet connection(solved) - New Issue - Looping Verification HOT 4
- [!] Comment heart option is not yet available HOT 1
- chrome crashes HOT 1
- Python no internet connection and browser closes HOT 1
- seems to get an error when running HOT 7
- after captha nothing happens as if the web site is seprated HOT 1
- Cloudflare keeps asking me to verify
- no internet connection
- ERROR 505 HOT 3
- LOOP HOT 1
- 无法 打开 HOT 5
- Bug: [!] No internet connection HOT 4
- i cant run it , help HOT 2
- cant proceed HOT 2
- ModuleNotFoundError: No module named 'Undetected_Chromedriver' HOT 2
- dont know what to do HOT 7
- Heart and Follow not available HOT 4
- 502 error even after refreshing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-bot.