Opened 4 years ago

Closed 4 years ago

#61009 closed defect (duplicate)

Installing py37-spaCy failed

Reported by: yszhang95 Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-spaCy

Description

Hi, experts

After cleaning and search around exiting tickets, I found none of them help.

I tried to install py37-spaCy. But I had the information below. I attached the log. Please check.

--->  Computing dependencies for py37-spaCy
--->  Fetching archive for py37-spaCy
--->  Attempting to fetch py37-spaCy-2.2.4_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/py37-spaCy
--->  Attempting to fetch py37-spaCy-2.2.4_0.darwin_19.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/py-spaCy/py37-spaCy
--->  Attempting to fetch py37-spaCy-2.2.4_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/py37-spaCy
--->  Building py37-spaCy
Error: Failed to build py37-spaCy: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-spaCy/py37-spaCy/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py37-spaCy failed

Attachments (1)

main.log (237.3 KB) - added by yszhang95 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by yszhang95

Attachment: main.log added

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

Keywords: py37-spaCy removed
Milestone: MacPorts 2.7.0
Owner: set to cjones051073
Port: py-spaCy added
Status: newassigned

The log says:

distutils.errors.DistutilsError: the `allow-hosts` option is not supported when using pip to install requirements.

This misleading error message means that py-spaCy has failed to declare a dependency on another python module that it requires. (MacPorts clears the allow-hosts option to ensure that the port does not automatically download the dependency; setuptools used to honor this setting, but in a recent change has switched to complaining about it. We consider that a bug in setuptools.)

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

Resolution: duplicate
Status: assignedclosed

Duplicate of #60474.

Note: See TracTickets for help on using tickets.