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

pip 18.1 issues #26

Closed
auludag opened this issue Oct 18, 2018 · 4 comments
Closed

pip 18.1 issues #26

auludag opened this issue Oct 18, 2018 · 4 comments

Comments

@auludag
Copy link

auludag commented Oct 18, 2018

hi,

when i see "You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command." i did that.

but after that pip command regarding rwssl seems broken

Traceback (most recent call last):
File "/usr/bin/pip", line 9, in
from pip import main
ImportError: cannot import name main

@BillyHilly
Copy link

Digital Ocean user by chance? I see the exact same thing.

@onetrev
Copy link

onetrev commented Dec 19, 2018

Similar errors for me when I run rwssl on a server running pip-18.1

Traceback (most recent call last):
  File "/usr/local/bin/rwssl", line 7, in <module>
    from rwssl.rwssl import main
  File "/usr/local/lib/python2.7/dist-packages/rwssl/rwssl.py", line 7, in <module>
    import validators
  File "/usr/local/lib/python2.7/dist-packages/validators/__init__.py", line 1, in <module>
    from .between import between  # noqa
  File "/usr/local/lib/python2.7/dist-packages/validators/between.py", line 2, in <module>
    from .utils import validator
  File "/usr/local/lib/python2.7/dist-packages/validators/utils.py", line 5, in <module>
    import six
ImportError: No module named six

@onetrev
Copy link

onetrev commented Dec 19, 2018

But I did get it working again like so...

  • I downgraded to Pip 9.0.1 as I knew that worked on another server. I did that with this command: sudo pip install --force-reinstall pip==9.0.1
  • What's odd though is it still didn't work. So I then uninstalled rwssl per documentation.
  • Then I re-installed rwssl and now it works. Keep in mind I'm still running pip 9.0.1

Hope that at least helps get you back and running with this very useful script!

@rehmatworks
Copy link
Owner

This is related to pip-upgrade and not an rwssl-related issue. Please check https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main to get help on how to solve this issue.

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

No branches or pull requests

4 participants