Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install autolens via pip using jupiter notebook #230

Open
AndreaDosiUniversity opened this issue Sep 17, 2023 · 20 comments
Open

can't install autolens via pip using jupiter notebook #230

AndreaDosiUniversity opened this issue Sep 17, 2023 · 20 comments

Comments

@AndreaDosiUniversity
Copy link

AndreaDosiUniversity commented Sep 17, 2023

Hello.
When I try to install autolens via pip, using jupiter notebook (on a Windows operating system) I incur in the following error. I am using the Python 3.10.3 version.

`Collecting autolens
Obtaining dependency information for autolens from https://files.pythonhosted.org/packages/f4/b5/d9ae41938cbe727dcd18ba8c95a1a76f20dc0f7eefec357326ba46436e44/autolens-2023.7.5.2-py3-none-any.whl.metadata
Using cached autolens-2023.7.5.2-py3-none-any.whl.metadata (9.0 kB)
Collecting autoarray==2023.7.5.2 (from autolens)
Obtaining dependency information for autoarray==2023.7.5.2 from https://files.pythonhosted.org/packages/37/23/a8ee117a23b2f029beefd2394a833ae702f52f1e14e9c675158581aa81a9/autoarray-2023.7.5.2-py3-none-any.whl.metadata
Using cached autoarray-2023.7.5.2-py3-none-any.whl.metadata (1.3 kB)
Collecting autoconf==2023.7.5.2 (from autolens)
Obtaining dependency information for autoconf==2023.7.5.2 from https://files.pythonhosted.org/packages/e7/7d/80b3b963c075ce2f9bdd643d42859101464abc2f7545400637f1a24a26f3/autoconf-2023.7.5.2-py3-none-any.whl.metadata
Using cached autoconf-2023.7.5.2-py3-none-any.whl.metadata (877 bytes)
Collecting autofit==2023.7.5.2 (from autolens)
Obtaining dependency information for autofit==2023.7.5.2 from https://files.pythonhosted.org/packages/03/89/a17b114fcaf69a61d4ed6262d22d3aa6c1328db79a74cbe70aa4feb217ae/autofit-2023.7.5.2-py3-none-any.whl.metadata
Using cached autofit-2023.7.5.2-py3-none-any.whl.metadata (9.5 kB)
Collecting autogalaxy==2023.7.5.2 (from autolens)
Obtaining dependency information for autogalaxy==2023.7.5.2 from https://files.pythonhosted.org/packages/b3/0b/34d48d3d31d96bd66d4e37bf2715841cd87c2c395ba0f2360465bee06d19/autogalaxy-2023.7.5.2-py3-none-any.whl.metadata
Using cached autogalaxy-2023.7.5.2-py3-none-any.whl.metadata (8.5 kB)
Collecting astropy>=5.0 (from autoarray==2023.7.5.2->autolens)
Obtaining dependency information for astropy>=5.0 from https://files.pythonhosted.org/packages/63/2c/5d2ad94e2d0bbdb6e1375549365f0bce3322c1f0f73853553ab9b3479819/astropy-5.3.3-cp310-cp310-win_amd64.whl.metadata
Using cached astropy-5.3.3-cp310-cp310-win_amd64.whl.metadata (9.6 kB)
Requirement already satisfied: decorator>=4.0.0 in c:\users\andre\dottorato\hypermetalearning.conda\lib\site-packages (from autoarray==2023.7.5.2->autolens) (5.1.1)
Collecting dill>=0.3.1.1 (from autoarray==2023.7.5.2->autolens)
Obtaining dependency information for dill>=0.3.1.1 from https://files.pythonhosted.org/packages/f5/3a/74a29b11cf2cdfcd6ba89c0cecd70b37cd1ba7b77978ce611eb7a146a832/dill-0.3.7-py3-none-any.whl.metadata
Using cached dill-0.3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting matplotlib>=3.3.0 (from autoarray==2023.7.5.2->autolens)
Obtaining dependency information for matplotlib>=3.3.0 from https://files.pythonhosted.org/packages/7a/94/a1615bac6706eb8a58fe08675b80a11b5463ef9591176dd3e57257495774/matplotlib-3.8.0-cp310-cp310-win_amd64.whl.metadata
Using cached matplotlib-3.8.0-cp310-cp310-win_amd64.whl.metadata (5.9 kB)
...
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [62 lines of output]
C:\Users\andre\AppData\Local\Temp\pip-build-env-6ib1lq5t\overlay\Lib\site-packages\setuptools\config\setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg
!!

          ********************************************************************************
          The license_file parameter is deprecated, use license_files instead.
  
          By 2023-Oct-30, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
  
          See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
          ********************************************************************************
  
  !!
    parsed = self.parsers.get(option_name, lambda x: x)(value)
  running egg_info
  writing lib3\PyYAML.egg-info\PKG-INFO
  writing dependency_links to lib3\PyYAML.egg-info\dependency_links.txt
  writing top-level names to lib3\PyYAML.egg-info\top_level.txt
  Traceback (most recent call last):
    File "c:\Users\andre\dottorato\HyperMetaLearning\.conda\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>

...
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.`

Thanks a lot

@Troy9748
Copy link

HI~ I also get this error. This is due to the specific version of PyYAML required by autolens7.5.2. You should pip install autolens like this: pip install --no-deps autolens. And use "pip check" to check dependency and then install them separately with “--no-deps” except PyYAML. Finally pip install PyYAML==6.0 . It should be fixed~

@Jammy2211
Copy link
Owner

Thank you Troy9748 for the solution! Please let me know Andrea if this fixes the problem or not.

I am working on a new release to fix this via pip properly.. I will post here once its up.

@Jammy2211
Copy link
Owner

Please could you try the new release of autolens and let me know if you have any issues:

https://github.com/Jammy2211/PyAutoLens/releases/tag/2023.9.18.4

pip install autolens==2023.9.18.4

@Troy9748
Copy link

Please could you try the new release of autolens and let me know if you have any issues:

https://github.com/Jammy2211/PyAutoLens/releases/tag/2023.9.18.4

pip install autolens==2023.9.18.4

I got this error.

INFO: customize UnixCCompiler
WARN: #### ['clang', '-DNDEBUG', '-fwrapv', '-O2', '-Wall', '-fPIC', '-O2', '-isystem', '/Users/mac/anaconda3/envs/autolens_test/include', '-fPIC', '-O2', '-isystem', '/Users/mac/anaconda3/envs/autolens_test/include'] #######
INFO: customize UnixCCompiler using build_clib
INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-march=native)
INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math

  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils
  creating /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks
  INFO: compile options: '-c'
  extra options: '-march=native'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -march=native) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-O3)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-O3'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -O3) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-Werror=switch)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-Werror=switch'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -Werror=switch) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-Werror)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-Werror'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.__init__[1794] : check requested baseline
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-msse)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-msse'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -msse) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-msse2)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-msse2'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -msse2) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'SSE' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'SSE2' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse2.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse2.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse2.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.__init__[1803] : check requested dispatch-able features
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-msse3)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-msse3'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -msse3) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mssse3)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mssse3'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mssse3) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-msse4.1)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-msse4.1'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -msse4.1) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mpopcnt)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mpopcnt'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mpopcnt) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-msse4.2)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-msse4.2'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -msse4.2) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mavx)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mavx'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mavx) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'AVX' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mf16c)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mf16c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mf16c) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mfma)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mfma'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mfma) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mavx2)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mavx2'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mavx2) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mavx512f -mno-mmx)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mavx512f -mno-mmx'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512f -mno-mmx) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.cc_test_flags[1085] : testing flags (-mavx512cd)
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  extra options: '-mavx512cd'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512cd) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.cc_test_flags[1089] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'AVX512CD' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx512cd.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx512cd.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_avx512cd.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'SSE42' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse42.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse42.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_sse42.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.feature_test[1559] : testing feature 'SSSE3' with flags ()
  INFO: C compiler: clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math
  
  INFO: compile options: '-c'
  WARN: CCompilerOpt.dist_test[636] : CCompilerOpt._dist_test_spawn[770] : Command (clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -fPIC -O2 -isystem /Users/mac/anaconda3/envs/autolens_test/include -ftrapping-math -c /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_ssse3.c -o /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_ssse3.o -MMD -MF /var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/tmpsccvu_5v/private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-build-env-tqpr7yez/overlay/lib/python3.11/site-packages/numpy/distutils/checks/cpu_ssse3.o.d) failed with exit status 1 output ->
  xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
  
  WARN: CCompilerOpt.feature_test[1575] : testing failed
  INFO: CCompilerOpt.__init__[1819] : initialize targets groups
  INFO: CCompilerOpt.__init__[1821] : parse target group simd_test
  INFO: CCompilerOpt._parse_target_tokens[2032] : skip targets (NEON ASIMD SSE2 XOP VSX VXE2 VXE (FMA3 AVX2) AVX512F SSE42 VSX4 VSX3 AVX512_SKX VX FMA4 VSX2) not part of baseline or dispatch-able features
  INFO: CCompilerOpt.generate_dispatch_header[2365] : generate CPU dispatch header: (build/src.macosx-10.9-x86_64-3.11/numpy/distutils/include/npy_cpu_dispatch_config.h)
  WARN: CCompilerOpt.generate_dispatch_header[2374] : dispatch header dir build/src.macosx-10.9-x86_64-3.11/numpy/distutils/include does not exist, creating it
  INFO: building 'mach' library
  error: library mach has Fortran sources but no Fortran compiler found
  INFO:
  ########### CLIB COMPILER OPTIMIZATION ###########
  INFO: Platform      :
    Architecture: x64
    Compiler    : clang
  
  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none
  
  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[863] : write cache to path -> /private/var/folders/yv/w59wcbys51qcdprf8pgzr9140000gn/T/pip-install-swxcfc7x/scipy_9827642c15db419fa387a96f6c746c68/build/temp.macosx-10.9-x86_64-3.11/ccompiler_opt_cache_clib.py
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scipy
Building wheel for future (setup.py) ... done
Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492024 sha256=cca6dc3689aff5987085f54f49e29cf9412f1eedce1b018ecd54ce17058001d2
Stored in directory: /Users/mac/Library/Caches/pip/wheels/da/19/ca/9d8c44cd311a955509d7e13da3f0bea42400c469ef825b580b
Successfully built SQLAlchemy timeout-decorator future
Failed to build xxhash scikit-image scipy
ERROR: Could not build wheels for xxhash, scikit-image, scipy, which is required to install pyproject.toml-based projects

@Jammy2211
Copy link
Owner

What version of Python are you using?

@Jammy2211
Copy link
Owner

Ok, you are on Python 3.11, which autolens does not support yet (I am hoping to add this this week, but probably won't be quick).

Are you able to use a conda enviroment with Python 3.10?

@Troy9748
Copy link

What version of Python are you using?

Python 3.11.5

@Jammy2211
Copy link
Owner

Based on your comment above you did eventually get it working with PYthon 3.11 (I guess theres no reason it shouldnt work once you're past dependency issues).

So feel free to update via that if you know how...

Strongly recommend you do update as nautilus is awesome!

@Troy9748
Copy link

Based on your comment above you did eventually get it working with PYthon 3.11 (I guess theres no reason it shouldnt work once you're past dependency issues).

So feel free to update via that if you know how...

Strongly recommend you do update as nautilus is awesome!

Thanks!I have successfully installed the new version! Can wait to test nautilus~

@AndreaDosiUniversity
Copy link
Author

Using the last release I don't have installation problems now (I have Python 3.10.13). But I have the following error when I try to import autolens :

ImportError: cannot import name '_get_dtype' from 'scipy.sparse.linalg.interface' (c:\Users\andre\dottorato\HyperMetaLearning\.conda\lib\site-packages\scipy\sparse\linalg\interface.py)

Thank you again

@Jammy2211
Copy link
Owner

Can you do a pip install scipy and paste it here please, I suspect you're on too recent a version.

@Jammy2211
Copy link
Owner

Sorry that should be pip show scipy.

@AndreaDosiUniversity
Copy link
Author

AndreaDosiUniversity commented Sep 18, 2023

Name: scipy
Version: 1.11.2
Yes It is the last one.
Have I downgrade the scipy version?

@Jammy2211
Copy link
Owner

ok try:

pip uninstall scipy
pip install scipy==1.10.0

@Jammy2211
Copy link
Owner

Jammy2211 commented Sep 18, 2023

I am running python 3.10 and autolens works with scipy 1.7.3

So try pip install scipy==1.7.3 after that if you still have an issue.

@AndreaDosiUniversity
Copy link
Author

ok now the import works.
Thank you!

@Jammy2211
Copy link
Owner

Great, I'll leave this open for a bit in case you have any other issues crop up :)

@Troy9748
Copy link

Great, I'll leave this open for a bit in case you have any other issues crop up :)

Hi, James! I try to use af.Nautilus rather than af.DynestyStatic and got this error:

2023-09-22 15:21:25,513 - autolens.interferometer.model.analysis - INFO - PRELOADS - Setting up preloads, may take a few minutes for fits using an inversion.
2023-09-22 15:21:25,514 - autogalaxy.analysis.analysis - INFO - PRELOADS - Setting up preloads, may take a few minutes for fits using an inversion.
2023-09-22 15:21:26,012 - autogalaxy.analysis.preloads - INFO - PRELOADS - Preloading failed as models gave too many exceptions, preloading therefore not used.
2023-09-22 15:21:26,015 - mass[sie]_source[bulge] - INFO - The output path of this fit is /home/liuxh/autolens_workspace-2023.7.5.2/output/interferometer/simple/mass[sie]_source[bulge]/e4d2008487b4f30db20c82ceb38496dd
2023-09-22 15:21:26,016 - mass[sie]_source[bulge] - INFO - Outputting pre-fit files (e.g. model.info, visualization).
2023-09-22 15:21:28,957 - mass[sie]_source[bulge] - INFO - Starting new Nautilus non-linear search (no previous samples found).
2023-09-22 15:21:28,960 - mass[sie]_source[bulge] - INFO - number of cores == 1
2023-09-22 15:21:28,961 - mass[sie]_source[bulge] - INFO - Creating multiprocessing Pool of size 1...
2023-09-22 15:21:28,963 - autofit.non_linear.parallel.sneaky - INFO - ... using multiprocessing

AttributeError Traceback (most recent call last)
Cell In[12], line 1
----> 1 result = search.fit(model=model, analysis=analysis)

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/autofit/non_linear/search/abstract_search.py:527, in NonLinearSearch.fit(self, model, analysis, info, bypass_nuclear_if_on)
520 self.pre_fit_output(
521 analysis=analysis,
522 model=model,
523 info=info,
524 )
526 if not self.paths.is_complete:
--> 527 result = self.start_resume_fit(
528 analysis=analysis,
529 model=model,
530 )
531 else:
532 result = self.result_via_completed_fit(
533 analysis=analysis,
534 model=model,
535 )

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/autofit/non_linear/search/abstract_search.py:643, in NonLinearSearch.start_resume_fit(self, analysis, model)
640 self.timer.start()
642 model.freeze()
--> 643 self._fit(
644 model=model,
645 analysis=analysis,
646 )
647 samples = self.perform_update(
648 model=model, analysis=analysis, during_analysis=False
649 )
651 result = analysis.make_result(
652 samples=samples,
653 )

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/autofit/non_linear/search/nest/nautilus/search.py:137, in Nautilus._fit(self, model, analysis)
135 else:
136 if not self.using_mpi:
--> 137 self.fit_multiprocessing(fitness=fitness, model=model, analysis=analysis)
138 else:
139 self.fit_mpi(fitness=fitness, model=model, analysis=analysis)

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/autofit/non_linear/search/nest/nautilus/search.py:230, in Nautilus.fit_multiprocessing(self, fitness, model, analysis)
204 """
205 Perform the non-linear search, using multiple CPU cores parallelized via Python's multiprocessing module.
206
(...)
222 the log likelihood the search maximizes.
223 """
224 with self.make_sneakier_pool(
225 fitness_function=fitness.call,
226 prior_transform=prior_transform,
227 fitness_args=(model, fitness.call),
228 prior_transform_args=(model,),
229 ) as pool:
--> 230 sampler = self.sampler_cls(
231 prior=pool.prior_transform,
232 likelihood=pool.fitness,
233 n_dim=model.prior_count,
234 filepath=self.checkpoint_file,
235 pool=pool,
236 **self.config_dict_search
237 )
239 if os.path.exists(self.checkpoint_file):
241 self.output_sampler_results(sampler=sampler)

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/autofit/non_linear/search/nest/nautilus/search.py:146, in Nautilus.sampler_cls(self)
143 @Property
144 def sampler_cls(self):
145 try:
--> 146 from nautilus import Sampler
147 return Sampler
148 except ModuleNotFoundError:

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/nautilus/init.py:3
1 """Neural Network-Boosted Importance Sampling for Bayesian Statistics"""
----> 3 from .sampler import Sampler
4 from .prior import Prior
6 author = 'Johannes U. Lange'

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/nautilus/sampler.py:17
14 from threadpoolctl import threadpool_limits
15 from tqdm import tqdm
---> 17 from .bounds import UnitCube, NautilusBound
20 def initialize_worker(likelihood):
21 """Initialize a worker for likelihood evaluations.
22
23 Parameters
(...)
26 Likelihood function that each worker will evaluate.
27 """

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/nautilus/bounds/init.py:4
1 """Modules implementing various multi-dimensional bounds."""
3 from .basic import UnitCube, Ellipsoid, UnitCubeEllipsoidMixture
----> 4 from .neural import NeuralBound, NautilusBound
5 from .union import Union
7 all = ['UnitCube', 'Ellipsoid', 'UnitCubeEllipsoidMixture', 'Union',
8 'NeuralBound', 'NautilusBound']

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/nautilus/bounds/neural.py:10
8 from .basic import Ellipsoid, UnitCubeEllipsoidMixture
9 from .union import Union
---> 10 from ..neural import NeuralNetworkEmulator
13 class NeuralBound():
14 """Neural network-based bound.
15
16 Attributes
(...)
27 bound.
28 """

File ~/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages/nautilus/neural.py:10
6 from sklearn.neural_network import MLPRegressor
7 from threadpoolctl import threadpool_limits
---> 10 @threadpool_limits.wrap(limits=1)
11 def train_network(x, y, neural_network_kwargs, random_state):
12 """Train a network.
13
14 Parameters
(...)
29
30 """
31 return MLPRegressor(
32 random_state=random_state, **neural_network_kwargs).fit(x, y)

AttributeError: type object 'threadpool_limits' has no attribute 'wrap'

@Jammy2211
Copy link
Owner

pip show threadpoolctl

Can you tell me what it says? And then try updating to 3.1.0:

pip install threadpoolctl==3.1.0

@Troy9748
Copy link

pip show threadpoolctl

Can you tell me what it says? And then try updating to 3.1.0:

pip install threadpoolctl==3.1.0

Ok~It works now!

$ pip show threadpoolctl
Name: threadpoolctl
Version: 2.2.0
Summary: threadpoolctl
Home-page: https://github.com/joblib/threadpoolctl
Author: Thomas Moreau
Author-email: thomas.moreau.2010@gmail.com
License: BSD-3-Clause
Location: /home/liuxh/anaconda3/envs/autolens_2023918/lib/python3.10/site-packages
Requires:
Required-by: nautilus-sampler, scikit-learn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants