-
Notifications
You must be signed in to change notification settings - Fork 13
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
Is a Conda.jl
interpreter necessary for this code, or only a properly configured PyCall.python
interpreter?
#48
Comments
PyCall.python
interpreter?
PyCall.python
interpreter?Conda.jl
interpreter necessary for this code, or only a properly configured PyCall.python
interpreter?
You are right - seems that the Conda dep is actually not needed. Actually SimpleHypergraphs should work without Python altogether - Python is only being used for some types of visualizations. |
Great, thanks for replying @pszufe ! I'm using your interface to I'll eventually need to get this all set up on a cluster, so if I manage to do everything without |
PyCall can be built with an external Python, eg.: https://stackoverflow.com/questions/69968084/cannot-install-pycall-jl-with-julia-1-6-3-build-on-freebsd-13 This however should be better Anaconda/Miniconda rather than pure Python. A pure Python installation is also possible but often leads to some issues. If you decide for the pure Python path perhaps keep it as a separate Python installation rather than going with the in-built system Python. |
I'm wondering if it is necessary to use
Conda.jl
to managematplotlib
,pandas
, andnetworkx
, or if that is just offered out of convenience? All are available viapip
, which is accessible viaPyCall
(as long as it is configured to an interpreter) and already being used to installhypernetx
for plotting. If myPyCall
points to a python interpeter with all of the relevant packages, everything should still work, correct?I have it working at the moment, but to be honest I do not totally understand how, which is a bit concerning, so thought I would open an issue in case the answer is straightforward.
I am asking specifically because I am developing on an Apple Silicon Mac and the binaries for a python package I need to use are only installable via HomeBrew for me at the moment (they are not available on the conda channels for this machine). So even though it is not ideal for many reasons, I need to use the brew python as the interpeter for part of my scripts. If I can just use
PyCall
to manage python forSimpleHypergraphs.jl
, it is no problem, since I can easily install all of the packages required in my brew python. So my question is whether there is any reason the internals ofSimpleHypergraphs.jl
need to use an interpreter installed usingConda.jl
, or should I expect everything to work as long as myPyCall.python
interpreter can load the necessary packages?The text was updated successfully, but these errors were encountered: