Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. musicman (musicman@nu.federati.net)'s status on Tuesday, 08-Jan-2019 09:41:29 EST musicman musicman
    fighting with !python on CentOS 6...
    In conversation Tuesday, 08-Jan-2019 09:41:29 EST from nu.federati.net permalink
    1. musicman (musicman@nu.federati.net)'s status on Tuesday, 08-Jan-2019 13:41:15 EST musicman musicman
      in reply to
      Any ideas?

      root@dwhitfield-centos6:/usr/src/Python-3.7.0# python3.7 get-pip.py
      Traceback (most recent call last):
      File "get-pip.py", line 20890, in <module>
      main()
      File "get-pip.py", line 197, in main
      bootstrap(tmpdir=tmpdir)
      File "get-pip.py", line 82, in bootstrap
      import pip._internal
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/__init__.py", line 40, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/cli/autocompletion.py", line 8, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/cli/main_parser.py", line 12, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/commands/__init__.py", line 6, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/commands/completion.py", line 6, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/cli/base_command.py", line 18, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/download.py", line 38, in <module>
      File "/tmp/tmp3i5zf_1_/pip.zip/pip/_internal/utils/glibc.py", line 3, in <module>
      File "/usr/local/lib/python3.7/ctypes/__init__.py", line 7, in <module>
      from _ctypes import Union, Structure, Array
      ModuleNotFoundError: No module named '_ctypes'
      In conversation Tuesday, 08-Jan-2019 13:41:15 EST from nu.federati.net permalink
      1. musicman (musicman@nu.federati.net)'s status on Tuesday, 08-Jan-2019 13:48:23 EST musicman musicman
        in reply to
        maybe this is the answer: https://nu.federati.net/url/199476
        In conversation Tuesday, 08-Jan-2019 13:48:23 EST from nu.federati.net permalink

        Attachments

        1. Python3: ImportError: No module named '_ctypes' when using Value from module multiprocessing
          from Stack Overflow
          I am using Ubuntu and have installed Python 2.7.5 and 3.4.0. In Python 2.7.5 I am able to successfully assign a variable x = Value('i', 2), but not in 3.4.0. I am getting: Traceback (most recent c...
      2. musicman (musicman@nu.federati.net)'s status on Tuesday, 08-Jan-2019 16:37:43 EST musicman musicman
        in reply to
        I compiled openssl and set it to be the default version:

        openssl version
        OpenSSL 1.1.0f 25 May 2017

        Then, I recompiled Python.

        However, I still get this:
        python3.7 -m pip install p4python
        pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
        Collecting p4python
        Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/p4python/
        Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/p4python/
        Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/p4python/
        Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/p4python/
        Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/p4python/
        Could not fetch URL https://pypi.org/simple/p4python/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/p4python/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
        Could not find a version that satisfies the requirement p4python (from versions: )
        No matching distribution found for p4python
        pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
        Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
        In conversation Tuesday, 08-Jan-2019 16:37:43 EST from nu.federati.net permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.