-
Notifications
You must be signed in to change notification settings - Fork 77
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
ImportError: cannot import name six #103
Comments
Can you check what version of urllib3 you have? |
1.7.1 |
It looks like you should be fine: https://github.com/shazow/urllib3/blob/1.7.1/urllib3/packages/six.py Have you installed urllib3 from Ubuntu packaging? Maybe they drop the If this is true I would advise you to create a virtual environment and run |
First i tried 'easy_install --upgrade pip' and then 'pip install urllib3 --upgrade' and i got this message...
...and when i then tried to run 'tx' again it worked :) |
thx, I run 'pip install urllib3 --upgrade' and this was ok. |
Got this problem on Ubuntu 16.04. My versions are:
I'm installing everything from the Ubuntu repos, so no "pip install" for me. |
I have the same problem. I managed to fix it somehow on my Ubuntu machine a while ago, but I don't remember what I did and I have difficulty with finding the information again. The system I am using right now is Linux Mint 17.1 Cinnamon 64 bit on VMWare for Windows. Command and output log:
The packages are owned by the OS, so I tried:
The German-language output means "already on the newest version", so nothing is being done. Please let me know if you need any version information for the python libs - since this will be another research project, I'd rather wait until I know that you actually need them. |
@gunchleoc could you try the commits in this PR? https://github.com/transifex/transifex-client/pull/124/commits |
Thanks for your fast reply! I ran the install code that you suggested, but the only effect is to make the error message shorter:
|
@gunchleoc can you try with |
Here's the output:
|
I have also got it back... If i try to get the version out of tx i get this:
I then did what i did before: 'easy_install --upgrade pip' and then 'pip install urllib3 --upgrade' and it worked again
|
I also updated tx :)
|
@gunchleoc if the workaround that @Sopor- mentions doesn't work you may want to try the updated code in #124 which depends directly on six instead of through urllib3. |
@schildbach we will be releasing a new version of the client which simplifies these dependencies. Hopefully the package maintainers will update their package not long after that. |
|
kouk's suggestion fixed it for me - I ran |
|
When i run 'tx' i get this error message.
I did clone it and run 'python setup.py install'
Ubuntu 14.04.3
Python 2.7.4
Six 1.5.2
The text was updated successfully, but these errors were encountered: