#Shardeum local network python issue

9 messages · Page 1 of 1 (latest)

stiff schooner
#

I 'm trying to run a Shardeum local network on my VPS but having issues with configuring Python for node-gyp. Please help

real forum
dire shadow
#

Try following the steps here as well to help config python locally on your machine and expose it to npm

stiff schooner
#

Incidentally, it still did not work. But I found a way to get it to work.You can update the "Setup Dependencies" section of the "Run a local Shardeum Network" course module with these 2 corrections.

  1. I used the commange below to set the python env variable for npm
    usernam@server# export npm_config_python=/path/to/executable/python

  2. In my case my python path is: /usr/bin/python3
    [You can get your path by using echo $PYTHON] since "which python3" as stated in the documentation is deprecated

#

It's running fine now

real forum
hardy harness
stiff schooner
#

I faced this issue and tried the force fix. But after I tried to resolve it, the service didn't come up again.