you just need to '!' before the command
Your command would be like,
!git clone https://github.com/marksgraham/OCT-Converter.git
NOTE : if you are using anaconda navigator or googlecolab
Answer from Akshay Mewada on Stack Overflowyou just need to '!' before the command
Your command would be like,
!git clone https://github.com/marksgraham/OCT-Converter.git
NOTE : if you are using anaconda navigator or googlecolab
It's because you can't use git clone in IDLE.
To clone a git repository you should open a terminal and go the location in which you want to clone the repo, and then type the following command:
git clone https://github.com/marksgraham/OCT-Converter.git
If it still give you an error then you need to install git, for Mac you can use this installer.
>>> !git clone https://github.com/NicKoehler/mediafire_bulk_downloader
File "<stdin>", line 1
!git clone https://github.com/NicKoehler/mediafire_bulk_downloader
^
SyntaxError: invalid syntax
>>>
>>> cd mediafire_bulk_downloader
File "<stdin>", line 1
cd mediafire_bulk_downloader
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax
>>> git clone https://github.com/NicKoehler/mediafire_bulk_downloader
File "<stdin>", line 1
git clone https://github.com/NicKoehler/mediafire_bulk_downloader
^^^^^
SyntaxError: invalid syntax
>>>
>>> cd mediafire_bulk_downloader