File Error Cannot Open Load File Package
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company
Debugger Entered--lisp Error: (file-error "cannot Open Load File"
Business Learn more about hiring developers or posting ads with us Stack Overflow Questions cannot open load file emacs Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million
Emacs Require Package
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up emacs marmalade: “Cannot open load file”, “package” up vote 13 down vote favorite 2 I'm using emacs 24 and would like update emacs mac to install marmalade. I've tried adding the following to my ~/.emacs file, as per the instructions on http://marmalade-repo.org/: (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/")) (package-initialize) When I try to reload e-macs I get the error: Error in init file: File error: "Cannot open load file", "package". What might be wrong? emacs elisp marmalade share|improve this question edited Nov 23 '14 at 3:59 Drew 19.6k53850 asked Nov 20 '13 at 20:10 The Unfun Cat homebrew install emacs 4,32174165 What happens if you interactively type M-x package-initialize? –Carl Groner Nov 20 '13 at 20:39 Don't know much about Emacs, I'd prefer direct dmg install ;-) –noob Nov 20 '13 at 22:46 6 I was using emacs 22 not 24. I deserve downvotes. –The Unfun Cat Nov 22 '13 at 7:13 add a comment| 2 Answers 2 active oldest votes up vote 7 down vote accepted Sounds like your version of Emacs does not come with library package.el. Does M-x find-library package find it? If not, you can try downloading it from the web (maybe start with Emacs Wiki), and then putting it in your load-path. But even in that case it might not work with your Emacs version. share|improve this answer answered Nov 20 '13 at 20:40 Drew 19.6k53850 add a comment| up vote 1 down vote I had this error message after I'd switched from macports to homebrew package management on the mac. I suspect I'd installed emacs using macports, and although it was still available after removing macports, I may have removed the libraries I was relying on. Installing the newest version of emacs via homebrew fixed the problem. Re-install emacs if you think you might have done something similarly foolish. share|improve this answer answered May 17 at 17:21 A
quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Emacs Package Install
workings and policies of this site About Us Learn more about Stack emacs load-path Overflow the company Business Learn more about hiring developers or posting ads with us Emacs Questions Tags
Osx Emacs
Users Badges Unanswered Ask Question _ Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join them; it only takes a http://stackoverflow.com/questions/20105967/emacs-marmalade-cannot-open-load-file-package minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top File error: Cannot open load file up vote 0 down vote favorite I have the following ~/.emacs: ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete http://emacs.stackexchange.com/questions/26821/file-error-cannot-open-load-file this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) (require 'highlight-symbol) (global-set-key [(control f3)] 'highlight-symbol) (global-set-key [f3] 'highlight-symbol-next) (global-set-key [(shift f3)] 'highlight-symbol-prev) (global-set-key [(meta f3)] 'highlight-symbol-query-replace) Then I added the file highlight-symbol.el to my ~/.emacs.d folder. However when I start emacs I get: Warning (initialization): An error occurred while loading ‘~/.emacs’: File error: Cannot open load file, No such file or directory, highlight-symbol I am new to emacs, what am I doing wrong? package share|improve this question asked Sep 4 at 8:13 Baz 101 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote Looking at the help from require (C-h f require) (require FEATURE &optional FILENAME NOERROR) If feature FEATURE is not loaded, load it from FILENAME. If FEATURE is not a member of the list 'features', then the feature is not loaded; so load the file FILENAME. If FILENAME is omitted, the prin
Sign in Pricing Blog Support Search GitHub This repository Watch 20 Star 234 Fork 34 https://github.com/bodil/ohai-emacs/issues/4 bodil/ohai-emacs Code Issues 1 Pull requests 0 Projects 0 Pulse Graphs https://github.com/dimitri/el-get/issues/1982 New issue (file-error "Cannot open load file" "package") #4 Closed nsvir opened this Issue Feb 9, 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants nsvir commented Feb cannot open 9, 2015 require(package) eval-buffer(#> nil "/home/l2/svirchevsky/.emacs.d/ohai/ohai-package.el" nil t) ; Reading at buffer position 1578 load-with-code-conversion("/home/l2/svirchevsky/.emacs.d/ohai/ohai-package.el" "/home/l2/svirchevsky/.emacs.d/ohai/ohai-package.el" nil t) require(ohai-package) eval-buffer(#> nil "/home/l2/svirchevsky/.emacs.d/ohai/ohai-lib.el" nil t) ; Reading at buffer position 846 load-with-code-conversion("/home/l2/svirchevsky/.emacs.d/ohai/ohai-lib.el" "/home/l2/svirchevsky/.emacs.d/ohai/ohai-lib.el" nil t) require(ohai-lib) eval-buffer(# nil "/home/l2/svirchevsky/.emacs.d/init.el" nil t) ; Reading at buffer position 2146 load-with-code-conversion("/home/l2/svirchevsky/.emacs.d/init.el" "/home/l2/svirchevsky/.emacs.d/init.el" t t) load("/home/l2/svirchevsky/.emacs.d/init" cannot open load t t) #[nil "^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312\307\313\314#\203#^@\315\2027^@\312\307\313\316#\203/^@\317\2027^@\315\202$ command-line() normal-top-level() any ideas what is going on ? I have just git cloned the depot to ~/.emacs.d and removed my ~/.emacs Owner bodil commented Feb 9, 2015 If package.el is missing, at a guess you're on Emacs 23 or earlier. Ohai Emacs requires version 24.4 at a minimum. Although I'll admit to not being entirely sure that's what that error message is saying... nsvir commented Feb 9, 2015 I am on Emacs23.. :/ Is there a hack or something ? Owner bodil commented Feb 9, 2015 No, I'm afraid there have been too many changes since 23. You can add in package.el manually, but there are also a lot of improved modes and elisp functions that you can't easily patch in. I'd better add a version check so people would know what's wrong, come to think of it. :) nsvir commented Feb 9, 2015 It coul
Sign in Pricing Blog Support Search GitHub This repository Watch 95 Star 1,278 Fork 471 dimitri/el-get Code Issues 50 Pull requests 5 Projects 0 Wiki Pulse Graphs New issue Error: (file-error "Cannot open load file" "no such file or directory" "el-get-core") #1982 Closed edvorg opened this Issue Nov 9, 2014 · 5 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants edvorg commented Nov 9, 2014 I get this error since I installed el-get from melpa. It happens when package-initialize runs to activate my packages. I'm no sure, but it seems to me like it's el-get bug. Collaborator npostavs commented Nov 9, 2014 What emacs version? Can you post a minimal init.el to reproduce this? A backtrace might also be useful (start emacs with --debug-init). edvorg commented Nov 10, 2014 Debugger entered--Lisp error: (file-error "Cannot open load file" "no such file or directory" "el-get-core") require(el-get-core) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require cl el-get-core el-get-custom autoload] 2) load("/Users/edvorg/.emacs.d/elpa/el-get-20141106.2207/el-get-autoloads" nil t) #0 "\302\303\304\305\300\"\301\"\306\307#\207" [el-get "/Users/edvorg/.emacs.d/elpa/el-get-20141106.2207" load expand-file-name format "%s-autoloads" nil t] 5 "\n\n(fn)" funcall(#[0 "\302\303\304\305\300\"\301\"\306\307#\207" [el-get "/Users/edvorg/.emacs.d/elpa/el-get-20141106.2207" load expand-file-name format "%s-autoloads" nil t] 5 "\n\n(fn)"]) package-activate-1([cl-struct-package-desc el-get (20141106 2207) "Manage the external elisp bits and pieces you depend upon" nil nil nil "/Users/edvorg/.emacs.d/elpa/el-get-20141106.2207" ((:keywords "emacs" "package" "elisp" "install" "elpa" "git" "git-svn" "bzr" "cvs" "svn" "darcs" "hg" "apt-get" "fink" "pacman" "http" "http-tar" "emacswiki") (:url . "http://www.emacswiki.org/emacs/el-get")) nil]) package-activate(el-get) package-initialize() command-line() normal-top-level() GNU Emacs 24.4.1 (x86_64-apple-darwin13.3.0, NS apple-appkit-1265.21) of 2014-10-28 on Edwards-MacBook-Pro.local Collaborator npos