I am having trouble with executing codes with Hydrogen. I have tried #1538 but had no luck. I am trying to setup Atom on my new Mac hence running into this issue.
- Download Atom from
- Dragged and dropped the file to
Applications - Install all the shell commands :
Atom-> Install Shell commands - On terminal :
python3 -m venv new_env source new_env/bin/activate python3 -m pip install ipykernel python3 -m ipykernel install --user --name new_env Install
HydrogenWhen I try to execute for example
import numpyit gives the following error on the side after it prompts to select the virtual env -new_env:
new_env Traceback (most recent call last): File "/Library/Frameworks/", line 196, in _run_module_as_main Versions:
- Python 3.10.2
- macOS Monterey
- Atom 1.59
- Hydrogen 2.16.3
Additional details:
{ "kernelspecs": { "new_env": { "resource_dir": "/Users/shanaka/Library/Jupyter/kernels/new_env", "spec": { "argv": [ "/Users/shanaka/Python/new_env/bin/python3", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": {}, "display_name": "new_env", "language": "python", "interrupt_mode": "signal", "metadata": { "debugger": true } } }, "python3": { "resource_dir": "/Users/shanaka/Python/new_env/share/jupyter/kernels/python3", "spec": { "argv": [ "python", "-m", "ipykernel_launcher", "-f", "{connection_file}" ], "env": {}, "display_name": "Python 3 (ipykernel)", "language": "python", "interrupt_mode": "signal", "metadata": { "debugger": true } } } } } 2Related questions 88 Running Python from Atom 0 Python doesn't work in atom 4 Why can't Python run in Atom? Related questions 88 Running Python from Atom 0 Python doesn't work in atom 4 Why can't Python run in Atom? 3 Using Hydrogen with Python 3 1 running python in atom 2 atom: hydrogen installed, but the code is not running (on macOS) 0 Atom Script can't find the path for Python 3 on Mac 2 Setting up Hydrogen and Atom with Anaconda managing python installation 3 Atom: Error running Hydrogen, python.exe can't be found 12 Setting Up a Python Virtual Environment with Hydrogen in Atom Load 7 more related questions Show fewer related questions
Reset to default