Date: Mon, 01 Apr 2019 02:45:42 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 236909] error when installing scipy by pip on FreeBSD 12.0 Message-ID: <bug-236909-21822-ULG8DeCDOQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236909-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-236909-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236909 Kubilay Kocak <koobs@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Rejected Status|New |Closed CC| |dim@FreeBSD.org, | |python@FreeBSD.org --- Comment #2 from Kubilay Kocak <koobs@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236909-21822-ULG8DeCDOQ>