I'm trying to follow the instructions in the README of this repo: https://github.com/jorgenschaefer/elpy . Everything goes smoothly until I get to the point where I am to install the package. After typing elpy and pressing enter I get a [No match] result. Any thoughts?
Here is what happens in detail. I copy and paste:
(require 'package) (add-to-list 'package-archives '("elpy" . "https://jorgenschaefer.github.io/packages/"))
into my scratch buffer. I then type M-x ev-b RET and see no response in the minibuffer. I then type M-x package-refresh-contents RET and see a few quick messages fly by including what seems to be a connection to the github repo and culminates in a 'Package refresh done' message. Finally, when running M-x package-install RET elpy RET I receive a 'No Match' message and a prompt for 'Install package:'.
After all this, upon running C-h v package-archives I get:
package-archives is a variable defined in ‘package.el’. Its value is (("gnu" . "http://elpa.gnu.org/packages/"))
This variable may be risky if used as a file-local variable.
Documentation: An alist of archives from which to fetch. The default value points to the GNU Emacs package repository.
Each element has the form (ID . LOCATION). ID is an archive name, as a string. LOCATION specifies the base location for the archive. If it starts with "http:", it is treated as a HTTP URL; otherwise it should be an absolute directory name. (Other types of URL are currently not supported.)
Only add locations that you trust, since fetching and installing a package can run arbitrary code.
You can customize this variable.
This variable was introduced, or its default value was changed, in version 24.1 of Emacs.