Opened 4 years ago

Closed 4 years ago

#60640 closed defect (fixed)

py35-scikit-learn @0.23.1: RuntimeError: Scikit-learn requires Python 3.6 or later

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: py-scikit-learn

Description

py35-scikit-learn @0.23.1 does not build:

Partial import of sklearn during the build process.
Traceback (most recent call last):
  File "setup.py", line 304, in <module>
    setup_package()
  File "setup.py", line 290, in setup_package
    % (platform.python_version(), sys.executable))
RuntimeError: Scikit-learn requires Python 3.6 or later. The current Python version is 3.5.9 installed in /opt/local/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Andrew, can you address this ticket please? Either pin py35-scikit-learn to an older Python 3.5-compatible version or remove the py35-scikit-learn subport (making sure that no other ports depend on it first).

comment:2 Changed 4 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: assignedclosed

In c618dac04bd2dfe756ab70e82c7373aab02c5905/macports-ports (master):

py-scikit-learn: pin py35 subport to latest compatible version

Closes: #60640

Note: See TracTickets for help on using tickets.