Opened 9 years ago
Closed 9 years ago
#48695 closed defect (invalid)
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
Reported by: | c.roger.day@… | Owned by: | dh@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | py27-numpy |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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"
Change History (3)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michaelld@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to dh@… |
Port: | py27-numpy added |
comment:2 Changed 9 years ago 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.
comment:3 Changed 9 years ago by michaelld (Michael Dickens)
Resolution: | → invalid |
---|---|
Status: | new → closed |
OK; thanks for reporting back.
Without doing that where? Environment variables you set in the terminal, including PATH, are ignored by MacPorts.