-
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
importmagic freezing Emacs startup #10145
Comments
I installed
Startup still freezes after the |
I deleted all the Python buffers and restarted Emacs, and startup completed without freezing. I opened a Python file and restarted Emacs, and the freezing happened. |
In the Python buffer, I typed
|
Can you try to call: (require 'pyvenv)
(pyvenv-activate DIRECTORY) In your |
@lukeorland by default, What is strange though, is that it's loading |
I had the same error message in Spacemacs: I followed the steps in pythonic-emacs/anaconda-mode#295 and changed Please forget what I wrote above here. There is no connection. |
The problem happens to me also. I use both pipenv and pyenv. But the importmagic does not care about virtual environments at all. |
I'm having this issue as well. I am using the I'm running the develop branch (cloned yesterday). |
The problem is not really activate your virtual environment, which has importmagic or epc installed.
Or doing this in org-mode.
For my personal example.
In summary,
|
After doing pip install importmagic epc |
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! |
I too face this problem. I'm running the anaconda backend, and I've installed |
I have Python 3.9 installed via Homebrew (on macOS 10.15.7). Also kept having the same error message even after installing Might also have a look at the customize variable |
For people that may be redirected to this issue, I have some more to contribute to it. I was facing the same issue, but everything was looking right regarding the environments, etc. My setup is:
However, what I noticed after trying to run multiple Python code blocks and closed Emacs that several When clicking on one of them I was seeing another error: Indeed, pip install ipython reloading Emacs, and the error was gone. The problem was not that |
Description![:octocat: :octocat:](https://github.githubassets.com/images/icons/emoji/octocat.png)
After started emacs, it gets frozen on the Spacemacs buffer. I can type
<C-g>
to get the initialization to finish.I look at the
*Messages*
buffer and see the linesIt appears that
importmagic.el
is looking for theimportmagic
PyPI package to be installed in the system Python environment. I use virtual environments and keep my system Python installation clean of external packages.Reproduction guide 🪲
Observed behaviour: 👀 💔
Frozen on startup.
Expected behaviour: ❤️ 😄
Not frozen on startup.
System Info 💻
The text was updated successfully, but these errors were encountered: