![]() ![]() For External Repositories, Visit Ubuntu Updates and search by.If the package that you are unable to locate is from a PPA go to the PPA and check if it is available there for your release.To enable all repositories ( main, universe, restricted, multiverse), use the following commands: sudo add-apt-repository main Make sure you have enabled Ubuntu repositories: The following (general) procedure helps to solve this: ![]() When apt-get install is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list and under /etc/apt//). I know y’all are going to shake your heads because I’m on Windows, but really - it just shouldn’t be this hard.There are many questions about this topic. ![]() I test it in a notebook and it’s working. I exit the REPL and launch Jupyter normally and - the Julia kernel is there. Where did those wrong paths come from? Why is it running the wrong path for the notebook? I don’t know.īut wait, there’s more. IJulia C:\Users\micha\.julia\packages\IJulia\e8kqU\src\jupyter.jl:95 notebook( dir::String, IJulia C:\Users\micha\.julia\packages\IJulia\e8kqU\src\jupyter.jl:97 launch(cmd::Cmd, dir::String, IJulia C:\Users\micha\.julia\packages\IJulia\e8kqU\src\jupyter.jl:54 _spawn_primitive(file::String, cmd::Cmd, Base. [ Info: running `'C:\Python310\Scripts' notebook`ĮRROR: IOError: could not spawn setenv(`'C:\Python310\Scripts' notebook` dir="C:\\Users\\micha"): no such file or directory (ENOENT) No one should have to install bloataconda in order to get Julia working.Īfter removing & reinstalling IJulia 3 times, and getting no kernel in the notebook, in desperation I try a launch from Julia REPL. It just should not be this much work to install the Julia kernel. I don’t know wether it was the newly created environment or the Julia update that made it work. Set ENV paths (find the right paths with “where python” in terminal and test them (after declaring) via “run( $(ENV) -version)” in Julia, analogous with jupyter):ĮNV= “/path/to/venv/bin/jupyter”Īfter updating Julia it was the first time I did not get an Conda import request (install Jupyter via Conda, y/n? : ). I will just tell you exactly what I did after activating the new environment. (If you need help setting up a new environment, please tell me.) I tried this in a new virtual environment I only initialized for this! I just solved the problem on my own laptop(Mac) after having some troubles. This leads me to think that either the path to my existing Jupyter installation is incorrect or that because removing and re-adding doesn’t require building iJulia again, the path specified by ENV is ignored.Īny tips would be very gratefully received, I try start a notebook using IJulia but I’m still prompted to use Conda and declining still fails. ![]() With this knowledge I did Pkg.rm(“IJulia”) and removed and then re-added the package after setting ENV = “/usr/local/bin/jupyter”. Some further searching brought me to the IJulia GitHub repo and the documentation states that ENV should be set prior to adding or building the IJulia package. I searched for some assistance and there is much reference to setting ENV to an existing jupyter executable, which I duly did but I’m still prompted to use Conda and I still receive the errors if I decline. When declining I receive a bunch of errors. The IJulia package adds and builds successfully but the ENV is missing and when I try to spin up a notebook or lab using IJulia I am prompted to continue with Conda. I installed Julia today and then tried to connect to my existing Jupyter installation note that I don’t have, or wish to have Anaconda installed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |