LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

Installation fails on Mac / python 3.8.2 #286

Closed lucasgautheron closed 2 years ago

lucasgautheron commented 2 years ago
(ChildProjectVenv) redacted@CHD-30004 ~ % python3 --version                                             
Python 3.8.2
(ChildProjectVenv) redacted@CHD-30004 ~ % pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git
Collecting git+https://github.com/LAAC-LSCP/ChildProject.git
  Cloning https://github.com/LAAC-LSCP/ChildProject.git to /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-req-build-8i6v_k0x
  Running command git clone -q https://github.com/LAAC-LSCP/ChildProject.git /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-req-build-8i6v_k0x
Collecting pandas>=0.25.0 (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/71/65/3ab03ef46613e66880dba5b2c2cb5836938f0219389a11c10cfdc617e836/pandas-1.3.3.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting jinja2 (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/80/21/ae597efc7ed8caaa43fb35062288baaf99a7d43ff0cf66452ddf47604ee6/Jinja2-3.0.1-py3-none-any.whl
Collecting numpy>=1.16.5 (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/3a/be/650f9c091ef71cb01d735775d554e068752d3ff63d7943b26316dc401749/numpy-1.21.2.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting sox (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/3f/67/1810e9a69956eb236967b7174c11fd8d8c2cdab051509286f72e6c7e147e/sox-1.4.1-py2.py3-none-any.whl
Collecting datalad (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/7b/10/4907a8528359d262641c6d37801b01fa520eff311307cd0d5a98b4ebac2b/datalad-0.15.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting lxml (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/e5/21/a2e4517e3d216f0051687eea3d3317557bde68736f038a3b105ac3809247/lxml-4.6.3.tar.gz
Collecting pympi-ling (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/fa/79/b7c044666e534fb97a7f050fb9236a612c3b5855991b7f3f3a2c69e04b12/pympi_ling-1.70.2-py2.py3-none-any.whl
Collecting pylangacq (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/65/de/40594b561951710e6a6eb07db6d345ce183c9ac04f225956882a86ee49d5/pylangacq-0.15.0-py3-none-any.whl
Collecting python-dateutil>=2.8.1 (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl
Collecting librosa (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/54/19/a0e2bdc94bc0d1555e4f9bc4099a0751da83fa6e1e6157ec005564f8a98a/librosa-0.8.1-py3-none-any.whl
Collecting pydub (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl
Collecting pysoundfile (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/2a/b3/0b871e5fd31b9a8e54b4ee359384e705a1ca1e2870706d2f081dc7cc1693/PySoundFile-0.9.0.post1-py2.py3-none-any.whl
Collecting nltk (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/5e/37/9532ddd4b1bbb619333d5708aaad9bf1742f051a664c3c6fa6632a105fd8/nltk-3.6.2-py3-none-any.whl
Collecting sklearn (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/1e/7a/dbb3be0ce9bd5c8b7e3d87328e79063f8b263b2b1bfa4774cb1147bfcd3f/sklearn-0.0.tar.gz
Collecting PyYAML (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d/PyYAML-5.4.1.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting panoptes-client (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/00/47/5803c46092e6f73d75edc853c1413f3088697d234889f5ede6434bc91803/panoptes_client-1.4.0.tar.gz
Collecting importlib-resources (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/f2/6c/2f3b930513bb971172ffceb63cf4e910944e57451724e69b1dec97cfefa6/importlib_resources-5.2.2-py3-none-any.whl
Collecting click==7.1.1 (from ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/dd/c0/4d8f43a9b16e289f36478422031b8a63b54b6ac3b1ba605d602f10dd54d6/click-7.1.1-py2.py3-none-any.whl (82kB)
     |████████████████████████████████| 92kB 8.4MB/s 
Collecting requests==2.25.0 (from ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/39/fc/f91eac5a39a65f75a7adb58eac7fa78871ea9872283fb9c44e6545998134/requests-2.25.0-py2.py3-none-any.whl (61kB)
     |████████████████████████████████| 61kB 13.2MB/s 
Collecting chardet<4,>=3.0.2 (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting pyannote.metrics (from ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/76/44/39e79594474eb99a23b26cb0104d78f6f20e4f8de3a26d67f24d2ea9ef28/pyannote.metrics-3.0.1-py3-none-any.whl
Collecting pytz>=2017.3 (from pandas>=0.25.0->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/70/94/784178ca5dd892a98f113cdd923372024dc04b8d40abe77ca76b5fb90ca6/pytz-2021.1-py2.py3-none-any.whl (510kB)
     |████████████████████████████████| 512kB 13.7MB/s 
Collecting MarkupSafe>=2.0 (from jinja2->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e/MarkupSafe-2.0.1.tar.gz
Collecting patool>=1.7 (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/43/94/52243ddff508780dd2d8110964320ab4851134a55ab102285b46e740f76a/patool-1.12-py2.py3-none-any.whl (77kB)
     |████████████████████████████████| 81kB 27.8MB/s 
Collecting simplejson (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f/simplejson-3.17.5.tar.gz (83kB)
     |████████████████████████████████| 92kB 19.0MB/s 
Collecting keyring>=8.0 (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/58/b7/cc5a5321a6119e23ee85745ba204a67d646835e8882ba36eece32ee2b4e1/keyring-23.2.1-py3-none-any.whl
Collecting keyrings.alt (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/e2/74/5f312f4713aa1836f1b8595318cac4ab770fc2278d12ac66fdabeafb2b67/keyrings.alt-4.1.0-py3-none-any.whl
Collecting wrapt (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz
Collecting distro; python_version >= "3.8" (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/b3/8d/a0a5c389d76f90c766e956515d34c3408a1e18f60fbaa08221d1f6b87490/distro-1.6.0-py2.py3-none-any.whl
Collecting tqdm (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/9c/05/cf212f57daa0eb6106fa668a04d74d932e9881fd4a22f322ea1dadb5aba0/tqdm-4.62.2-py2.py3-none-any.whl (76kB)
     |████████████████████████████████| 81kB 12.6MB/s 
Collecting annexremote (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/cd/9c/ced3458fcd0bb048350b7048412f6fa732ca7c44f6389d68c15e96e8b216/annexremote-1.5.0-py3-none-any.whl
Collecting fasteners>=0.14 (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/31/91/6630ebd169ca170634ca8a10dfcc5f5c11b0621672d4c2c9e40381c6d81a/fasteners-0.16.3-py2.py3-none-any.whl
Collecting PyGithub (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/c1/1f/9dc4ba315eeea222473cf4c15d3e665f32d52f859d9d6e73219d0a408969/PyGithub-1.55-py3-none-any.whl (291kB)
     |████████████████████████████████| 296kB 11.9MB/s 
Collecting msgpack (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/59/04/87fc6708659c2ed3b0b6d4954f270b6e931def707b227c4554f99bd5401e/msgpack-1.0.2.tar.gz (123kB)
     |████████████████████████████████| 133kB 6.4MB/s 
Collecting whoosh (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/ba/19/24d0f1f454a2c1eb689ca28d2f178db81e5024f42d82729a4ff6771155cf/Whoosh-2.7.4-py2.py3-none-any.whl (468kB)
     |████████████████████████████████| 471kB 12.8MB/s 
Collecting iso8601 (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/d7/f8/8f315ea8272359d9ae57086581fb4c469be80e6b36bb36583c11bb19e6c4/iso8601-0.1.16-py2.py3-none-any.whl
Collecting appdirs (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting boto (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/23/10/c0b78c27298029e4454a472a1919bde20cb182dab1662cec7f2ca1dcc523/boto-2.49.0-py2.py3-none-any.whl (1.4MB)
     |████████████████████████████████| 1.4MB 12.0MB/s 
Collecting python-gitlab (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/1b/90/eed6dd7eda176cb6e7300e27f9f7f94ac917df9dc1bb1553924af271f01a/python_gitlab-2.10.1-py3-none-any.whl (197kB)
     |████████████████████████████████| 204kB 21.1MB/s 
Collecting humanize (from datalad->ChildProject==0.0.1)
  Downloading https://files.pythonhosted.org/packages/ef/0f/acefce93675412ddd1315785e086e22d42cc43506a41d77d310ad4e4c6bb/humanize-3.11.0-py3-none-any.whl (90kB)
     |████████████████████████████████| 92kB 18.5MB/s 
Collecting six>=1.5 (from python-dateutil>=2.8.1->ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
Collecting scipy>=1.0.0 (from librosa->ChildProject==0.0.1)
  Using cached https://files.pythonhosted.org/packages/47/33/a24aec22b7be7fdb10ec117a95e1e4099890d8bbc6646902f443fc7719d1/scipy-1.7.1.tar.gz
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/redacted/ChildProjectVenv/bin/python3 /Users/redacted/ChildProjectVenv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-build-env-35pime14/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'wheel<0.37.0' 'setuptools<58.0.0' 'Cython>=0.29.18,<3.0' 'pybind11>=2.4.3,<2.7.0' pythran==0.9.11 'numpy==1.19.2; python_version=='"'"'3.7'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_machine!='"'"'aarch64'"'"' and platform_python_implementation != '"'"'PyPy'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_machine!='"'"'aarch64'"'"' and platform_python_implementation != '"'"'PyPy'"'"'' 'numpy==1.19.3; python_version=='"'"'3.9'"'"' and platform_python_implementation != '"'"'PyPy'"'"'' 'numpy==1.20.0; python_version=='"'"'3.7'"'"' and platform_python_implementation=='"'"'PyPy'"'"'' 'numpy; python_version=='"'"'3.8'"'"' and platform_python_implementation=='"'"'PyPy'"'"'' 'numpy; python_version=='"'"'3.9'"'"' and platform_python_implementation=='"'"'PyPy'"'"''
       cwd: None
  Complete output (4486 lines):
  Ignoring numpy: markers 'python_version == "3.7" and platform_machine == "aarch64"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_python_implementation != "PyPy"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.9" and platform_python_implementation != "PyPy"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.7" and platform_python_implementation == "PyPy"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.8" and platform_python_implementation == "PyPy"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.9" and platform_python_implementation == "PyPy"' don't match your environment
  Collecting wheel<0.37.0
    Using cached https://files.pythonhosted.org/packages/65/63/39d04c74222770ed1589c0eaba06c05891801219272420b40311cd60c880/wheel-0.36.2-py2.py3-none-any.whl
  Collecting setuptools<58.0.0
    Using cached https://files.pythonhosted.org/packages/4b/b9/71687c5d2034c863db1db2e0704f5e27581ff3cb44d7f293968c5e08ceb3/setuptools-57.5.0-py3-none-any.whl
  Collecting Cython<3.0,>=0.29.18
    Using cached https://files.pythonhosted.org/packages/ec/30/8707699ea6e1c1cbe79c37e91f5b06a6266de24f699a5e19b8c0a63c4b65/Cython-0.29.24-py2.py3-none-any.whl
  Collecting pybind11<2.7.0,>=2.4.3
    Using cached https://files.pythonhosted.org/packages/8d/43/7339dbabbc2793718d59703aace4166f53c29ee1c202f6ff5bf8a26c4d91/pybind11-2.6.2-py2.py3-none-any.whl
  Collecting pythran==0.9.11
    Using cached https://files.pythonhosted.org/packages/cf/15/4eeb85ed6aeaf13569a029c15143d8d550a6ae215dba57c267924bfdaf14/pythran-0.9.11-py3-none-any.whl
  Collecting numpy==1.17.3
    Using cached https://files.pythonhosted.org/packages/b6/d6/be8f975f5322336f62371c9abeb936d592c98c047ad63035f1b38ae08efe/numpy-1.17.3.zip
  Collecting gast~=0.4.0 (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/b6/48/583c032b79ae5b3daa02225a675aeb673e58d2cb698e78510feceb11958c/gast-0.4.0-py3-none-any.whl
  Collecting beniget~=0.3.0 (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/af/14/210eb0053124922abbd1ace0fe6fe46782acda64edb101f5fc890a72f6ad/beniget-0.3.0-py3-none-any.whl
  Collecting ply>=3.4 (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
  Collecting six (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl
  Collecting networkx>=2 (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/e9/93/aa6613aa70d6eb4868e667068b5a11feca9645498fd31b954b6c4bb82fa5/networkx-2.6.3-py3-none-any.whl
  Collecting decorator (from pythran==0.9.11)
    Using cached https://files.pythonhosted.org/packages/3d/cc/d7b758e54779f7e465179427de7e78c601d3330d6c411ea7ba9ae2f38102/decorator-5.1.0-py3-none-any.whl
  Installing collected packages: wheel, setuptools, Cython, pybind11, gast, beniget, ply, six, networkx, numpy, decorator, pythran
    Running setup.py install for numpy: started
      Running setup.py install for numpy: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /Users/redacted/ChildProjectVenv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-install-4i9sffy1/numpy/setup.py'"'"'; __file__='"'"'/private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-install-4i9sffy1/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-record-ndia4yef/install-record.txt --single-version-externally-managed --prefix /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-build-env-35pime14/overlay --compile --install-headers /Users/redacted/ChildProjectVenv/include/site/python3.8/numpy
           cwd: /private/var/folders/02/jzkm32mn6lnbbwqpqnb7rv580000gp/T/pip-install-4i9sffy1/numpy/
      Complete output (4444 lines):
      Running from numpy source directory.

      Note: if you need reliable uninstall behavior, then install
      with pip instead of using `setup.py install`:

        - `pip install .`       (from a git repo or downloaded source
                                 release)
        - `pip install numpy`   (last NumPy release on PyPi)

      blas_opt_info:
      blas_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      blis_info:
      customize UnixCCompiler
        libraries blis not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_blas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries tatlas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_blas_info:
      customize UnixCCompiler
        libraries satlas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_blas_info:
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      accelerate_info:
      customize UnixCCompiler
        libraries accelerate not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
      Library accelerate was not found. Ignoring
      customize UnixCCompiler
        libraries veclib not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
      Library veclib was not found. Ignoring
        FOUND:
          extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
          extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
          define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

        FOUND:
          extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
          extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
          define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]

      /bin/sh: svnversion: command not found
      non-existing path in 'numpy/distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
      customize UnixCCompiler
        libraries mkl_rt not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_lapack_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      openblas_clapack_info:
      customize UnixCCompiler
      customize UnixCCompiler
        libraries openblas,lapack not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      flame_info:
      customize UnixCCompiler
        libraries flame not found in ['/Users/redacted/ChildProjectVenv/lib', '/usr/local/lib', '/usr/lib']
        NOT AVAILABLE

      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries lapack_atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries tatlas,tatlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries tatlas,tatlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      customize UnixCCompiler
        libraries tatlas,tatlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE

      atlas_3_10_info:
      customize UnixCCompiler
        libraries lapack_atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries satlas,satlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries satlas,satlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      customize UnixCCompiler
        libraries satlas,satlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_3_10_info'>
        NOT AVAILABLE

      atlas_threads_info:
      Setting PTATLAS=ATLAS
      customize UnixCCompiler
        libraries lapack_atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      customize UnixCCompiler
        libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE

      atlas_info:
      customize UnixCCompiler
        libraries lapack_atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in /Users/redacted/ChildProjectVenv/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in /usr/local/lib
      customize UnixCCompiler
        libraries lapack_atlas not found in /usr/lib
      customize UnixCCompiler
        libraries f77blas,cblas,atlas not found in /usr/lib
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE
(ChildProjectVenv) redacted@CHD-30004 ~ %                                                               
lucasgautheron commented 2 years ago

I suggest to:

  1. Follow the instructions here: https://github.com/scipy/scipy/issues/13102#issuecomment-850882851
  2. then delete the environment (rm -rf ~/ChildProjectVenv)
  3. Then re-create it and re-install:
    python3 -m venv ~/ChildProjectVenv
    source ~/ChildProjectVenv/bin/activate
    pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git

If that does not work, another proposed solution is to replace all of the previous steps by the following:

  1. brew install scipy
  2. deactivate
  3. pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git

and if you are having permission issues still:

rm -rf ~/ChildProjectVenv
python3 -m venv ~/ChildProjectVenv
source ~/ChildProjectVenv/bin/activate
pip3 install git+https://github.com/LAAC-LSCP/ChildProject.git
marisacasillas commented 2 years ago

Thanks @lucasgautheron! Unfortunately I still am not able to install. Please see the attached error output (solution1 = trying to follow the linked instructions at the top of your comment; solution2 = your "If that does not work" suggestion below that). I am not getting to the point of installing the virtual env. Thanks in advance for any additional advice you may have! (note that deactivate didn't do anything for me on the second solution)

error_output-mcasillas-20210924-solution1.txt error_output-mcasillas-20210924-solution2.txt

lucasgautheron commented 2 years ago

Hello,

Thank you for trying; It seems like there's a lot of people encountering similar issues, e.g. : https://github.com/scipy/scipy/issues/13409 or https://stackoverflow.com/questions/61365790/error-could-not-build-wheels-for-scipy-which-use-pep-517-and-cannot-be-installe There's a chance the problem might be solvable by trial and error... I would suggest to try :

brew install lapack
pip3 install --upgrade pip
pip3 install scipy

If that fails, maybe we'll have to dive into https://github.com/scipy/scipy/issues/13409 what is your version of MacOS by the way? which architecture too?

alecristia commented 2 years ago

hi all, just to let you know, I've also been getting this wheel's failure error, as has Camila when I was walking her through installation last week, both on mac. We just continued and everything we've done with the package so far has worked. So perhaps one can just power through this one? (I do admit there was one operation, I don't remember which, where the output said something like "using XXX because wheels not available" -- so this may compromise reproducibility)

lucasgautheron commented 2 years ago

Hi,

Unfortunately I don't think so. If you look at Camila's logs, you can see that pip install ignores or overcomes the errors by itself. Here, it won't even proceed to the installation, it fails during the collection phase (apparently).

orasanen commented 2 years ago

I also encountered this problem with Python 3.8.8. I was able to circumvent the problem by creating a conda environment with Python 3.6 instead, after which pip3 install ChildProject went all smoothly.

I'm running MacOS 11.16

lucasgautheron commented 2 years ago

Thanks for the feedback!

I am in the process of creating a conda recipe for the package; however, there are still a few dependencies that are not available through conda, so I don't expect it to happen very soon!

In the meantime, this suggests a potential solution to @Marisa Casillas @.***>

However, I am not which the features of the package are supported on (Mac, python 3.6); only 3.7+ is 'guaranteed' to work through automated tests on Linux and Mac.

Le lun. 4 oct. 2021 à 12:02, orasanen @.***> a écrit :

I also encountered this problem with Python 3.8.8. I was able to circumvent the problem by creating a conda environment with Python 3.6 instead, after which pip3 install ChildProject went all smoothly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LAAC-LSCP/ChildProject/issues/286#issuecomment-933331708, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI4QHQ3CWSSVDUD33YWCB3UFF3UTANCNFSM5ECZB7KA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Lucas Gautheron 06 79 23 86 47

Laboratoire de Sciences Cognitives et Psycholinguistique Bureau 414 - 29 rue d'Ulm 75005 Paris

lucasgautheron commented 2 years ago

@marisacasillas, would you like to try these installation instructions ?

https://childproject.readthedocs.io/en/latest/install.html#macos-users

marisacasillas commented 2 years ago

🙌 I was able to install! I had to build git-annex, as in brew install --build-from-source git-annex but otherwise it seems to be good! I haven't yet had time to try and install a dataset or play around in GIN but I am hopeful now :)

Thank you!

lucasgautheron commented 2 years ago

Great news!

Thanks for the tip about git-annex. Added that to the FAQs.