Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

using grest command #330

Closed
whatSocks opened this issue Jul 3, 2021 · 3 comments
Closed

using grest command #330

whatSocks opened this issue Jul 3, 2021 · 3 comments

Comments

@whatSocks
Copy link

whatSocks commented Jul 3, 2021

perhaps this is obvious, but I can't get the grest command to work. Using MacOS Catalina, python 3

 grest boop
zsh: //usr/local/Cellar/python@3.7/3.7.10_3/Frameworks/Python.framework/Versions/3.7/bin/grest: bad interpreter: c:\Python27\python.exe^M: no such file or directory
@mostafa
Copy link
Owner

mostafa commented Jul 3, 2021

Hey @whatSocks,

I haven't tested it on MacOS, yet the shebang at the start of the grest command points to #!/usr/bin/python. It's pretty strange that you are getting this error. This error usually happens on Windows machines.

bad interpreter: c:\Python27\python.exe^M: no such file or directory

Can you give me more info? Which version of gREST you've installed? Where did you install it (venv or global)? And any other useful piece of information, so I can figure out the issue.

@whatSocks
Copy link
Author

hi @mostafa - I don't have that much more info.

I did pip3 install pygrest in a venv and couldn't get it to work at all, tried globally, then tried to resolve a permissions error,

chmod +x /usr/local/Cellar/python@3.7/3.7.10_3/Frameworks/Python.framework/Versions/3.7/bin/grest

and then got the error above on grest blablabla

I'm using zsh and homebrew on mac

@mostafa
Copy link
Owner

mostafa commented Jul 3, 2021

I fixed the shebang and upgraded most of the packages to the latest version. So, please try to install version 2.3.0 of pygrest to see if it fixes your issue. Also, uninstall the previous versions.

@mostafa mostafa closed this as completed Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants