Open ghost opened 3 years ago
I'm also having this, but since I'm in a macOS, I got PermissionError: [Errno 13] Permission denied: '/var/folders/hh/vz60ml8n45q2bw6b4_zltsqc0000gn/T/ngrok/ngrok
. I tried downgrading flask-ngrok to 0.0.23 and flask to 0.12.2, but the same error appears.
try with sudo
I am facing the same issue but I can't used sudo :( is there any chance of having another solution?
I fixed it replacing the line #30 (flask_ngrok.py) from: os.chmod(executable, 777) to: os.chmod(executable, stat.S_IEXEC) # Make file for the current user executable.
importing lib stat from python core...
My OS specifications:
LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Linuxmint Description: Linux Mint 20.1 Release: 20.1 Codename: ulyssa
I dno1t know if its ok for other OS...
I have the same issue on Mac and VS Code. Did anyone find a solution for Mac?
This solution fixed it for me.
This is my code
When I run it, I get the following error:
I installed flask-ngrok in PyCharm. I even changed read and write permissions (
chmod -R 755 /tmp/ngrok/ngrok
) but I still get the same error as above.