delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/21/22:39:57

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F1EA3840C03
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592793548;
bh=vMVS04u5BfnaM0ZyyKtJO4NydKrYJLSdTUabdhDuGRA=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=cWqrnDPAVXpMo/WuaQlB+OvPuX7e0AeBvTBrTrCy8F8HkRmnJorDmrHgJrHnQizOF
stuJE2sFRRZ6r3MgpyXTSZSbJjNXeWmPc3xAD4Nl9xvu8Oezbp+0fngLsaAN0OvKPe
F+GOfu7D5iDylI1ZwWVrPPxRCInGgEzx6fp73EME=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AABAB383E836
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=68qaguc5PXpQL2A6lWU1emn6jbF8ZF+i8vFjs4tsDzY=;
b=N8R47b8G+YdfXRVefxZOc1T0fGPhgh4tBFfM+rJrL7fmVT0l4vbZNUV07x7MEgPIsd
Pq3kyCKgYTima35RBTQESjjadGh0Y0ltHUDVeqRLswqQY+F10MvqdBwtRIk5Ymw9F2bH
aNSlo5nsFIdpgCJu4u1j6KQFz04+xcL3LtZ6R6f7MeuDfid8MopoVKs5kAjbqBkyYeB4
mGRZewz1b19F81+5QUFzY0NPRpV+KgbsOfrI7n9U8jUSg8QKUFXcdkoqdGC+nbiy6Buq
vI4NzSw5+ZK9jk+dwc2lWJ+FcFvMpimTDY79dibLOnD+aBx8cfIpeh62npj9XE2Ukyze
s/pQ==
X-Gm-Message-State: AOAM533BebyQe6EGLgOjdOKAXHF7oaxMd3ZFPmLuacWFIqkfEpttjipd
C4nOJ28tX22GO0aIOhBnXjvtWvwxfcuddLoFQwCAwFcD9lI=
X-Google-Smtp-Source: ABdhPJxyy0b1yTe3EWYVreKUx1bb+ykiX+628+mzsnVgE7RdXfsEINdzdIUDd1l2uxtEHgh6DNtEtQxEFNRXmDPbvAU=
X-Received: by 2002:a2e:88ca:: with SMTP id a10mr7699372ljk.360.1592793542847;
Sun, 21 Jun 2020 19:39:02 -0700 (PDT)
MIME-Version: 1.0
References: <CAGUd5DX9ke=DTSbafeZFAmLAAHcrAtagM-se4EwYgOKKEK6qsQ AT mail DOT gmail DOT com>
<86888556-a7c2-501f-c734-f0085ea6bdf5 AT gmail DOT com>
<CAGUd5DUnQU3i2U9qnfa68ZhP6vXCUxyeFRVsHPaSOs-5UDj94w AT mail DOT gmail DOT com>
<4ad17407-341d-8b4c-872a-7d5df0b5e821 AT cs DOT umass DOT edu>
<CAGUd5DXi4JNLo01LPFEFheyWwB29XzmNk4vUEhCmAhaWyHzENQ AT mail DOT gmail DOT com>
In-Reply-To: <CAGUd5DXi4JNLo01LPFEFheyWwB29XzmNk4vUEhCmAhaWyHzENQ@mail.gmail.com>
Date: Sun, 21 Jun 2020 19:38:51 -0700
Message-ID: <CAGUd5DX4PznsR-y7VQ5uO4T9B3RnV=_NgXbHLpDy5PFRh01WCA@mail.gmail.com>
Subject: Re: What's the official state of Python module scipy in Cygwin?
To: moss AT cs DOT umass DOT edu
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: My Name via Cygwin <cygwin AT cygwin DOT com>
Reply-To: My Name <mname989 AT gmail DOT com>
Cc: The Cygwin Mailing List <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

E.M.,

