Check your numpy version (should be 1.12.0 or higher)
Le vendredi 8 février 2019 04:56:37 UTC+1, Ram Kanhirotentavida a écrit :
>
> Thanks for the detailed response. I will try apt-get and update the status
> and results.
>
> Regards,
> Ram
>
> On Thu, Feb 7, 2019 at 12:07 PM Dennis Lee Bieber > wrote:
>
>> On Thu, 7 Feb 2019 07:43:56 -0800, Ram Kanhirotentavida
>> > declaimed the
>> following:
>>
>> > File
>> "/usr/lib/python2.7/dist-packages/numpy/distutils/misc_util.py",
>> >line 847, in _get_configuration_from_setup_py('.py', 'U', 1))
>> > File "numpy/core/setup.py", line 13, in
>> >import platform
>> >ImportError: No module named _build_utils.apple_accelerate
>> >
>>
>> That still looks strange... Line 13 of numpy/core/setup does
>> import
>> _build_utils, but the line is:
>>
>>
>> from numpy._build_utils.apple_accelerate import (
>> uses_accelerate_framework, get_sgemv_fix
>> )
>>
>> """
>> from __future__ import division, print_function
>>
>> import os
>> import sys
>> import pickle
>> import copy
>> import warnings
>> import platform
>> from os.path import join
>> from numpy.distutils import log
>> from distutils.dep_util import newer
>> from distutils.sysconfig import get_config_var
>> from numpy._build_utils.apple_accelerate import (
>> uses_accelerate_framework, get_sgemv_fix
>> )
>> from numpy.compat import npy_load_module
>> """
>>
>> import platform is on line 8
>>
>>
>> I'd echo the other response: if you are installing for a system
>> provided Python -- use apt-get, as that should be a tested/good package,
>> whereas pip has to download a generic source tree and then run setup
>> functions to build anything needed locally (and apparently either the
>> numpy
>> that pip is fetching doesn't have the _build_utils files, OR there is a
>> numpy already installed which doesn't have said file, but keeps pip from
>> downloading a different numpy.
>>
>>
>>
>> --
>> Wulfraed Dennis Lee Bieber AF6VN
>> wlf...@ix.netcom.com
>> HTTP://wlfraed.home.netcom.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to beagleboard...@googlegroups.com .
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/bi3p5ethhqrjvmcvufq70cl6dc9j4l201p%404ax.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/9f18ab13-c23b-4656-b139-1ba265fe6094%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.