Mostrando las entradas con la etiqueta solucion. Mostrar todas las entradas
Mostrando las entradas con la etiqueta solucion. Mostrar todas las entradas

ModuleNotFoundError: No module named 'webdriver'

ImportError: cannot import name 'webdriver' from partially initialized module ''


muchos de estos error vienen dados por realizar los siguientes tipos de importacion

import webdriver
from selenium.webdriver.chrome.options import Options

options = Options()
options.page_load_strategy = 'normal'
driver = webdriver.Chrome(options=options)
driver.get("http://www.google.com")
driver.quit()


 Solucion

from selenium.webdriver.chrome.service import Service

from selenium.webdriver.common.by import By

from webdriver_manager.chrome import ChromeDriverManager

from selenium import webdriver

driver = webdriver.Chrome()

driver.get("https://www.google.com")

driver.quit()


tener presente que la version de Chrome (por ejemplo) sea compatible con con WebDriver utilizado 

Error: Unresolved reference

 Android Studio no reconoce las variables.


solucion:

ir a build.gradle (Module)

borrar todo plugins{ } aparece al principio y puede tener 2 id

remplazar por 

apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

Error: Failed to create Anaconda menus, Abort Retry Ignore

nombre error:  Failed to create Anaconda menus, Abort Retry Ignore

entrar a:  https://repo.anaconda.com/archive/


Bajar algunas de estas opciones según SO.

Anaconda2-5.3.1-Linux-x86.sh507.6M2018-11-19 13:37:355685ac1d4a14c4c254cbafc612c77e77
Anaconda2-5.3.1-Linux-x86_64.sh617.8M2018-11-19 13:37:314da47b83b1eeac1ca8df0a43f6f580c8
Anaconda2-5.3.1-MacOSX-x86_64.pkg628.4M2018-11-19 13:37:38d6139f371aa6cf81c3f002ecdd09b748
Anaconda2-5.3.1-MacOSX-x86_64.sh539.0M2018-11-19 13:37:43559606f0dda021daa1afd612b2e3e37c
Anaconda2-5.3.1-Windows-x86.exe458.1M2018-11-19 13:38:327286587bcfb6a5a164d70fe02c1968d5
Anaconda2-5.3.1-Windows-x86_64.exe580.1M2018-11-19 13:37:47ff29ffcd1f767cde91bab71110c00294

01100110 01101001 01101110 00100000 01100100 01100101 00100000 01100011 01101111 01100100 01101001 01100111 01101111

RETURN


INDICE