Comments (2)
If you don't want PyPlot to install its own Conda distro and use that to install matplotlib, then you shouldn't use ENV PYTHON=""
.
from pyplot.jl.
That's fair, my mistake. Here is our actual use case:
FROM ubuntu:22.04
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y wget python3-venv && \
rm -rf /var/lib/apt/lists/*
RUN wget -nv https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.1-linux-x86_64.tar.gz && \
tar xf julia-1.9.1-linux-x86_64.tar.gz && \
rm julia-1.9.1-linux-x86_64.tar.gz && \
ln -s /julia-1.9.1/bin/julia /usr/local/bin/julia
RUN python3 -m venv venv
RUN . venv/bin/activate && \
pip install -U pip && \
pip install -U matplotlib==3.7.0
ENV PYTHON="/root/venv/bin/python"
RUN julia -e 'import Pkg; Pkg.add("PyPlot")'
RUN julia -e 'using PyPlot'
The same error occurs:
> [7/7] RUN julia -e 'using PyPlot':
#0 1.434 [ Info: Installing matplotlib via the Conda matplotlib package...
#0 1.435 [ Info: Running `conda install -y matplotlib` in root environment
#0 1.892 Collecting package metadata (current_repodata.json): ...working... done
#0 17.04 Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
#0 23.96 Solving environment: ...working... unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
#0 27.86
#0 27.86 ResolvePackageNotFound:
#0 27.86 - conda==23.1.0
from pyplot.jl.
Related Issues (20)
- __version__ not found when using PyPlot HOT 3
- twinx() and fgcolor issue HOT 2
- PyPlot Error
- Using PyPlot on CI suddenly fails HOT 1
- No working GUI backend found for matplotlib HOT 5
- unrelated println statement leads to blank plot
- getp not defined? HOT 1
- The show() method doesn't seem to work. HOT 2
- Window requires focus before functions return HOT 4
- Using the backend :qt not working HOT 1
- using PyPlot hangs/kills julia 1.8.5 or 1.9.0 on MacOS HOT 4
- PyPlot.jl as a dependency breaks package registration? HOT 4
- ResolvePackageNotFound error in Ubuntu/Linux HOT 3
- `using PyPlot` crashes package precompilation on Julia v1.10.0-beta1 HOT 4
- Need a new release (Julia 1.10 PkgEval) HOT 2
- Qt: Session management error on linux
- Pyplot crash on window HOT 8
- Displaying plots in vscode HOT 2
- violinplot not defined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyplot.jl.