Good morning,
I am new to Spyder & would like to install a package there directly from github.
Note: I am using Spyder within Anaconda
The github page has a setup.py.
I saw a video where they used "pip install "git+[enter https of github]".
However, I wonder if I can run this directly in Spyder, also keeping in mind that I am within Anaconda. Or I need to add a "!" in front of pip?
Wanted to double check before doing a mistake!
Thanks a lot!
>Solution :
To install a package from GitHub via Spyder within Anaconda, you can use the following steps:
- Open Anaconda Navigator.
- Launch the "Spyder" application.
- Once Spyder is open, go to the "Console" or "IPython console."
- Use the following command to install the package directly from GitHub:
!pip install git+https://github.com/user/repo.git
Replace user/repo with the GitHub username and repository name of the package you want to install.
- Press Enter to execute the command. Spyder will download and install the package from GitHub.
After executing the command, the package should be installed and ready to use within your Anaconda environment.