Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Issue while installing selenium-wire

I wanted to use selenium-wire to intercept requests from selenium to remote host. I tried to install it using pip, it installed successfully without any issues but when I went to import it on my project its giving me error as follows:
no module named 'blinker._saferef
I tried to dig in the issue but found nothing. I can tell that it is due to the library itself is now discontinued. Can you help me with this issue?

Thanks for reading.

I tried to find the root cause of the error expecting it to solve my issue but couldn’t find anything.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You seem to be facing issue which is not related to the library itself but the dependency of the library. Please uninstall the version of blinker._saferef, issue the command below:

pip uninstall selenium-wire 
pip uninstall blinker

once its uninstall use the blinker version which is less than 1.8.0, use following command:

pip install blinker==1.7.0

Finally install selenium-wire:

pip install selenium-wire

Try to use the library, it should work.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading