简体   繁体   中英

How can I fix the chrome and chromedriver version in heroku with python

I am using chrome and chromedriver as heroku buildpacks in heroku

If chrome or chromedriver's version is updated, it's not compatible

Then Do I have to look forward to another one's update?

I want to fix their version

currently, I am using that

1 https://github.com/heroku/heroku-buildpack-google-chrome

2 https://github.com/heroku/heroku-buildpack-chromedriver somebody help me

I ran into this issue today and realized that this is an open issue in the repositories of both buildpacks:

You can find some workarounds in these links but apparently there is no general fix at the moment. In my case, I only had to reset my cache. Using the heroku CLI:

$ heroku plugins:install heroku-repo
$ heroku repo:purge_cache -a appname

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM