PyAutoLens: can't install autolens via pip using jupiter notebook
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](file:///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](file:///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
About this issue
- Original URL
- State: open
- Created 9 months ago
- Comments: 20 (11 by maintainers)
ok now the import works. Thank you!
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