Skip to content

Cannot plot NSException #433

@rveltz

Description

@rveltz

Hi,

I removed anaconda from my computer and try to have a clean install. However I am still unable to plot...

Am y doing something wrong?

Thank you,

Bests

julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.1.0 (2019-01-21)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> ENV["PYTHON"]=""
""

(v1.1) pkg> add PyCall PyPlot
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.1/Project.toml`
  [438e738f] + PyCall v1.91.1
  [d330b81b] + PyPlot v2.8.0
  Updating `~/.julia/environments/v1.1/Manifest.toml`
  [438e738f] + PyCall v1.91.1
  [d330b81b] + PyPlot v2.8.0

julia> using PyPlot

julia> plot(rand(10))
2019-04-05 16:04:59.861 julia[6702:464135] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7ff4d89a8100
2019-04-05 16:04:59.862 julia[6702:464135] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7ff4d89a8100'
*** First throw call stack:
(
)
libc++abi.dylib: terminating with uncaught exception of type NSException

signal (6): Abort trap: 6
in expression starting at no file:0
__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
Allocations: 20963753 (Pool: 20960122; Big: 3631); GC: 46
Abort trap: 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions