https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236909
Kubilay Kocak <ko...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Rejected Status|New |Closed CC| |d...@freebsd.org, | |pyt...@freebsd.org --- Comment #2 from Kubilay Kocak <ko...@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 consistent 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 manages this by providing the package the correct locations. 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 system 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: ============================== !!!! WARNING !!!! ========================== 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. ============================== !!!! WARNING !!!! ========================== Please use the science/py-scipy port/package to install scipy. If the port fails to build in the same manner, please re-open this issue, and 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. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"