Hi Andrey, Thank you for installing pyforest.
I'm not clear how lazypredict can be used in the way you suggested. For the Snappy package, I think the solution is to uninstall the current Snappy and install the one in question (python-snappy) using the suggested approach. Python-snappy seems to impact many codes even a simple import as this one, import plotly.express as px will raise an error "AttributeError: module 'snappy' has no attribute 'compress'". Or maybe it is time to consider Python virtual environment/virtualenvwrapper ( https://www.tssfl.com/python-virtual-environments-virtualenv-5558) or something similar to separate various packages and their dependencies. Kind regards, Elimboto On Mon, Apr 19, 2021 at 11:17 PM Andrey Novoseltsev <novos...@gmail.com> wrote: > I've installed pyforest > > lazypredict requires fixed (and old) versions of many packages, so it > breaks other installations. Those who need it should bug developers to use > >= for versions, not == ;-) > > On Fri, Apr 16, 2021 at 5:20 AM Elimboto Yohana <e...@tssfl.co> wrote: > >> Hi Andrey, >> >> Someone requested the installation of the Python Packages, pyforest ( >> https://pypi.org/project/pyforest/) and lazypredict ( >> https://pypi.org/project/lazypredict/): >> >> pip3 install pyforest and pip3 install lazypredict >> >> shall that be possible. >> >> They are using them to study machine learning models. >> >> Kind regards. >> >> Elimboto >> >> >> On Fri, Apr 16, 2021 at 11:19 AM Elimboto Yohana <e...@tssfl.co> wrote: >> >>> Hi Andrey, >>> >>> I just found that there are two Python-related snappy packages - both >>> are useful packages, the first one is "for studying the topology and >>> geometry of 3-manifolds, with a focus on hyperbolic structures" -- >>> https://snappy.math.uic.edu/, see installation method, >>> https://pypi.org/project/snappy/ >>> >>> This is one currently installed, you can verify this by: >>> >>> import snappy >>> print(snappy.__version__) >>> print(snappy.__file__) >>> print(dir(snappy)) >>> >>> The second one is used by a number of Python packages for compression, >>> "Python library for the snappy compression library from Google ( >>> http://google.github.io/snappy/)": >>> https://pypi.org/project/python-snappy/ and can be installed as >>> >>> sudo apt-get install libsnappy-dev (or similar method) >>> followed by >>> pip3 install python-snappy >>> It seems that you need to uninstall python-snappy and reinstall it >>> following the order above, see >>> https://stackoverflow.com/questions/48535799/module-snappy-has-no-attribute-decompress >>> >>> Kind regards, >>> >>> Elimboto >>> >>> >>> On Tue, Apr 6, 2021 at 12:10 PM Elimboto Yohana <e...@tssfl.co> wrote: >>> >>>> Hi Andrey, >>>> >>>> Thank you for implementing my requests. But, re-installing the snappy >>>> package in the suggested way did not solve an issue. I tried to narrow down >>>> the source of the problem and found that importing either xarray or >>>> nbodykit.lab: >>>> >>>> import nbodykit.lab >>>> import xarray as xr >>>> >>>> is the source of "AttributeError: module 'snappy' has no attribute >>>> 'compress'". >>>> >>>> The previous versions had no issues. >>>> >>>> Kind regards, >>>> >>>> Elimboto >>>> >>>> On Tue, Apr 6, 2021 at 12:42 AM Andrey Novoseltsev <novos...@gmail.com> >>>> wrote: >>>> >>>>> It seems that the snappy package is missing, and I request >>>>>> installation: pip3 install python-snappy (see the discussion here >>>>>> https://github.com/dask/fastparquet/issues/459) >>>>>> >>>>> Done! >>>>> >>>>>> Can I request whitelisting our forum URL: https://www.tssfl.com? >>>>>> Sometimes we upload files that can be read directly from it. >>>>>> >>>>> Done! >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "sage-cell" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to sage-cell+unsubscr...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/sage-cell/729dd9ce-f4ba-4559-a95f-52f70b77ca4en%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/sage-cell/729dd9ce-f4ba-4559-a95f-52f70b77ca4en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- > You received this message because you are subscribed to the Google Groups > "sage-cell" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-cell+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cell/CAD0_dC66TVx3yToeBiWgsTdaHzUVVZsk-xgs9LTWE1snVYOqRg%40mail.gmail.com > <https://groups.google.com/d/msgid/sage-cell/CAD0_dC66TVx3yToeBiWgsTdaHzUVVZsk-xgs9LTWE1snVYOqRg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CACEZTmt0utSu3FFPKxdRg9-9vYhfF4ovYUwGG_dhuT2b5JS4yg%40mail.gmail.com.