Ask Pathway Tools logo   Pathway Tools Question & Answer forum for SRI's Pathway Tools

Ask Your Question

How to use PythonCyc on Windows 10

asked 2019-03-13 11:25:46 -0600

anonymous user



I am trying to use PythonCyc on Windows 10, however I understand that Pathway Tools needs to be opened with the -python option for PythonCyc to work. I have always started Pathway Tools from the Desktop shortcut, and I cannot figure out how to start it from the command prompt. Has anyone else done this?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-13 16:53:46 -0600

pmidford gravatar image

Here's how to start Pathway Tools from the command prompt in windows.

By default, Pathway Tools will install to C:\Program Files\PathwayTools. It launches with a ptools.bat file in the install directory, so you should be able to launch Pathway Tools with the python server with:

C:\Program Files\PathwayTools\ptools.bat -python

If this doesn't work, but your desktop shortcuts do work, try clicking right on the ptools-lisp shortcut and select the properties tab. The command string the shortcut uses is displayed in that tab. You should be able to just copy-paste the command string into a command prompt, replace -lisp with -python and run the command. You probably don't need the empty-string ("") in the string either.

Let me know how this works, and remember that PythonCyc is currently still python 2.7-based.

edit flag offensive delete link more


Thank you very much! this worked well, although I do get a note in the pathway tools console Warning: Unknown command-line option "-python". Nonetheless, my code seems to run fine like this. Thanks again!

naomccan gravatar imagenaomccan ( 2019-03-25 10:11:48 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-03-13 11:25:46 -0600

Seen: 2,761 times

Last updated: Mar 13 '19