pip : AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'QTQR do not show barcodes read from file or webcam in 16.04!Python 3.5 is unable to access packages installed with pip3 like djangoPlayOnLinux won't launchPlayonlinux won't start. Ubuntu 16.04why sudo -H pip -V differs from pip -VInstalling pip3Ubuntu 16.04 can't install any software

Should I re-install Windows 10 on my failing hard drive?

My PhD defense is next week and I am having negative thoughts about my work and knowledge. Any advice on how to tackle this?

Should I tell an editor that I believe an article I'm reviewing is not good enough for the journal?

Why would prey creatures not hate predator creatures?

How to get rid of vertical white lines in a table?

If prey gave predators the corpses of members which had naturally died, would predators be able to subsist without killing the prey?

Can the treble clef be used instead of the bass clef in piano music?

How to spot dust in images quickly while doing a shoot outdoors?

Need help reading piano sheet music

Why does it not make sense to define addition on points in geometry?

Can the Protection fighting style be used in this way?

Why can not compare . (dot) as a string value inside the first brackets of if statement?

Running code in a different tmux pane

What are the minimum element requirements for a star?

RPMs too high on freeway?

Twelve Labours #08 - Dark Horse Bookmakers

Prove that the equation has only one real root.

Showing a point on a plot as a circle rather than a disk

Why do some DSLRs have ISO less than 100?

Sci Fi novel possibly from the 70s on high gravity world

UK visitors visa needed fast for badly injured family member

How is a series resistor limiting the voltage for a diode?

Is "montäglich" commonly used?

How does the credit rating of a country affect its populace?



pip : AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'


QTQR do not show barcodes read from file or webcam in 16.04!Python 3.5 is unable to access packages installed with pip3 like djangoPlayOnLinux won't launchPlayonlinux won't start. Ubuntu 16.04why sudo -H pip -V differs from pip -VInstalling pip3Ubuntu 16.04 can't install any software






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















So everytime I want to use pip command on Ubuntu 16.04 I get the following error:



 ~ pip3 --version 
Traceback (most recent call last):
File "/usr/local/bin/pip3", line 6, in <module>
from pip._internal import main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py", line 20, in <module>
from pip._internal.download import PipSession
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/download.py", line 15, in <module>
from pip._vendor import requests, six, urllib3
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/requests/__init__.py", line 97, in <module>
from pip._vendor.urllib3.contrib import pyopenssl
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/local/lib/python3.5/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 194, in <module>
if _lib.Cryptography_HAS_SSL_ST:
AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'


I tried to reinstall pyOpenSSL but it requires pip to install it with the command:



pip install pyOpenSSL


which reproduces the same error message.
How can I solve this problem, please?










share|improve this question































    0


















    So everytime I want to use pip command on Ubuntu 16.04 I get the following error:



     ~ pip3 --version 
    Traceback (most recent call last):
    File "/usr/local/bin/pip3", line 6, in <module>
    from pip._internal import main
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
    from pip._internal.commands import (
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py", line 20, in <module>
    from pip._internal.download import PipSession
    File "/usr/local/lib/python3.5/dist-packages/pip/_internal/download.py", line 15, in <module>
    from pip._vendor import requests, six, urllib3
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/requests/__init__.py", line 97, in <module>
    from pip._vendor.urllib3.contrib import pyopenssl
    File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
    File "/usr/local/lib/python3.5/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
    File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 194, in <module>
    if _lib.Cryptography_HAS_SSL_ST:
    AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'


    I tried to reinstall pyOpenSSL but it requires pip to install it with the command:



    pip install pyOpenSSL


    which reproduces the same error message.
    How can I solve this problem, please?










    share|improve this question



























      0













      0









      0








      So everytime I want to use pip command on Ubuntu 16.04 I get the following error:



       ~ pip3 --version 
      Traceback (most recent call last):
      File "/usr/local/bin/pip3", line 6, in <module>
      from pip._internal import main
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/__init__.py", line 40, in <module>
      from pip._internal.cli.autocompletion import autocomplete
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
      from pip._internal.cli.main_parser import create_main_parser
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
      from pip._internal.commands import (
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
      from pip._internal.commands.completion import CompletionCommand
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
      from pip._internal.cli.base_command import Command
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py", line 20, in <module>
      from pip._internal.download import PipSession
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/download.py", line 15, in <module>
      from pip._vendor import requests, six, urllib3
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/requests/__init__.py", line 97, in <module>
      from pip._vendor.urllib3.contrib import pyopenssl
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>
      import OpenSSL.SSL
      File "/usr/local/lib/python3.5/dist-packages/OpenSSL/__init__.py", line 8, in <module>
      from OpenSSL import crypto, SSL
      File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 194, in <module>
      if _lib.Cryptography_HAS_SSL_ST:
      AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'


      I tried to reinstall pyOpenSSL but it requires pip to install it with the command:



      pip install pyOpenSSL


      which reproduces the same error message.
      How can I solve this problem, please?










      share|improve this question














      So everytime I want to use pip command on Ubuntu 16.04 I get the following error:



       ~ pip3 --version 
      Traceback (most recent call last):
      File "/usr/local/bin/pip3", line 6, in <module>
      from pip._internal import main
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/__init__.py", line 40, in <module>
      from pip._internal.cli.autocompletion import autocomplete
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
      from pip._internal.cli.main_parser import create_main_parser
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
      from pip._internal.commands import (
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
      from pip._internal.commands.completion import CompletionCommand
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
      from pip._internal.cli.base_command import Command
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/base_command.py", line 20, in <module>
      from pip._internal.download import PipSession
      File "/usr/local/lib/python3.5/dist-packages/pip/_internal/download.py", line 15, in <module>
      from pip._vendor import requests, six, urllib3
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/requests/__init__.py", line 97, in <module>
      from pip._vendor.urllib3.contrib import pyopenssl
      File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/urllib3/contrib/pyopenssl.py", line 46, in <module>
      import OpenSSL.SSL
      File "/usr/local/lib/python3.5/dist-packages/OpenSSL/__init__.py", line 8, in <module>
      from OpenSSL import crypto, SSL
      File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 194, in <module>
      if _lib.Cryptography_HAS_SSL_ST:
      AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'


      I tried to reinstall pyOpenSSL but it requires pip to install it with the command:



      pip install pyOpenSSL


      which reproduces the same error message.
      How can I solve this problem, please?







      16.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 7 at 21:18









      Otmane404Otmane404

      1




      1























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1171603%2fpip-attributeerror-module-lib-has-no-attribute-cryptography-has-ssl-st%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1171603%2fpip-attributeerror-module-lib-has-no-attribute-cryptography-has-ssl-st%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown









          Popular posts from this blog

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü