[MacPorts] #48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable
#48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable ---------------------------+-------------------------------- Reporter: c.roger.day@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ---------------------------+-------------------------------- Installing py27-numpy @1.9.2_2+gfortran doesn't work without doing this: export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH" -- Ticket URL: <https://trac.macports.org/ticket/48695> MacPorts <https://www.macports.org/> Ports system for OS X
#48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable ----------------------------+------------------- Reporter: c.roger.day@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-numpy | ----------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => dh@… * cc: michaelld@… (added) * port: => py27-numpy Old description:
Installing py27-numpy @1.9.2_2+gfortran doesn't work without doing this:
export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH"
New description: Installing py27-numpy @1.9.2_2+gfortran doesn't work without doing this: {{{ export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH" }}} -- Comment:
Installing py27-numpy @1.9.2_2+gfortran doesn't work without doing this:
{{{ export PATH="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH" }}}
Without doing that where? Environment variables you set in the terminal, including PATH, are ignored by MacPorts. -- Ticket URL: <https://trac.macports.org/ticket/48695#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable ----------------------------+------------------- Reporter: c.roger.day@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py27-numpy | ----------------------------+------------------- Comment (by c.roger.day@…): The install was failing here: :debug:build Assembled command: 'cd "/opt/local/var/macports/build /_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build :info:build Running from numpy source directory. :info:build :info:build Error compiling Cython file: :info:build ------------------------------------------------------------ :info:build ... :info:build i = 0 :info:build while i < sz: :info:build Sum = 1.0 :info:build dn = n :info:build for j from 0 <= j < d-1: :info:build mnix[i+j] = rk_binomial(self.internal_state, dn, pix[j]/Sum) :info:build ^ :info:build ------------------------------------------------------------ :info:build :info:build mtrand.pyx:4426:75: Pythonic division not allowed without gil, consider using cython.cdivision(True) :info:build Processing numpy/random/mtrand/mtrand.pyx :info:build Traceback (most recent call last): :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py- numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 199, in <module> :info:build main() :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py- numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 195, in main :info:build find_process_files(root_dir) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py- numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 187, in find_process_files :info:build process(cur_dir, fromfile, tofile, function, hash_db) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py- numpy/py26-numpy/work/numpy-1.9.2/tools/cythonize.py", line 161, in process :info:build processor_function(fromfile, tofile) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-numpy/py26-numpy/work/numpy-1.9.2bash-3.2# port However, since uninstalling py-numpy (and all the variants I had), and py- scipy just in case, I have re-installed py-numpy successfully. The bug can be closed. -- Ticket URL: <https://trac.macports.org/ticket/48695#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48695: py27-numpy @1.9.2_2+gfortran doesn't build on 10.7.5 with out the Python install path being added to the PATH variable ----------------------------+-------------------- Reporter: c.roger.day@… | Owner: dh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: Port: py27-numpy | ----------------------------+-------------------- Changes (by michaelld@…): * status: new => closed * resolution: => invalid Comment: OK; thanks for reporting back. -- Ticket URL: <https://trac.macports.org/ticket/48695#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts