Closed janjongboom closed 7 years ago
Looks like it might be related to this: https://github.com/pyca/cryptography/issues/2853
What does pip list | grep setuptools
say?
I removed the VM... I can check tomorrow.
@autopulated janjongboom1:~/workspace $ pip list | grep setuptools setuptools (3.3)
@autopulated I am also having the same issue as @janjongboom , my setuptools version is also 3.3
Same Problem here..... setuptools (3.3).
:(
Downgrading yotta to 0.16.0 works for me.
It isn't clear why downgrading to 0.16.0 would solve this, as none of the versions that yotta requires of its dependencies have changed between 0.16.0 and 0.16.2: if you try updating to 0.16.2 does it still work?
In any case the root cause appears to be old versions of setuptools: cryptography already has a dependency on >=11.3, which for some reason hasn't been satisfied in all the cases we're seeing this problem.
Even Downgrading it to 0.16.0 does not work....
pip install -U setuptools
should solve things, provided you can do that successfully.
Installing newest version of setuptools helps me. I think it could be done by:
sudo -H pip install yotta --upgrade
It seems to be conflicting package module name within python-pkg-resources package. You have to remove python-pkg-resources package, or delete pkg_resources.pyc and rename pkg_resources.py to pkg_resources.py.old (for backup) in "/usr/lib/python2.7/dist-packages".
Hi, is there any update regarding this issue, none solutions mentioned above work for me...
Was trying to install yotta on c9. following the normal steps provided in yotta docs, found same error. None of the above workaround suggestions worked.
AFAIK this is only caused by old versions of setuptools, so double check that you have the latest versions!
See here for a handy explanation of the different modules you might see (distribute vs. setuptools) with an old base installation that you're trying to update.
Ran into this today again on Raspberry Pi Zero. Today sudo easy_install setuptools
did the trick.
Closing this issue as there is a workaround
On a fresh machine, just installed yotta...
Trying to build https://github.com/ARMmbed/mbed-client-linux-example