On Tue, Sep 24, 2024 at 11:32 PM Anne Schilling
<anne1.schill...@gmail.com> wrote:
>
> Ok, sorry, here is the result after
>
> make distclean
> source .homebrew-build-env
> ./bootstrap
> ./configure --enable-system-site-packages

Well, with scipy in Homebrew you need Python from Homebrew, the Python
into which site-packages it's installed.
Indeed, it appears to be fine:

configure:8842: checking for Python
configure:8845: result: /opt/homebrew/opt/python@3.12/bin/python3.12

but then

configure:90899: checking for python package scipy ('scipy >=1.5')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File 
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py",
line 886, in require
    needed = self.resolve(parse_requirements(requirements))
  File 
"/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py",
line 772, in resolve

a wrong Python kicks in.
Probably you need "make distclean" indeed, sorry.
(I'd also check that you don't have some PYTHONPATH or something like
this is set)



> On Tuesday, September 24, 2024 at 3:22:06 PM UTC-7 John H Palmieri wrote:
>>
>> On Tuesday, September 24, 2024 at 3:19:07 PM UTC-7 dim...@gmail.com wrote:
>>
>> From the log:
>>
>> ./configure --enable-system-site-packagesls (SIC!)
>>
>>
>> ## Checking whether SageMath should install SPKG scipy... ##
>> ## ------------------------------------------------------ ##
>> configure:90867: checking whether any of openblas is installed as or
>> will be installed as SPKG
>> configure:90877: result: no
>> configure:90881: checking if --enable-system-site-packages was used
>> configure:90939: result: no; skipping check
>> configure:90976: no suitable system package found for SPKG scipy
>>
>> So please run
>>
>> ./configure --enable-system-site-packages
>>
>> without a typo.
>>
>>
>> And it might not hurt to first run "make distclean" before doing everything 
>> else (in case you're not already doing this).
>>
>> --
>> John
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/51990537-59a2-4fce-9993-b322ada6c10fn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3E6XfXSCSOqYK-ZrS8CWjAn6decBmHs6Oj34gUxvRPRA%40mail.gmail.com.

Reply via email to