Re: [scikit-image] Fw: Re: Compilation Problems

I'm not sure what you mean by anaconda. There are two relevant software packages named anaconda. From Wikipedia: 1) Anaconda is the installer for Red Hat Enterprise Linux, Oracle Linux, Scientific Linux, CentOS and Fedora. 2) Anaconda is a freemium[2] open source[3] distribution of the Python and R programming languages for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment.[4][5][6][7][8] Its package management system is conda. Which one are you referring to? -------------------------------------------- On Tue, 1/10/17, Josh Warner <silvertrumpet999@gmail.com> wrote: Subject: Re: [scikit-image] Fw: Re: Compilation Problems To: "James Board" <jpboard2@yahoo.com> Date: Tuesday, January 10, 2017, 10:39 AM The simplest way to handle this, if you don't have the privileges to get openssl-dev or even properly troubleshoot the system install, is to abandon the system Python in favor of Anaconda/Miniconda or another full distribution that can install and run exclusively in user space. Keeping all your packages easily up to date, dependency management, trivial virtual environments, etc. are other huge benefits of this approach. On Tue, Jan 10, 2017 at 9:33 AM, James Board via scikit-image <scikit-image@python.org> wrote: I don't have root access on this machine and I personally didn't install the python version. I can't tell if the sysadmins installed openssl-devel before building python. How sure are you that this is causing my problem? I could build python and openssl-devel myself. But without root access, that could be a lot of work because I'll have to track down each dependency manually. Thank you for replying.
------------------------------ --------------
On Sun, 1/8/17, Nathaniel Smith <njs@pobox.com>
wrote:
Subject: Re: [scikit-image] Compilation Problems
To: "James Board" <jpboard2@yahoo.com>
Cc: scikit-image@python.org
Date: Sunday, January 8, 2017, 10:16 PM
You appear to be using a self-built
Python. Did you by chance forget
to install openssl-devel before building Python, so that
you
ended up
with a Python that has no ssl module?
-n
On Sun, Jan 8, 2017 at 6:11 PM, James Board via
scikit-image
<scikit-image@python.org>
wrote:
> I'm on a Red-Hat-like Linux machine and I tried to
install scikit several ways and failed. Here was one
attempt:
>
>> git clone https://github.com/scikit- image/scikit-image.git
>> cd scikit-image
>> python --version
> Python 2.7.9
>
>> pip install -e
> Traceback (most recent call last):
> File
"/usr/local/python/2.7.9/gnu// bin/pip", line 9, in
<module>
> load_entry_point('pip==8.1. 0',
'console_scripts', 'pip')()
> File
"build/bdist.linux-x86_64/egg/ pkg_resources/__init__.py",
line 568, in load_entry_point
> File
"build/bdist.linux-x86_64/egg/ pkg_resources/__init__.py",
line 2720, in load_entry_point
> File
"build/bdist.linux-x86_64/egg/ pkg_resources/__init__.py",
line 2380, in load
> File
"build/bdist.linux-x86_64/egg/ pkg_resources/__init__.py",
line 2386, in resolve
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/__ init__.py",
line 15, in <module>
> from pip.vcs import git,
mercurial, subversion, bazaar # noqa
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/vcs/ subversion.py",
line 9, in <module>
> from pip.index import Link
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/index. py",
line 30, in <module>
> from pip.wheel import Wheel,
wheel_ext
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/wheel. py",
line 39, in <module>
> from
pip._vendor.distlib.scripts import ScriptMaker
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/_ vendor/distlib/scripts.py",
line 14, in <module>
> from .compat import sysconfig,
detect_encoding, ZipFile
> File
"/usr/local/python/2.7.9/gnu/ lib/python2.7/site-packages/ pip-8.1.0-py2.7.egg/pip/_ vendor/distlib/compat.py",
line 31, in <module>
> from urllib2 import (Request,
urlopen, URLError, HTTPError,
> ImportError: cannot import name HTTPSHandler
>
> Here's another attempt that failed:
>
>> easy_install --install-dir=/p/home/jpboard/ SCIKIT
-U scikit-image
> Creating /p/home/jpboard/SCIKIT/site.py
> Searching for scikit-image
> Reading https://pypi.python.org/ simple/scikit-image/
> Download error on
https://pypi.python.org/ simple/scikit-image/:
unknown url type: https -- Some packages may not be
found!
> Couldn't find index page for 'scikit-image' (maybe
misspelled?)
> Scanning index of all packages (this may take a
while)
> Reading https://pypi.python.org/ simple/
> Download error on https://pypi.python.org/ simple/: unknown url type:
https -- Some packages may not be found!
> No local packages or download links found for
scikit-image
> error: Could not find suitable distribution for
Requirement.parse('scikit- image')
>
> Can anyone tell what I'm doing
wrong? I tried all available options for me
in the scikit documentation. What should I do next?
>
> ______________________________
> scikit-image mailing list
> scikit-image@python.org
> https://mail.python.org/ mailman/listinfo/scikit-image
--
Nathaniel J. Smith -- https://vorpus.org
______________________________ _________________ scikit-image mailing list scikit-image@python.org https://mail.python.org/ mailman/listinfo/scikit-image

On Tue, Jan 10, 2017, at 09:00, James Board via scikit-image wrote:
I'm not sure what you mean by anaconda. There are two relevant software packages named anaconda. From Wikipedia:
1) Anaconda is the installer for Red Hat Enterprise Linux, Oracle Linux, Scientific Linux, CentOS and Fedora.
2) Anaconda is a freemium[2] open source[3] distribution of the Python and R programming languages for large-scale data processing, predictive analytics, and scientific computing, that aims to simplify package management and deployment.[4][5][6][7][8] Its package management system is conda.
Which one are you referring to?
I was referring to https://www.continuum.io/downloads Stéfan
participants (2)
-
James Board
-
Stefan van der Walt