Your recipe has worked for me. I've successfully installed scipy per your
instructions. Thanks for your time and patience. I have wanted to use scipy
in Cygwin for three or four years, but had not asked here until yesterday.
Please don't apologize for abbreviating the package names at first. I
imagine everyone else reading knew exactly which packages you meant; but
despite relying on Cygwin for some basic things, my Cygwin expertise is
just novice. I work on my own development projects full-time, but haven't
been at a university or worked in a development team for thirty years;
haven't used gcc for three years and don't remember its details. My Cygwin
Setup which allowed me to install scipy was this:

=========================
setup-x86_64.exe -P
libopenblas,openblas-doc,liblapack-devel,liblapack-doc,gcc-core,gcc-g++,gcc-fortran,libgfortran4,libgfortran5,python27,python37,python37-devel,python37-pip,python37-tkinter,python37-six,python37-wheel,python37-numpy,bzr,emacs-w32,aspell,aspell-en,octave
=========================

I surely did some overkill with the three fortran packages, not knowing
which was meant by "gfortran", but it didn't hurt anything.

> Maybe I missed it, but I don't see anything indicating that you have
installed openblas or lapack

Before trying your relatively complex recipe, I tried MA and BI's simpler
recipes. First I tried MA's recipe, so I installed lapack but not
libopenblas. Next I tried BI's recipe, so I installed them both, but still
could not install scipy. Then, while preparing my batch file for your
recipe, I noticed I'd been installing python37 but not python37-devel
previously while trying MA and BI's recipes. That omission was
accidental not deliberate, and for all I know now, their solutions might
have worked if I'd installed python37-devel at the time.

I'm plenty satisfied with python3.7, but good luck with python3.8 / scipy.

Considering the power of scipy and (I'm guessing) its popularity, and
considering that the solution required nothing more than installing the
necessary packages via Cygwin Setup and then pip scipy, I respectfully
propose that the solution be included somewhere in the Cygwin documentation
or FAQ, even without scipy as an official Cygwin package.

Thanks to everyone in this thread for helping me.

Best regards


On Sun, Jun 21, 2020 at 4:16 PM My Name <mname989 AT gmail DOT com> wrote:

> E.M.,
>
> Can you please clarify several points you make?
>
> - In the Cygwin installer, I find no "lapack", but searching the installer
> for that term does return "liblapack". Would that Cygwin package suffice?
> If not, how would you suggest I install it?
>
> - In the Cygwin installer, I find no "openblas", but searching the
> installer for that term does return "libopenblas" (and the Cygwin installer
> tells me I already have v 0.3.9-1 installed). Does that suffice?
>
> - In the Cygwin installer, I find no "gcc", "g++", or "gfortran", but
> searching the installer for those terms does return "gcc-core", "gcc-g++",
> "libgfortran4", and "libgfortran5". Can you please tell me the exact
> spellings of the packages that worked for you? I lack the background to
> interpret your informal descriptions.
>
> - In the Cygwin installer, I find Packages with names of the form
> "python37-" followed respectively by "tkinter", "six", and "wheel", and I'm
> pretty confident that the long names I've found are what you're describing.
> Are you saying that these three are necessary for installing scipy, or that
> they're possibly necessary, and you're not sure?
>
> Since you had recent success installing scipy, I'd like to try your
> recipe, but could use exact spellings if you have time. Thank you.
>
>
> On Sun, Jun 21, 2020 at 12:40 PM Eliot Moss <moss AT cs DOT umass DOT edu> wrote:
>
>> You need to install openblas (and lapack, if openblas does not install
>> it).
>>
>> You also need gcc, g++, and gfortran for building various components, and
>> the suitable python-devel and python-pip packages.  I further have the
>> suitable python tkinter, six, and wheel packages installed from cygwin.
>>
>> I am finding that building scipy takes quite a while (a lot of long
>> C and Fortran optimizing compilations).
>>
>> Above, when I say "suitable", I mean python37 (or whatever).  scipy
>> built for me under 3.7 just now, and I am starting a 3.8 build, which
>> will require a local build of numpy, I believe, tediously longer :-) ...
>>
>> Regards - Eliot Moss
>> --
>> Problem reports:      https://cygwin.com/problems.html
>> FAQ:                  https://cygwin.com/faq/
>> Documentation:        https://cygwin.com/docs.html
>> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>>
>
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019