Forum Archive

Stash gh SyntaxError

imnegan

Hi all

I have installed StaSh and am following the tutorial here .

Unfortunately at the very first step:

[~/Documents]$ gh create --help

I get the following error:

stash: <type 'exceptions.SyntaxError'>: invalid syntax (jwk.py, line 60)

Any idea how to resolve this?

JonB

type

stashconf py_traceback 1

and retry the command. then paste the full traceback here.

Make sure you dont have a github folder in your site packages -- i am guessing you have a module name conflict... jwk is not a dependency of pygithub...

You may need to do
pip install pyjwt

I forget if I ever updated the gh command for this..

imnegan

Thanks for the fast response JonB

I started with the pip install pyjwt and that solved it straight away. After the fact I had a look for a github folder, didn't see anything.

Kudos to you for the StaSh tutorial!

Cheers