-
Notifications
You must be signed in to change notification settings - Fork 188
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
Bug on PyCall's master only (after dot overloading merged)? #636
Comments
I'm not sure what I should report more, I could exact versions, but doubt they matter for anything else that PyCall. I doubt it matters but I'm on Julia 1.2 (on Ubuntu 18.04.1). I guess I'm on PyCall's master, or whatever you get with
I probably never had to change from Python 3 (but either should work?!), just did when I ran into trouble that was I guess unrelated. |
You don't get PyCall's master when you If you type |
Thanks, for some reason, it seems however I was using master: (v1.2) pkg> status |
I do not get any errors on (non-master) v1.18.5 (with Python 2). I also got this to work with Conda/Python 3, and without Conda should be able to work too. |
I no longer get the errors I got on master, while I do get lots of warnings and actually don't get any plot displayed (note, it worked before with Conda, before trying master). Either I did something differently or master has changed recently (if you revered for me, I may have done something wrong the first time):
|
(v1.2) pkg> status I would have thought this to be the git commit, and since it's the same on master, and when I'm not on it, I would have thought I'm using the same code either way. So I'm confused why I don't get the plot on master (I've tried twice now). |
I did try master with:
and then I get the plot (and the warnings), so not sure why I don't get it with master and Conda. |
There's a workaround in the PyPlot thread, but should it be needed? |
I can reproduce this on my machine. I agree that it shouldn't be needed — it should work, albeit with lots of deprecation warnings. |
It appears to be a problem with the backend detection — |
I needed to switch to Python environment with qt5agg to reproduce this issue. If what you guys were seeing was Qt related, I think #647 should fix it. |
@PallHaraldsson You can now try PyCall master to see if it's fixed. |
It fixes the problem for me. |
Hi everyone, I don't quite understand how you guys fixed the warnings. Help? I'm
|
You need to open an issue in https://github.com/jlapeyre/Symata.jl so that they can update the code. |
I see. I thought my issue here is the same as what was discussed and resolved above. I'll do that. |
Minimal example, this works on PyCall, just not its master (when warnings display, but that seems not to be the problem as ok with Python 2.7):
By now, most of the discussion below is invalid (from a time I got errors, not just warnings, so must have done things differently), applied to:
I'm just trying it out (that worked with older PyCall; and older Julia, 0.6 I think):
cstjean/ScikitLearn.jl#51 (comment)
The text was updated successfully, but these errors were encountered: