Regarding the actual library itself, is that already on my system or will I 
have to download lrslib again? 
On Wednesday, December 29, 2021 at 6:58:49 AM UTC-5 dim...@gmail.com wrote:

> On Wed, Dec 29, 2021 at 5:12 AM Advay Goel <adva...@gmail.com> wrote:
> >
> > Hi All,
> >
> > I use macOS Big Sur Version 11.1, and need to use the LRS Library for a 
> project:
> >
> > def getVolume(self,eng='lrs'): """ needs Sage 5.9 for 'lrs' engine """ 
> return self.poly.volume(engine=eng)*factorial(self.poly.dim())
> >
> > Currently, whenever I run this function, I get 0, and I believe it is 
> because LRS Library is not properly installed on my system (I checked using 
> this code: link and it said LRS is not present). However, this doesn't make 
> much sense to me as there is an LRS folder in my sage folder. Its location 
> is Applications>SageMath>build>pkgs>lrslib.
> >
> > Regardless, I downloaded LRS again and am trying to build Sage from 
> source.
>
> it appears you are trying to do this using a binary distribution.
> Instead, you should be using a source distribution.
> https://doc.sagemath.org/html/en/installation/source.html
>
>
> > To do that, I am running the following code:
> >
> > make configure ./configure --enable-lrslib -q make -s V=0
> >
> > However, every time I do this, the "make V=0" line fails. Specifically, 
> the package
> > Scipy-1.6.3 fails to install. I attached the error message in the log 
> file to this email and here is the message I get on terminal:
> >
> > [scipy-1.6.3] installing. Log file: 
> /Applications/SageMath/logs/pkgs/scipy-1.6.3.log
> >
> > [scipy-1.6.3] error installing, exit status 1. End of log file:
> >
> > [scipy-1.6.3] Enabled : AVX512F AVX512CD AVX512_KNL AVX512_SKX 
> AVX512_CLX AVX512_CNL AVX512_ICL
> >
> > [scipy-1.6.3] Generated : none
> >
> > [scipy-1.6.3] CCompilerOpt._cache_write[796] : write cache to path -> 
> /private/var/folders/pv/fllpf5t54kx02fh87shrw79wvdtffs/T/pip-req-build-konopatv/build/temp.macosx-11.1-x86_64-3.9/ccompiler_opt_cache_clib.py
> >
> > [scipy-1.6.3] Building wheel for scipy (PEP 517): finished with status 
> 'error'
> >
> > [scipy-1.6.3] ERROR: Failed building wheel for scipy
> >
> > [scipy-1.6.3] Failed to build scipy
> >
> > [scipy-1.6.3] ERROR: Failed to build one or more wheels
> >
> > [scipy-1.6.3] Exception information:
> >
> > [scipy-1.6.3] Traceback (most recent call last):
> >
> > [scipy-1.6.3] File 
> "/Applications/SageMath/local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py",
>  
> line 180, in _main
> >
> > [scipy-1.6.3] status = self.run(options, args)
> >
> > [scipy-1.6.3] File 
> "/Applications/SageMath/local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py",
>  
> line 204, in wrapper
> >
> > [scipy-1.6.3] return func(self, options, args)
> >
> > [scipy-1.6.3] File 
> "/Applications/SageMath/local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py",
>  
> line 174, in run
> >
> > [scipy-1.6.3] raise CommandError(
> >
> > [scipy-1.6.3] pip._internal.exceptions.CommandError: Failed to build one 
> or more wheels
> >
> > [scipy-1.6.3] Removed build tracker: 
> '/private/var/folders/pv/fllpf5t54kx02fh87shrw79wvdtffs/T/pip-req-tracker-my_qdfh8'
> >
> > [scipy-1.6.3] 
> ********************************************************************************
> >
> > [scipy-1.6.3] Error building a wheel for scipy-1.6.3
> >
> > [scipy-1.6.3] 
> ********************************************************************************
> >
> > [scipy-1.6.3]
> >
> > [scipy-1.6.3] real 4m19.931s
> >
> > [scipy-1.6.3] user 5m43.471s
> >
> > [scipy-1.6.3] sys 0m48.724s
> >
> > [scipy-1.6.3] 
> ************************************************************************
> >
> > [scipy-1.6.3] Error installing package scipy-1.6.3
> >
> > [scipy-1.6.3] 
> ************************************************************************
> >
> > [scipy-1.6.3] Full log file: 
> /Applications/SageMath/logs/pkgs/scipy-1.6.3.log
> >
> > make[4]: *** [scipy-SAGE_VENV-no-deps] Error 1
> >
> > make[3]: *** 
> [/Applications/SageMath/local/var/lib/sage/installed/scipy-1.6.3] Error 2
> >
> > make[2]: *** [all-start] Error 2
> >
> > real 4m46.343s
> >
> > user 5m56.467s
> >
> > sys 0m57.756s
> >
> > ***************************************************************
> >
> > Error building Sage.
> >
> > The following package(s) may have failed to build (not necessarily
> >
> > during this run of 'make all-start'):
> >
> > * package: scipy-1.6.3
> >
> > last build time: Dec 28 21:25
> >
> > log file: /Applications/SageMath/logs/pkgs/scipy-1.6.3.log
> >
> > build directory: 
> /Applications/SageMath/local/var/tmp/sage/build/scipy-1.6.3
> >
> > It is safe to delete any log files and build directories, but they
> >
> > contain information that is helpful for debugging build problems.
> >
> > WARNING: If you now run 'make' again, the build directory of the
> >
> > same version of the package will, by default, be deleted. Set the
> >
> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
> >
> > make[1]: *** [all-start] Error 1
> >
> > make: *** [all] Error 2
> >
> > Does anybody know how to fix this so that I can properly use the LRS 
> engine? Also, after downloading the lrslib file again, is there a specific 
> place I am supposed to put it in the SageMath folder to ensure it runs 
> correctly?
> >
> > Thank you so much for any help!
> >
> > --
> > 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/37268ccb-4530-453e-8246-6ea37ec71e87n%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/978c13ef-7acf-4176-9e14-3102812388b5n%40googlegroups.com.

Reply via email to