I've followed your installation steps but haven't had any success in getting the plugin to run so far. I've listed all steps below in chronological order.
System information
Windows 11 pro
10.0.26200 Build 26200
Houdini 21.0.671
I cloned the repo to:
C:\Users\DAVE\Synapse
The Synapse.json is located in:
C:\Users\DAVE\Documents\houdini21.0\packages
and contains the following:
{
"env": [
{ "PYTHONPATH": "C:/Users/DAVE/Synapse/python" }
]
}
running import synapse; print(synapse.__version__) successfully returned the version number 5.8.0
I created the ANTHROPIC_API_KEY variable in the system environment variable and used the setx command in a windows powershell terminal running as admin to set the variable value
Running the import os; print(bool(os.environ.get('ANTHROPIC_API_KEY'))) inside houdini's python shell returned False
To work around this I edited the houdini.env in C:\Users\DAVE\Documents\houdini21.0 with the following;
ANTHROPIC_API_KEY = "sk-ant-xxx"
xxx was of course replaced with my actual API key value.
Now running import os; print(bool(os.environ.get('ANTHROPIC_API_KEY'))) inside houdini's python shell returned True
Running the following command in Houdini's python shell:
from synapse.host.daemon import SynapseDaemon
daemon = SynapseDaemon()
daemon.start()
print("running:", daemon.is_running)
daemon.stop()
Returns this:
>>> from synapse.host.daemon import SynapseDaemon
daemon = SynapseDaemon()
daemon.start()
print("running:", daemon.is_running)
>>> >>> >>> User site-packages enabled (PYTHONNOUSERSITE not set at interpreter laundaemon.stop()
ch). Spike 0 found CP314 pydantic_core binaries leaking from user site into CP311 hydaemon.stop()
thon. Start hython with -s flag or set PYTHONNOUSERSITE=1 before launching to isolatdaemon.stop()
e.daemon.stop()
>>> running: Truedaemon.stop()
>>> daemon.stop()
This is as far as I got - as far as I can see the plugin isn't loading inside Houdini, I'm not clear on where exactly it should appear, but it's not available in the Shelves menu or in the New Pane Type menu
I've followed your installation steps but haven't had any success in getting the plugin to run so far. I've listed all steps below in chronological order.
System information
I cloned the repo to:
C:\Users\DAVE\SynapseThe Synapse.json is located in:
C:\Users\DAVE\Documents\houdini21.0\packagesand contains the following:
running
import synapse; print(synapse.__version__)successfully returned the version number5.8.0I created the
ANTHROPIC_API_KEYvariable in the system environment variable and used thesetxcommand in a windows powershell terminal running as admin to set the variable valueRunning the
import os; print(bool(os.environ.get('ANTHROPIC_API_KEY')))inside houdini's python shell returnedFalseTo work around this I edited the
houdini.envinC:\Users\DAVE\Documents\houdini21.0with the following;ANTHROPIC_API_KEY = "sk-ant-xxx"xxxwas of course replaced with my actual API key value.Now running
import os; print(bool(os.environ.get('ANTHROPIC_API_KEY')))inside houdini's python shell returnedTrueRunning the following command in Houdini's python shell:
Returns this:
This is as far as I got - as far as I can see the plugin isn't loading inside Houdini, I'm not clear on where exactly it should appear, but it's not available in the
Shelvesmenu or in theNew Pane Typemenu