> On 7 May 2020, at 4:41 pm, [email protected] wrote:
> 
> 
>> On 2020-05-07, at 14:58, Christopher Jones <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> see
>> 
>> https://github.com/macports/macports-ports/blob/master/python/py-pytorch/Portfile#L92
>>  
>> <https://github.com/macports/macports-ports/blob/master/python/py-pytorch/Portfile#L92>
>> 
>> Chris
> 
> 
> thanks!
> 
> i had to add 'fetch.type git’ to Portfile to get it working.
> 
> but now destroot fails.
> 
> log:
> ----
> 
> make: Entering directory 
> `/opt/local/var/macports/build/_usr_local_macports_hfsinspect_sysutils_hfsinspect/hfsinspect/work/hfsinspect-02e0853'
> + echo 'Installing hfsinspect in /usr/local'
> Installing hfsinspect in /usr/local
> + mkdir -p /usr/local/bin
> + install build/Darwin-x86_64/hfsinspect /usr/local/bin
> install: /usr/local/bin/hfsinspect: Operation not permitted
> make: *** [install] Error 71
> 
> 
> what should i do now?

Any reference to /usr/local is wrong, macports does not use that location. The 
port file needs to configure the build to install to ${prefix} (which in 
default installations points to /opt/local).

> 
> 
> 
> BTW: i tried to install py37-pytorch as a tutorial for me but it failed:
> distutils.errors.DistutilsError: the `allow-hosts` option is not supported 
> when using pip to install requirements.
> Command failed:  cd 
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-spaCy/py37-spaCy/work/spaCy-2.2.4"
>  && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 
> setup.py build_ext --inplace build -j8
> Exit code: 1
> Error: Failed to build py37-spaCy: command execution failed

Hmm, not seen that before..

Chris

> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to