GithubHelp home page GithubHelp logo

Comments (10)

bdpedigo avatar bdpedigo commented on June 11, 2024 1

before updating anything, would you mind telling us what versions of numpy and POT you have? If we are incompatable with particular versions of those packages I'd like to know it. Thanks!

from graspologic.

bdpedigo avatar bdpedigo commented on June 11, 2024 1

Thanks for the info, @aurorarossi. Unfortunately I haven't been able to replicate #998 yet myself so I am unsure what to recommend yet (and it looks like an error with an upstream dependency).

We don't officially support Python 3.10 yet (since we haven't tested and there may be random issues like this). Just to get you working for now, I would suggest a clean environment with Python 3.9 and see if that works for you? Please let me know if not.

from graspologic.

bdpedigo avatar bdpedigo commented on June 11, 2024

hi @aurorarossi - I just tried the code you suggested with the most recent version of graspologic and POT, and it worked fine for me. you could try making sure both of those packages are up to date. do you know what version of POT you have installed when this is breaking?

from graspologic.

aurorarossi avatar aurorarossi commented on June 11, 2024

POT version = 0.8.2 (last version)
numpy version = 1.21.6 (which is the last version compatible with python 3.7)
Updating python to version 3.10 I have the same problem of issue #998.
Thanks for the quick answer!

from graspologic.

bdpedigo avatar bdpedigo commented on June 11, 2024

@aurorarossi also, what platform (e.g. mac, windows, linux) are you on?

from graspologic.

aurorarossi avatar aurorarossi commented on June 11, 2024

Until yesterday I used linux, but unfortunately my computer had some problems and from tomorrow I will use mac for a while

from graspologic.

aurorarossi avatar aurorarossi commented on June 11, 2024

I tried to install graspologic on Mac with python 3.9 but when I run

from graspologic.match import graph_match

this happens and I do not know how to solve it

  File "/opt/anaconda3/envs/faqgraph/lib/python3.9/site-packages/numba-0.56.4-py3.9-macosx-10.9-x86_64.egg/numba/core/dispatcher.py", line 863, in enable_caching
    self._cache = FunctionCache(self.py_func)
  File "/opt/anaconda3/envs/faqgraph/lib/python3.9/site-packages/numba-0.56.4-py3.9-macosx-10.9-x86_64.egg/numba/core/caching.py", line 601, in __init__
    self._impl = self._impl_class(py_func)
  File "/opt/anaconda3/envs/faqgraph/lib/python3.9/site-packages/numba-0.56.4-py3.9-macosx-10.9-x86_64.egg/numba/core/caching.py", line 337, in __init__
    raise RuntimeError("cannot cache function %r: no locator available "
RuntimeError: cannot cache function '_center_distmat': no locator available for file '/opt/anaconda3/envs/faqgraph/lib/python3.9/site-packages/hyppo-0.3.2-py3.9.egg/hyppo/independence/dcorr.py'

from graspologic.

bdpedigo avatar bdpedigo commented on June 11, 2024

@aurorarossi would you be able to make a fresh python 3.9 virtual environment (with nothing installed), try pip install graspologic, and then post the full console output here? this issue sounds like something did not get installed correctly

from graspologic.

aurorarossi avatar aurorarossi commented on June 11, 2024

@bdpedigo I created a fresh python 3.9 env on my mac, pip install graspologic run smoothly and also the function graph_match with the parameter transport=True worked! Thanks a lot!

from graspologic.

bdpedigo avatar bdpedigo commented on June 11, 2024

great! In that case, I will close this issue.

also, we just added Python 3.10 support officially yesterday #1010, so if you need to use that for some reason it may work now (I'd still recommend a new environment).

from graspologic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.