also my git branches I am working on would be lost if I wiped everything. 

On Saturday, February 27, 2021 at 1:50:18 PM UTC-6 brettpim wrote:

> make bootstrap-clean distclean  did not solve the problem.  I have 
> considered removing python3 from my system and reinstalling it but there 
> are so many other things I have that depend on python3 and would be 
> removed.  I don't want to have to reinstall such a huge list.  I am not 
> sure what to do next.  One thought is to delete my entire sage directory 
> and pull it afresh but I am not sure this will address the issue that blas 
> is not being found properly.
>
>
> On Saturday, February 27, 2021 at 11:18:04 AM UTC-6 brettpim wrote:
>
>> DIma,
>>
>> I found that pip installs in /usr/local when it is run as sudo.  I have 
>> not found anything definitive that says it should not be run as sudo but 
>> just in case I sudo pip uninstalled all the packages in /usr/local and pip 
>> installed them as a user which puts them all in $HOME/.local.  But even 
>> after this there something is still wrong with my numpy install and I am 
>> still working on.
>>
>> While I am investigating my numpy problem I will try the serious clean-up 
>> you suggest.  My build was an attempt at a re-build after a git pull so the 
>> clean-up is justified.  I will report back
>>
>> thanks
>> brett
>> On Saturday, February 27, 2021 at 2:06:03 AM UTC-6 dim...@gmail.com 
>> wrote:
>>
>>> On Sat, Feb 27, 2021 at 4:07 AM brettpim <br...@math.carleton.ca> 
>>> wrote: 
>>> > 
>>> > /usr/local/ is where pip has installed my python packages so don't 
>>> these files belong here? 
>>> > 
>>> > 
>>> > On Friday, February 26, 2021 at 5:20:03 PM UTC-6 dim...@gmail.com 
>>> wrote: 
>>> >> 
>>> >> looks like you have a copy of (c)blas in /usr/local - and this leads 
>>> to trouble 
>>>
>>> oops, sorry, it's a wrong guess, I suppose. 
>>>
>>> What is the branch you are installing? master from github, which is Sage 
>>> 9.2 ? 
>>> Or the development branch, 9.3.beta7? 
>>>
>>> Was it an attempt to re-build after git pull,or a fresh install? 
>>> Fresh install should work, but for an update, you might need a serious 
>>> clean-up: 
>>>
>>> make bootstrap-clean distclean 
>>>
>>> Sage has a bit fragile system of re-creating missing .pc files for 
>>> (c)blas/lapack, and 
>>> recent changes in the build system might have confused it (so that's 
>>> why a fresh rebuild 
>>> might be needed) 
>>>
>>>
>>> >> 
>>> >> On Fri, 26 Feb 2021, 21:57 brettpim, <br...@math.carleton.ca> wrote: 
>>> >>> 
>>> >>> 
>>> >>> I am trying to install sage from the master branch on PC running 
>>> Ubuntu 20.04. 
>>> >>> The make is failing to build numpy-1.19.1. 
>>> >>> It is complaining about not finding cblas or blas. 
>>> >>> 
>>> >>> In my config.log it finds openblas and so decides it will not 
>>> install is as SPKG 
>>> >>> 
>>> >>> but when I run python3: 
>>> >>> >>> import numpy 
>>> >>> >>> numpy.show_config() 
>>> >>> 
>>> >>> it reports 
>>> >>> 
>>> >>> blas_info: 
>>> >>> libraries = ['blas', 'blas'] 
>>> >>> library_dirs = ['/usr/lib/x86_64-linux-gnu'] 
>>> >>> include_dirs = ['/usr/local/include', '/usr/include'] 
>>> >>> language = c 
>>> >>> define_macros = [('HAVE_CBLAS', None)] 
>>> >>> blas_opt_info: 
>>> >>> define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] 
>>> >>> libraries = ['blas', 'blas'] 
>>> >>> library_dirs = ['/usr/lib/x86_64-linux-gnu'] 
>>> >>> include_dirs = ['/usr/local/include', '/usr/include'] 
>>> >>> language = c 
>>> >>> 
>>> >>> which makes me think there is something wrong with blas. 
>>> >>> 
>>> >>> -- 
>>> >>> 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+...@googlegroups.com. 
>>> >>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-devel/a8054ce0-69ee-4537-80ed-f51ced0f7c8cn%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+...@googlegroups.com. 
>>> > To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-devel/4c7f11e6-246d-4f58-b6d2-dfcbaf0b284bn%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/748a2a1b-f16f-4b11-b6c5-41580959bbcbn%40googlegroups.com.

Reply via email to