JuliaPy / PyPlot.jl

Plotting for Julia based on matplotlib.pyplot
https://github.com/JuliaPy/PyPlot.jl
MIT License
475 stars 87 forks source link

cannot `add PyPlot` because of unsatisfiable requirements #529

Closed francispoulin closed 3 years ago

francispoulin commented 3 years ago

I am trying to add PyPlots.jl but I get a problem with unsatisfiable requirements.

Below you will see my current status and the error message.

How can I resolve this?

(Benchmarks) pkg> status
     Project Benchmarks v0.1.0
      Status `/scratch/fpoulin/software/Oceananigans.jl/benchmark/Project.toml`
  [fbb218c0] BSON v0.3.3
  [6e4b80f9] BenchmarkTools v0.5.0
  [052768ef] CUDA v3.3.0
  [a93c6f00] DataFrames v1.1.1
  [7a1cc6ca] FFTW v1.4.1
  [033835bb] JLD2 v0.4.5
  [da04e1cc] MPI v0.17.2
  [bac558e1] OrderedCollections v1.4.1
  [32113eaa] PkgBenchmark v0.2.10
  [91a5bcdd] Plots v1.16.5
  [08abe8d2] PrettyTables v1.0.1
  [d330b81b] PyPlot v2.9.0
  [d496a93d] SeawaterPolynomials v0.2.0
  [56ddb016] Logging

(Benchmarks) pkg> add PyPlot
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CUDA [052768ef]:
 CUDA [052768ef] log:
 ├─CUDA [052768ef] has no known versions!
 └─restricted to versions * by Benchmarks [ee90295e] — no versions left
   └─Benchmarks [ee90295e] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─Benchmarks [ee90295e] is fixed to version 0.1.0
francispoulin commented 3 years ago

Sorry, I followed the instructions below and that seemed to work.

ENV["PYTHON"]=""
Pkg.build("PyCall")