Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run the example, #80

Open
SeekPoint opened this issue Feb 16, 2019 · 8 comments
Open

how to run the example, #80

SeekPoint opened this issue Feb 16, 2019 · 8 comments
Assignees

Comments

@SeekPoint
Copy link

ub16hp@UB16HP:/media/ub16hp/WINDOWS/ub16_prj/py2cytoscape/examples$ python3 samples_for_v0.6.0.py
<IPython.core.display.Javascript object>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

@jorgeboucas
Copy link
Member

please try updating to python 3.6.

@SeekPoint
Copy link
Author

C:\ub16_prj\py2cytoscape\examples>python samples_for_v0.6.0.py
To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.
py2cytoscape: Error importing igraph. You won't be able to import from igraph.
<IPython.core.display.Javascript object>
Traceback (most recent call last):
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\util\connection.py", line 83, in create_connection
raise err
File "C:\Users\andyy\AppData\Local\Programs\Python\Python37\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

@zachary822
Copy link
Contributor

Do you have the Cytoscape desktop program running? What version are you using?

@jorgeboucas
Copy link
Member

Apart from making sure you have Cytoscape running it might be that the jump to python 3.7 was a bit too much. I would follow @zachary822 recommendation and try it on 3.6.

@GlennCGL
Copy link

Why don't you just write a simple example about how to use py2cytoscape? I can not learn any useful getting started about your README.md

@matthiaskoenig
Copy link

It seems to me the py2cytoscape project is deprecated and you should have a look at py4cytoscape
https://github.com/cytoscape/py4cytoscape
With documentation here: https://py4cytoscape.readthedocs.io/en/latest/
and examples here: https://py4cytoscape.readthedocs.io/en/latest/tutorials/index.html

@bdemchak
Copy link
Contributor

bdemchak commented Feb 18, 2022 via email

@bdemchak
Copy link
Contributor

bdemchak commented Feb 21, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants