[Slackbuilds-users] scipy3: cannot find numpy3 when building [RESOLVED]

Daniel Prosser dpross1100 at msn.com
Fri Aug 9 02:47:19 UTC 2019


Hm, I doubt it. I checked Rich's original email, and this was the actual 
error message when he tried to build scipy3:

Traceback (most recent call last):
   File "setup.py", line 474, in <module>
     setup_package()
   File "setup.py", line 450, in setup_package
     from numpy.distutils.core import setup
ModuleNotFoundError: No module named 'numpy'

On 8/8/19 10:32 PM, Duncan Roe wrote:
> On Fri, Aug 09, 2019 at 01:44:02AM +0000, Daniel Prosser wrote:
>> That's because the software itself is just called numpy. The package was named numpy3 to distinguish it from the Python 2 version. The numpy stuff in /usr/lib64/python3.7 comes from the numpy3 package.
>>
>> Dan
>>
> So the original message, "scipy3: cannot find numpy3 when building" is output
> by an SBo script when it sees REQUIRES="numpy3 ..." and
> /var/log/packages/numpy3-1.14.3-x86_64-1P_SBo does not exist.
>
> Could that be the underlying problem?
>
> Cheers ... Duncan.
>> On Aug 8, 2019 9:22 PM, Duncan Roe <duncan_roe at optusnet.com.au> wrote:
>>
>> Hey Rich,
>>
>> On Thu, Aug 08, 2019 at 02:06:36PM -0700, Rich Shepard wrote:
>>> On Thu, 8 Aug 2019, Didier Spaier wrote:
>>>
>>>> Please run from the systems in concern as root: updateb
>>> Didier,
>>>
>>> updatedb runs automatically overnight. The system is not turned off when I
>>> log out.
>>>
>>>> then provide the full output of this command:
>>>> locate numpy.py
>>> # locate numpy.py
>>> /usr/share/apps/kdevpythonsupport/documentation_files/numpy.py
>>> /usr/lib64/python2.7/site-packages/astroid/tests/unittest_brain_numpy.pyc
>>> /usr/lib64/python2.7/site-packages/astroid/tests/unittest_brain_numpy.py
>>> /usr/lib64/python2.7/site-packages/astroid/brain/brain_numpy.py
>>> /usr/lib64/python2.7/site-packages/astroid/brain/brain_numpy.pyc
>>> /home/rshepard/gis/grass/grass_dev/lib/python/pygrass/raster/testsuite/test_numpy.py
>>>
>>> But, ...
>>>
>>> # find / -name numpy
>>> /usr/lib64/python2.7/site-packages/numpy
>>> /usr/lib64/python2.7/site-packages/pandas/compat/numpy
>>> /usr/lib64/python2.7/site-packages/Cython/Includes/numpy
>>> /usr/lib64/R/library/BH/include/boost/python/numpy
>>> /usr/lib64/python3.7/site-packages/numpy
>>> /usr/lib64/python3.7/site-packages/numpy/core/include/numpy
>>> /var/lib/sbopkg/SBo/14.2/development/numpy
>>> /opt/slackbuilds/Development/numpy
>> These are all directories. If you try again with "-tye f" you won't see them.
>> (Quick check: find /usr/lib64 -type f -name numpy).
>>> Rich
>>> _______________________________________________
>> I tried this:
>>
>> 09:12:16# find /usr/lib64 /usr/src/slackbuilds -type f -name '*numpy*'
>> /usr/lib64/python3.7/site-packages/numpy/core/__pycache__/generate_numpy_api.cpython-37.pyc
>> /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/_numpyconfig.h
>> /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/numpyconfig.h
>> /usr/lib64/python3.7/site-packages/numpy/core/generate_numpy_api.py
>> /usr/lib64/python3.7/site-packages/numpy/distutils/__pycache__/numpy_distribution.cpython-37.pyc
>> /usr/lib64/python3.7/site-packages/numpy/distutils/numpy_distribution.py
>> /usr/lib64/python3.7/site-packages/numpy/tests/test_numpy_version.py
>> /usr/lib64/python2.7/site-packages/numpy/core/generate_numpy_api.pyc
>> /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/_numpyconfig.h
>> /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/numpyconfig.h
>> /usr/lib64/python2.7/site-packages/numpy/core/generate_numpy_api.py
>> /usr/lib64/python2.7/site-packages/numpy/distutils/numpy_distribution.pyc
>> /usr/lib64/python2.7/site-packages/numpy/distutils/numpy_distribution.py
>> /usr/lib64/python2.7/site-packages/numpy/tests/test_numpy_version.py
>> /usr/lib64/python2.7/site-packages/scipy/_lib/_numpy_compat.py
>> /usr/lib64/python2.7/site-packages/scipy/_lib/_numpy_compat.pyc
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle_utils.pyc
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle_compat.py
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle_utils.py
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.pyc
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py
>> /usr/lib64/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle_compat.pyc
>> /usr/lib64/python2.7/site-packages/vtk/util/numpy_support.py
>> /usr/lib64/python2.7/site-packages/vtk/util/numpy_support.pyc
>> /usr/lib64/python2.7/site-packages/statsmodels/compat/numpy.py
>> /usr/lib64/python2.7/site-packages/statsmodels/compat/numpy.pyc
>> /usr/src/slackbuilds/python/numpydoc/numpydoc.SlackBuild
>> /usr/src/slackbuilds/python/numpydoc/numpydoc.info
>> /usr/src/slackbuilds/development/numpy3/numpy3.SlackBuild
>> /usr/src/slackbuilds/development/numpy3/numpy3.info
>> /usr/src/slackbuilds/development/numpy-legacy3/numpy-legacy3.info
>> /usr/src/slackbuilds/development/numpy-legacy3/numpy-legacy3.SlackBuild
>> /usr/src/slackbuilds/development/numpy/numpy.info
>> /usr/src/slackbuilds/development/numpy/numpy.SlackBuild
>> /usr/src/slackbuilds/development/numpy-legacy/numpy-legacy.info
>> /usr/src/slackbuilds/development/numpy-legacy/numpy-legacy.SlackBuild
>>
>> Here's the rub: I *do* have numpy3 installed. But no files named '*numpy3*'
>> anywhere in the system except /var/log/packages/numpy3-1.14.3-x86_64-1P_SBo
>>
>> Cheers ... Duncan.
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - https://slackbuilds.org/faq/
>>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>


More information about the SlackBuilds-users mailing list