looks like building numpy requires fortran, install a fortran compiler..

On Sat, Nov 16, 2013 at 10:49 AM, Nicholas Mitri <[email protected]>wrote:

> I ended up downloading the latest zip of the master. Tried to install the
> dependencies but it always gets stuck at this point.
> As a point of reference, here are the versions of all the tools:
>
> python : 2.6.8
> make: 3.81
> clang: apple LLVM 4.2 (based on LLVM 3.2svn)
> pip: 1.4.1
>
> Any ideas?
> Nicholas
>
> Downloading/unpacking numpy==1.7.1 (from -r
> /Users/Hajj/Software/nupic-master/external/common/requirements.txt (line
> 17))
>   Downloading numpy-1.7.1.tar.gz (2.8MB): 2.8MB downloaded
>   Running setup.py egg_info for package numpy
>     Running from numpy source directory.
>     non-existing path in 'numpy/distutils': 'site.cfg'
>     F2PY Version 2
>     blas_opt_info:
>       FOUND:
>         extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>         define_macros = [('NO_ATLAS_INFO', 3)]
>         extra_compile_args = ['-msse3',
> '-I/System/Library/Frameworks/vecLib.framework/Headers']
>
>
>     lapack_opt_info:
>       FOUND:
>         extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>         define_macros = [('NO_ATLAS_INFO', 3)]
>         extra_compile_args = ['-msse3']
>
>
>     build_src
>     building py_modules sources
>     building library "npymath" sources
>     customize Gnu95FCompiler
>     Could not locate executable gfortran
>     Could not locate executable f95
>     customize NAGFCompiler
>     customize AbsoftFCompiler
>     Could not locate executable f90
>     Could not locate executable f77
>     customize IBMFCompiler
>     Could not locate executable xlf90
>     Could not locate executable xlf
>     customize IntelFCompiler
>     Could not locate executable ifort
>     Could not locate executable ifc
>     customize GnuFCompiler
>     Could not locate executable g77
>     customize G95FCompiler
>     Could not locate executable g95
>     customize PGroupFCompiler
>     Could not locate executable pgfortran
>     don't know how to compile Fortran code on platform 'posix'
>     C compiler: cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe
> -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE
> -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g
> -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch
> i386 -pipe
>
>
>     compile options: '-Inumpy/core/src/private -Inumpy/core/src
> -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray
> -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include
> -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -c'
>     cc: _configtest.c
>     clang: warning: argument unused during compilation: '-mno-fused-madd'
>
> On Nov 15, 2013, at 7:30 PM, Austin Marshall <[email protected]> wrote:
>
> It's also important to note that the `--boxed`-related error is likely due
> to pytest-xdist (https://pypi.python.org/pypi/pytest-xdist, included in
> requirements.txt at
> https://github.com/numenta/nupic/blob/master/external/common/requirements.txt#L10)
> not being installed.
>
>
> On Fri, Nov 15, 2013 at 9:22 AM, Nicholas Mitri <[email protected]>wrote:
>
>> Thanks for the reply!
>>
>> The error logs are based on pytest 2.4.2. which I downloaded instead.
>> Forgot to mention that.
>> I will try the other versions though and get back.
>>
>> Nicholas
>>
>>
>> On Nov 15, 2013, at 5:31 PM, Marek Otahal <[email protected]> wrote:
>>
>> Downloading/unpacking pytest==2.4.0.dev8 (from -r
>> external/common/requirements.
>> txt (line 9))
>>   Could not find a version that satisfies the requirement
>> pytest==2.4.0.dev8 (from -r external/common/requirements.txt (line 9))
>> (from versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3,
>> 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4,
>> 2.3.5, 2.4.0, 2.4.1, 2.4.2)
>> Cleaning up...
>> No distributions matching the version for pytest==2.4.0.dev8 (from -r
>> external/common/requirements.txt (line 9))
>> Storing complete log in /Users/Hajj/Library/Logs/pip.log
>>
>>
>> change the line in requirements.txt to either 2.4.0 or 2.4.1 version,
>>
>>
>> On Fri, Nov 15, 2013 at 4:28 PM, Nicholas Mitri <[email protected]>wrote:
>>
>>> Hey all,
>>>
>>> I’ve been trying to get everything built for the last few days but keep
>>> getting stuck on the dependencies.
>>> Build.sh is going fine. The c++ tests are all working. The py tests on
>>> the other hand are failing.
>>> I’m attaching the output of the pytest, the gym example, and the pip
>>> requirement installation in order.
>>> Sorry for the lengthy post. I’d appreciate any help to get this up and
>>> running.
>>>
>>> regards,
>>> Nicholas
>>>
>>>
>>> ———LOGS———
>>>
>>> usage: run_tests.py [options] [file_or_dir] [file_or_dir] [...]
>>> run_tests.py: error: unrecognized arguments: --boxed
>>>
>>> ——————
>>>
>>> Traceback (most recent call last):
>>>   File
>>> "/Users/Hajj/Software/NUPIC/examples/opf/bin/OpfRunExperiment.py", line 29,
>>> in <module>
>>>     from nupic.frameworks.opf.experiment_runner import (runExperiment,
>>>   File
>>> "/Users/Hajj/nta/eng/lib/python2.6/site-packages/nupic/frameworks/opf/experiment_runner.py",
>>> line 37, in <module>
>>>     from nupic.data import jsonhelpers
>>>   File
>>> "/Users/Hajj/nta/eng/lib/python2.6/site-packages/nupic/data/jsonhelpers.py",
>>> line 42, in <module>
>>>     import validictory
>>> ImportError: No module named validictory
>>>
>>> ——————
>>>
>>> Downloading/unpacking asteval==0.9.1 (from -r
>>> external/common/requirements.txt (line 3))
>>>   Downloading asteval-0.9.1.tar.gz
>>>   Running setup.py egg_info for package asteval
>>>     warning: no files found matching 'README.txt'
>>>     warning: no previously-included files found matching '*.pyc'
>>>     warning: no previously-included files found matching 'core.*'
>>>     warning: no previously-included files found matching '*~'
>>>     warning: no previously-included files found matching '*.pdf'
>>>     warning: no previously-included files matching '*' found under
>>> directory 'doc/_build'
>>>     warning: no previously-included files matching '*.pdf' found under
>>> directory 'doc'
>>> Downloading/unpacking mock==1.0.1 (from -r
>>> external/common/requirements.txt (line 4))
>>>   Running setup.py egg_info for package mock
>>>     warning: no files found matching '*.png' under directory 'docs'
>>>     warning: no files found matching '*.css' under directory 'docs'
>>>     warning: no files found matching '*.html' under directory 'docs'
>>>     warning: no files found matching '*.js' under directory 'docs'
>>> Downloading/unpacking ordereddict==1.1 (from -r
>>> external/common/requirements.txt (line 5))
>>>   Downloading ordereddict-1.1.tar.gz
>>>   Running setup.py egg_info for package ordereddict
>>> Downloading/unpacking PIL==1.1.7 (from -r
>>> external/common/requirements.txt (line 6))
>>>   You are installing a potentially insecure and unverifiable file.
>>> Future versions of pip will default to disallowing insecure files.
>>>   Running setup.py egg_info for package PIL
>>>     WARNING: '' not a valid package name; please use only.-separated
>>> package names in setup.py
>>> Downloading/unpacking psutil==1.0.1 (from -r
>>> external/common/requirements.txt (line 7))
>>>   You are installing an externally hosted file. Future versions of pip
>>> will default to disallowing externally hosted files.
>>>   You are installing a potentially insecure and unverifiable file.
>>> Future versions of pip will default to disallowing insecure files.
>>>   Running setup.py egg_info for package psutil
>>> Downloading/unpacking pylint==0.28.0 (from -r
>>> external/common/requirements.txt (line 8))
>>>   Running setup.py egg_info for package pylint
>>> Downloading/unpacking pytest==2.4.0.dev8 (from -r
>>> external/common/requirements.txt (line 9))
>>>   Could not find a version that satisfies the requirement
>>> pytest==2.4.0.dev8 (from -r external/common/requirements.txt (line 9))
>>> (from versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.1.1, 2.1.2, 2.1.3,
>>> 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4,
>>> 2.3.5, 2.4.0, 2.4.1, 2.4.2)
>>> Cleaning up...
>>> No distributions matching the version for pytest==2.4.0.dev8 (from -r
>>> external/common/requirements.txt (line 9))
>>> Storing complete log in /Users/Hajj/Library/Logs/pip.log
>>>
>>> ———END LOGS———
>>> _______________________________________________
>>> nupic mailing list
>>> [email protected]
>>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>>
>>
>>
>>
>> --
>> Marek Otahal :o)
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
>>
>> _______________________________________________
>> nupic mailing list
>> [email protected]
>> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>>
>>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
>


-- 
Marek Otahal :o)
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to