-
Notifications
You must be signed in to change notification settings - Fork 32
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
Comments
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~ |
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 |
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
|
I got this error. INFO: customize UnixCCompiler
note: This error originates from a subprocess, and is likely not a problem with pip. |
What version of Python are you using? |
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 |
Python 3.11.5 |
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 |
Thanks!I have successfully installed the new version! Can wait to test nautilus~ |
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 :
Thank you again |
Can you do a |
Sorry that should be |
Name: scipy |
ok try:
|
I am running python 3.10 and autolens works with scipy 1.7.3 So try |
ok now the import works. |
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.
|
Can you tell me what it says? And then try updating to 3.1.0:
|
Ok~It works now! $ pip show threadpoolctl |
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
!!
...
│ 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
The text was updated successfully, but these errors were encountered: