Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compilation #6006

Closed
leocotes opened this issue Jun 8, 2018 · 6 comments
Closed

Error compilation #6006

leocotes opened this issue Jun 8, 2018 · 6 comments
Labels

Comments

@leocotes
Copy link

leocotes commented Jun 8, 2018

Hello guys,
I'm a beginner in python, I would like to use selenium to send msg by web whatsapp, but i don't know to solve this error.

OS - Win10x64
Python 3.6
Pycharm Community 2018.1.4
sem titulo

Thank everyone!

@lmtierney
Copy link
Member

How did you install the python library? Can you show the directory it is installed?

@lmtierney lmtierney added the C-py label Jun 8, 2018
@leocotes
Copy link
Author

leocotes commented Jun 8, 2018

I installed by cmd

pip install selenium

2
3

@lmtierney
Copy link
Member

If you installed it via pip, then it doesn't look like it installed correctly... Are you sure it fully installed? Maybe you're running into #5907 ?

@leocotes
Copy link
Author

leocotes commented Jun 8, 2018

Take a look, i think that is ok.

1
2

@cgoldberg
Copy link
Contributor

cgoldberg commented Jun 8, 2018

your first screenshot shows python trying to run inside a virtualenv (venv), but you are installing selenium outside of the virtualenv. To use a virtualenv, install selenium after you activate your virtualenv.

@leocotes
Copy link
Author

leocotes commented Jun 8, 2018

Thank you @cgoldberg and @lmtierney

Now works perfect! I needed to put the patch to works.

chromedriver = r"patch of the exe"
driver = webdriver.Chrome(chromedriver)

Thanks!!!!

@leocotes leocotes closed this as completed Jun 8, 2018
@leocotes leocotes reopened this Jun 8, 2018
@leocotes leocotes closed this as completed Jun 8, 2018
@lock lock bot locked and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants