Comments (10)
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.
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.
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.
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.
@aurorarossi also, what platform (e.g. mac, windows, linux) are you on?
from graspologic.
Until yesterday I used linux, but unfortunately my computer had some problems and from tomorrow I will use mac for a while
from graspologic.
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.
@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.
@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.
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)
- Ensure we have a non-dev-mode install of graspologic as part of CI/CD workflow
- Audit test warnings for deprecation warnings HOT 1
- [BUG] graspologic v.2.0.1 and networkx 3.0 incompatibility leads to a crash HOT 1
- [BUG] Following the first tutorial on the documentation, first example fails due to networkx HOT 2
- Add CITATION.cff file HOT 2
- MatplotlibDeprecationWarning to address
- Numpy DeprecationWarning to address HOT 1
- Sklearn FutureWarning to address
- [BUG] What does "Spectral Vertex Nomination" implement? HOT 1
- [BUG] graspologic takes 33 seconds to import HOT 9
- [BUG] The docs do not reflect the modification of the graph_match module HOT 1
- [BUG] Numba warnings
- The whole package works with numpy matrices; why doesn't node2vec? HOT 1
- [Question] coefficient magnitude, GCT HOT 5
- [Question] Running Leiden community detection on random graph generates multiple communities HOT 3
- [BUG] SBMEstimator throws an error when "loops=False" and some block has size 1
- [Question] Is Windows 11 OS supported? HOT 1
- [BUG] Scipy deprecations causing importerrors in gensim HOT 4
- [MAINT] black formatting rules updated in 2024 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graspologic.