-
Notifications
You must be signed in to change notification settings - Fork 15
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
AttributeError: 'module' object has no attribute 'Cryptography_HAS_SSL_ST' #4
Comments
Thank you @hanzheteng for your feedback. What version of Ubuntu are you using? It seems there is a compatibility issue between packages from pip and apt. I will investigate this problem when I have time. This repo is in this format hoping that beginners can learn a little more about how a repo is created from scratch. Do you think it helps in this way? |
I am using Ubuntu 16.04.3 LTS. Just now I wanted to check the version of pip, and found that even pip itself cannot run, with the traceback
Then I solved it by Right now the version of my pip is I checked the source directory that, before I upgraded the openssl above, the version of pip was also 10.0.1. pip doesn't work due to the problem of openssl. I have a snapshot in Virtualbox created before running |
Hi @gzhang8 ,
Thanks for your great contributions to ROS community, which indeed helped me a lot.
However, I followed your instructions and got an issue.
When running
sudo -H pip install pandas jinja2
I got the traceback errorI guess this error comes from the old version of some library. After searching on Google I found an solution. (need to check if the directory exists before removing it, in some system the path should be /usr/lib)
$ sudo rm -rf /usr/local/lib/python2.7/dist-packages/OpenSSL/
$ sudo apt install --reinstall python-openssl
This solved my problem. But after running
sudo -H pip install pandas jinja2
, I got an warning message in red color, though the pandas and jinja2 packages are installed successfully.I am not sure if this solution will bring some other potential risks in the future.
By the way, why not put this repo into a ROS package? Then beginners can just
git clone
andcatkin make
to start their first try.The text was updated successfully, but these errors were encountered: