Giter Site home page Giter Site logo

Comments (4)

stevengj avatar stevengj commented on August 27, 2024

Works for me… but I haven't updated my conda packages recently, maybe there is a problem with the latest anaconda release? You could try pinning numpy or matplotlib to an older version…

from pyplot.jl.

deszoeke avatar deszoeke commented on August 27, 2024

I recently installed mamba (outside julia), and it appears julia PyCall is using it:

using PyCall
os = pyimport("os")
os.environ
 ... , 'CONDA_PYTHON_EXE': '$HOME/mambaforge/bin/python'

I had installed anaconda on my system, but the conda environment became unsolvable, so I switched to mamba. I didn't expect this to affect julia. I had thought the conda in julia was a separate installation (I use ENV["PYTHON"]="" before building PyCall), but it appears mine got connected to mamba.

from pyplot.jl.

kevinpolisano avatar kevinpolisano commented on August 27, 2024

On Mac OS 14.0, using PyPlot leads to:

julia> using PyPlot
[1]    13395 killed     /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia

Saving session...completed.

[Opération terminée]
julia> versioninfo()
Julia Version 1.9.4
Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 16 × Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
  Threads: 1 on 16 virtual cores

from pyplot.jl.

stevengj avatar stevengj commented on August 27, 2024

Works fine for me on MacOS 14 and Julia 1.9.4 … maybe your Python installation is broken?

If you are using Python via Conda.jl (which is the default on MacOS), you could try removing conda (rm -rf ~/.julia/conda) and rebuilding PyCall and PyPlot.

from pyplot.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.