Bode plot with sinusoidal Current Source

Hi,

I successfully ran this example: https://pyspice.fabrice-salvaire.fr/releases/v1.4/examples/filter/low-pass-rc-filter.html

I am however interested in replacing the voltage source with a current source and still get a bode plot that compares the output voltage to input current. Just replacing the voltage source with a current source as follows gives me an error.

circuit.SinusoidalCurrentSource(‘input’, ‘in’, circuit.gnd, amplitude=1@u_uA)

NgSpiceCommandError : Command ‘run’ failed

Thank you in advance