-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error (use-package): python :init: Invalid version syntax: ‘zsh:1: command not found: ipython’ (must start with a number) #7265
Comments
Backtrace please. |
|
@kissgyorgy : did you find a fix for this? |
Not yet. 😞 |
Do you by any chance have pyenv installed, and does Glancing at the code, I think |
@marienz : Yes, I have pyenv and it does return a valid path: ➜ jramapuram@gauss ~ pyenv which ipython
/Users/jramapuram/.virtualenvs/default/bin/ipython |
I have it too:
|
same problem here but only occurs when I starts spacemacs from terminal. os: archlinux 4.7.6 emacs: 25.1 spacemacs 0.200.1 ipython: valid path. |
same problem. OS: mac OS |
Managed to fix it by setting global python to 3.5.2 - |
@evindor not fixing it for me :/ Mac OSX 10.10.5 |
Not fixed for me either. I have ipython installed anyway. |
@jsevo @kissgyorgy Check the PATH variable in Emacs and in Terminal shell, it may be different. I use pyenv and zsh, and I find that PATH in emacs doesn't contain the pyenv path config, but PATH in shell does. To solve this, suppose you use zsh, you can create a ".zshenv" file, and put the PATH config in it, it should work. I found this solution from the Spacemacs'FAQ part. See the picture: |
I had pyenv installed, but don't use it.
Since I don't use it, I just did |
FWIW: I don't use
|
I was using zsh shell with pyenv and to make it work had to configure the following: (setenv "SHELL" "/bin/zsh")
(setq shell-file-name "/bin/zsh") |
Hi, I hit this bug when upgraded to Debian Buster, using emacs daemon, but only when reloading with SPC f e R. I don't want ipython. pyenv shims directory is in my PATH from my .profile that way : https://gitlab.com/bersace/dotfiles/blob/master/files/.profile#L50-54 . Any clue on this ? |
I have this issue with both no ipython, ipython installed in ~/.local/bin or in /usr/bin with debian package. |
Hi all, i may have found the root of the issue. |
I ran into this as well. I ran
Then found This could report a more useful error message. Might be small enough to practice a bit of elisp, so I'll try to add it. :) |
This fixed this issue for me. Thanks @braham-snyder 😄 |
@bersace Thanks!!! Prevent me to waste all my day on this... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
Error (use-package): python :init: Invalid version syntax: ‘zsh:1: command not found: ipython’ (must start with a number)
Reproduction guide 🪲
Observed behaviour: 👀 💔
An error window popping up with error message in description
Expected behaviour: ❤️ 😄
Start normally without errors
System Info 💻
The text was updated successfully, but these errors were encountered: