cytoscape / py2cytoscape

Python utilities for Cytoscape and Cytoscape.js
https://py2cytoscape.readthedocs.io
MIT License
178 stars 45 forks source link

igraph issue #35

Open jhimm opened 7 years ago

jhimm commented 7 years ago

I downloaded the master branch, ran "python setup.py install" using Anaconda3 shell, and saw no errors. Started jupyter notebook from Anaconda3, and attempted to run some examples. 5 of 6 (the 6th could not do a different import) examples all produced they following error traceback:


DeprecationWarning Traceback (most recent call last)

in () 1 # Boilerplate: Import required packages ----> 2 from py2cytoscape.data.cyrest_client import CyRestClient 3 from py2cytoscape.data.util_network import NetworkUtil as util 4 from py2cytoscape.data.style import StyleUtil as s_util 5 import py2cytoscape.cytoscapejs as renderer C:\Users\Jeff\Anaconda3\lib\site-packages\py2cytoscape-0.6.1-py3.6.egg\py2cytoscape\data\cyrest_client.py in () 2 3 import requests ----> 4 from .network_client import NetworkClient 5 from .style_client import StyleClient 6 from .algorithm_client import LayoutClient C:\Users\Jeff\Anaconda3\lib\site-packages\py2cytoscape-0.6.1-py3.6.egg\py2cytoscape\data\network_client.py in () 6 7 from . import HEADERS, SUID_LIST ----> 8 from ..util import cytoscapejs as util 9 10 from ..util import util_networkx as nx_util C:\Users\Jeff\Anaconda3\lib\site-packages\py2cytoscape-0.6.1-py3.6.egg\py2cytoscape\util\__init__.py in () 8 from py2cytoscape.util.util_networkx import from_networkx, to_networkx 9 from py2cytoscape.util.util_graphlab import from_sgraph ---> 10 from py2cytoscape.util.util_igraph import from_igraph 11 12 __all__ = ['from_networkx', 'to_networkx', 'from_igraph'] C:\Users\Jeff\Anaconda3\lib\site-packages\py2cytoscape-0.6.1-py3.6.egg\py2cytoscape\util\util_igraph.py in () 6 """ 7 ----> 8 import igraph as ig 9 10 DEF_SCALING = 100.0 C:\Users\Jeff\Anaconda3\lib\site-packages\igraph\__init__.py in () 6 __license__ = "MIT" 7 ----> 8 raise DeprecationWarning("To avoid name collision with the igraph project, " 9 "this visualization library has been renamed to " 10 "'jgraph'. Please upgrade when convenient.") DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient. ******** Tried uninstalling igraph, and the notebook could not find the module. Reinstalled igraph, and the deprecation warning returned.