Giter Club home page Giter Club logo

Comments (6)

stevengj avatar stevengj commented on September 20, 2024

Weird, I've never seen that error before. I'm guessing happens during pyinitialize, perhaps during the call to PySys_SetArgvEx, and is PyCall problem rather than a PyPlot problem.

from pyplot.jl.

autozimu avatar autozimu commented on September 20, 2024

BTW, the Python version is 3.3

from pyplot.jl.

autozimu avatar autozimu commented on September 20, 2024

If I change the Python version to 2.x, the errors are gone and everthing works perfect.

from pyplot.jl.

stevengj avatar stevengj commented on September 20, 2024

Ah, I see. I don't have matplotlib etcetera installed for Python 3.x (most scientific/technical users seem to be with 2.7 still), so it will be a while before I can test this, but I need to get around to it at some point (also for JuliaPy/PyCall.jl#24).

from pyplot.jl.

jacksilver045 avatar jacksilver045 commented on September 20, 2024

On archlinux, /usr/bin/python is a symlink to python3. I would suggest to explicitely initialize for python2, by adding a call to

pyinitialize("python2")

in PyPlot.jl, until the code is fixed for python 3.

from pyplot.jl.

stevengj avatar stevengj commented on September 20, 2024

python2 doesn't exist on all systems (e.g. MacOS doesn't have Python installed under that name).

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.