jamesscottbrown / pyyed

A simple Python library to export networks to yEd
BSD 3-Clause "New" or "Revised" License
81 stars 37 forks source link

import pyyed failed... #8

Closed cbrum11 closed 5 years ago

cbrum11 commented 6 years ago

First, thanks for the tool... excited to try it out.

Unfortunately I can't get off the ground. I'm a bit of a novice, so go easy on me. The following doesn't work.

from pyyed import *

I'm using Python 3 and figured that might be the issue... I eventually got the following to import.

import pytest

Trying either of the following lines of code now fails however...

g = pyyed.Graph() or g = pytest.Graph()

Thanks in advance for the help!

jamesscottbrown commented 6 years ago

It sounds like you might have not installed the package.

After downloading pyyed, you will need to install it by changing into its directory and running python setup.py install at the command-line. After you have done this, you should be able to import the package from other python scripts using from pyyed import *.

Pyeyd shoudl be compatible with both python 2.7 and 3.

jamesscottbrown commented 5 years ago

I have closed this issue, because I do not think that it is due to a problem with pyyed.