-
Notifications
You must be signed in to change notification settings - Fork 57
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
Remove need for a miniconda installation ? #1
Comments
I use your package because it install the miniconda and therefore I do not think you should remove it. If you do could you make a new package? My purpose is to make my Julia work environment easy to install even when I depend on both matplotlib and IPython notebooks. Your package fulfill this purpose perfectly as my installation script is:
This is a lot easier to tell people to do than, asking them to install the Miniconda manually and using cmd to manage packages and the space required is smaller than using the whole Anaconda distribution. |
Removing miniconda will not prevent you from doing this. The same packages would be present, and if a Python distribution is needed by a package, it would be installed. Conda.add("matplotlib") Would still download and install Python, Numpy, matplotlib and any dependency. The idea here is to remove this python distribution when it is not used (i.e. when managing binary dependencies for BinDeps). But as this issue would require a pretty big amount of work (writing a correct package manager is hard), and my time is limited, so Miniconda is not going away anytime soon. |
I see, good to know. I am promoting your package as the easiest way of getting IJulia installed. |
@dhoegh Maybe you know that now all you need to do is Pkg.add("IJulia") and that will automatically install |
Yes, I pushed the use of Conda in IJulia, PyCall and PyPlot forward. |
OK, thanks very much for doing that! |
I would like to add one more con here. Namely, you are now maintaining your own version of |
If I already have the full Anaconda distribution, then
Is this intended behaviour - why does it not simply use the existing installation? If I let this go ahead, will it mess up my existing anaconda installation? Thanks. |
Yes, this is the intended behaviour: Conda.jl is using it's own version of miniconda exactly to prevent it from messing up any existing anaconda installation (and to prevent the user from messing up the Conda.jl installation ^^). I really should add this to the README, as this question comes very often =) |
It would also be really useful if there could be some examples how to setup |
@Luthaf IJulia.jl seems to have a slightly different policy (it uses the global, potentially incomplete, ipython i.e. even if it's without jupyter) JuliaLang/IJulia.jl#363 (comment) |
@stevengj just added functionality for that in PyCall. See JuliaLang/METADATA.jl#5201 and links for the API.
As I wrote it, The main goal of Conda.jl is to provide a cross-platform access to native (C, C++ and Fortran) dependencies, not Python dependencies =). So it is completely up to users of Conda.jl to decide what to do with it. The IJulia.jl installation error should have it's own issue. I think this is some kind of bad interaction between packages. |
Yes - I looked at PyCall. the file is about 300 lines, and given enough time I could probably dissect it. I am more looking for a
|
I was more thinking about the But you could try to implement try
run(`conda install somepackage`)
catch
Conda.add("somepackage")
end Except it might not work all the time. If you are trying to get a Python dependency, I strongly recommend you use the |
thanks. so I could go the other way round, use
that way, if the package is already installed, I won't install it again? |
@cortner, the Note that this is documented in the PyCall README ... no need to read the PyCall source code. |
(Note that the first argument of |
@stevengj Thank you and sorry for missing that. |
@cortner Could you please open a separated issue for your problem? This one is for discussing the implementation of the |
Hi,I am new to Julia, log:
|
@manslogic, please don't post help requests to unrelated github issues. You are having a download problem; that might indicate a firewall or something on your machine. You could try asking for help on https://discourse.julialang.org/ |
It could be feasible to parse directly the metadata in the
info
folder to resolve the dependencies directly in Julia.Pro:
Con:
The text was updated successfully, but these errors were encountered: