Comments (11)
Hi @daubin427,
Did you run this code into the GMatch4py clone directory?
from gmatch4py.
Hello!
No I ran it in a different directory. I think the problem lies where call it GMatch4py in setup.py, but no where else is that used with that punctuation.
from gmatch4py.
Did you try to run the same code in an Ipython or a python interpreter ?
from gmatch4py.
Yes. See in the last line of my post I tried running it from a python3 interpreter.
from gmatch4py.
I mean did you try to execute the code inside simpleGmatch4py.pyx
(copy-paste) in an interpreter ?
from gmatch4py.
Sadly this too fails in the same maner :(
ipython3
Python 3.6.5 (default, Apr 1 2018, 05:46:30)
Type "copyright", "credits" or "license" for more information.
IPython 5.5.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: import networkx as nx
In [2]: import gmatch4py as gm
-----------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-789a2ae4f894> in <module>()
----> 1 import gmatch4py as gm
/usr/local/lib/python3.6/dist-packages/gmatch4py/__init__.py in <module>()
2
3 # Graph Edit Distance algorithms import
----> 4 from .ged.graph_edit_dist import *
5 from .ged.greedy_edit_distance import *
6 from .ged.bipartite_graph_matching_2 import *
gmatch4py/ged/graph_edit_dist.pyx in init GMatch4py.gmatch4py.ged.graph_edit_dist()
ModuleNotFoundError: No module named 'GMatch4py'
from gmatch4py.
It is really weird oO I tried it on an Ubuntu and it's working oO
I did the same thing you did in VirtualEnv, could you run the following commands :
# if don't have virtualenv, do: sudo pip3 install virtualenv
virtualenv -p python3 test_gmatch4py
cd test_gmatch4py
source bin/activate
pip install numpy networkx scikit-learn ipython cython scipy
mkdir install
cd install
git clone https://github.com/Jacobe2169/GMatch4py.git
cd GMatch4py
python setup.py install
cd ../..
nano setup.py # paste code
nano simpleGmatch4py.pyx # paste code
python setup.py build_ext --inplace
python # execute your script
from gmatch4py.
Hi,
I'm behind a proxy and running virtualenv behind it is just not working :(
During the setup is there anything that goes out to the network? Perhaps due to my proxy this
is the culprit?
from gmatch4py.
I FOUND IT!!!! WHOOT!!!! Issue was not having scikit-learn. Once I pipped that all was good. Odd error to see without it. Thank you for your super prompt and helpful tips to locate it :) So happy!
from gmatch4py.
Great ! ;)
from gmatch4py.
I created a setup.py for you so that even lazy eyes can't screw up the install ;) All you have to do is fill out the #List of dependencies section at the top. Thanks again :)
setup.py.txt
from gmatch4py.
Related Issues (20)
- set_attr_graph_used HOT 1
- Clearer documentation HOT 2
- ModuleNotFoundError: No module named 'gmatch4py.ged.graph_edit_dist' HOT 1
- graph-edit example from README: TypeError: 'method' object is not iterable HOT 2
- What is the order of the costs in GraphEditDistance? HOT 1
- Installation failed HOT 1
- Use of GMatch4py HOT 2
- Bug with GMatch4py if start with an other example HOT 4
- sum up of the matchings between graphs HOT 1
- How does the node attr works? HOT 2
- Graph2Vec error
- ModuleNotFoundError: No module named 'skipgram' HOT 13
- What is the maximum edit distance between two graphs? HOT 1
- No module named 'gmatch4py HOT 1
- A Question of Toponym Geocoding
- How to define substitution cost? HOT 2
- Some constructive feed HOT 2
- ModuleNotFoundError during Import
- `set_attr_graph_used` is not setting `node_attr_key`
- How are node attributes being exploited?
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 gmatch4py.