Skip to content

Installation issues #3

@compgen00

Description

@compgen00

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions