From owner-freebsd-python@freebsd.org Mon Apr 1 02:45:45 2019 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DED3153161C for ; Mon, 1 Apr 2019 02:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3B26BF23 for ; Mon, 1 Apr 2019 02:45:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5A0E3153161B; Mon, 1 Apr 2019 02:45:44 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37A6D1531619 for ; Mon, 1 Apr 2019 02:45:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF4156BF22 for ; Mon, 1 Apr 2019 02:45:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DB87A111EE for ; Mon, 1 Apr 2019 02:45:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x312jgPp069876 for ; Mon, 1 Apr 2019 02:45:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x312jgii069875 for python@FreeBSD.org; Mon, 1 Apr 2019 02:45:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 236909] error when installing scipy by pip on FreeBSD 12.0 Date: Mon, 01 Apr 2019 02:45:42 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Rejected X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2019 02:45:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236909 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Rejected Status|New |Closed CC| |dim@FreeBSD.org, | |python@FreeBSD.org --- Comment #2 from Kubilay Kocak --- Thank you for your report skywalk. Direct installation of Python packages via pip is not supported, as it: 1) Bypasses FreeBSD package registration and management 2) Does not use the ports infrastructure to produce standardised and consis= tent Python packages that work on FreeBSD. A large number of Python packages do = not build out-of-the-box due to different include/library locations. Ports mana= ges this by providing the package the correct locations.=20 In addition, due to (1), using pip to install Python package into the system Python environment can (and does) create conflicts between what the pkg sys= tem believes is installed and what it actually installed, rendering the system Python environment corrupted or broken. When installing the devel/py-pip package, there is a pkg-message displayed after installation, warning: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D !!!! WARNING !!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D pip MUST ONLY be used: * With the --user flag, OR * To install or manage Python packages in virtual environments Failure to follow this warning can and will result in an inconsistent system-wide Python environment (LOCALBASE/lib/pythonX.Y/site-packages) and cause errors. Avoid using pip as root unless you know what you're doing. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D !!!! WARNING !!!! =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Please use the science/py-scipy port/package to install scipy.=20 If the port fails to build in the same manner, please re-open this issue, a= nd include (*as attachments*), all of the following: - The complete port build log - If the build crashes, the "Preprocessed source(s) and associated run script(s)" as described in the crash error message. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=