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

six library is missing #135

Closed
aruba8 opened this issue Jun 23, 2017 · 7 comments
Closed

six library is missing #135

aruba8 opened this issue Jun 23, 2017 · 7 comments
Labels

Comments

@aruba8
Copy link

aruba8 commented Jun 23, 2017

Tried basic example from README.md file.

Traceback (most recent call last):
  File "login_test.py", line 1, in <module>
    from selene.api import *
  File "/Users/erik/.virtualenvs/ui-tests/lib/python3.6/site-packages/selene/api/__init__.py", line 1, in <module>
    from selene import config, browser, browsers
  File "/Users/erik/.virtualenvs/ui-tests/lib/python3.6/site-packages/selene/browser.py", line 6, in <module>
    import selene.driver
  File "/Users/erik/.virtualenvs/ui-tests/lib/python3.6/site-packages/selene/driver.py", line 11, in <module>
    from selene.elements import SeleneElement, SeleneCollection
  File "/Users/erik/.virtualenvs/ui-tests/lib/python3.6/site-packages/selene/elements.py", line 23, in <module>
    from selene.wait import wait_for
  File "/Users/erik/.virtualenvs/ui-tests/lib/python3.6/site-packages/selene/wait.py", line 1, in <module>
    import six
ModuleNotFoundError: No module named 'six'
@SergeyPirogov
Copy link
Contributor

Which command did you use to install selene?

@aruba8
Copy link
Author

aruba8 commented Jun 23, 2017

I used:
pip install selene --pre

pip freeze output:

backports.functools-lru-cache==1.4
certifi==2017.4.17
chardet==3.0.4
colorama==0.3.9
configparser==3.5.0
crayons==0.1.2
future==0.16.0
idna==2.5
requests==2.18.1
selene==1.0.0a11
selenium==2.53.1
urllib3==1.21.1
webdriver-manager==1.4.5

@SergeyPirogov
Copy link
Contributor

Python version?

@aruba8
Copy link
Author

aruba8 commented Jun 23, 2017

python3.6

@SergeyPirogov
Copy link
Contributor

Need to investigate, because we tested it with python <= 3.5

@SergeyPirogov
Copy link
Contributor

Can confirm, that six is missed. Need to fix it. Temporary solution is to install it using pip install six

@SergeyPirogov
Copy link
Contributor

fixed by #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants