Open
Description
Have you checked that your issue isn't already filed?
- I read through FAQ and searched through the past issues, none of which addressed my issue.
- Yes, I have checked that this issue isn't already filed.
Bug description
I get the same python3 not found error when I try to launch the docker
How to reproduce the bug
$ docker compose pull
$ docker compose up
I followed the instructions on my Mac and it seems to not be able to find python within the virtual environment.
Error messages and logs
(venv) sl925@fqn6xtkwlw smlmbrt.github.io % docker compose up --remove-orphans
[+] Running 4/0
✔ Container smlmbrtgithubio-jekyll-run-6f4463919e50 Removed 0.0s
✔ Container smlmbrtgithubio-jekyll-run-403ec3c858e5 Removed 0.0s
✔ Container smlmbrtgithubio-jekyll-run-b3652b519311 Removed 0.0s
✔ Container smlmbrtgithubio-jekyll-1 Created 0.0s
Attaching to jekyll-1
jekyll-1 | Entry point script running
jekyll-1 | Gemfile.lock is tracked by git, keeping it intact
jekyll-1 | Logging at level: debug
jekyll-1 | Jekyll Version: 4.3.4
jekyll-1 | Configuration file: /srv/jekyll/_config.yml
jekyll-1 | Logging at level: debug
jekyll-1 | Jekyll Version: 4.3.4
jekyll-1 | Requiring: /srv/jekyll/_plugins/cache-bust.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/details.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/download-3rd-party.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/external-posts.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/file-exists.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/google-scholar-citations.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/hide-custom-bibtex.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/inspirehep-citations.rb
jekyll-1 | Requiring: /srv/jekyll/_plugins/remove-accents.rb
jekyll-1 | Requiring: jekyll-archives
jekyll-1 | Requiring: jekyll-email-protect
jekyll-1 | Requiring: jekyll-feed
jekyll-1 | Requiring: jekyll-get-json
jekyll-1 | Requiring: jekyll-imagemagick
jekyll-1 | Requiring: jekyll-jupyter-notebook
jekyll-1 | Requiring: jekyll-link-attributes
jekyll-1 | Requiring: jekyll-minifier
jekyll-1 | Requiring: jekyll-paginate-v2
jekyll-1 | Requiring: jekyll-regex-replace
jekyll-1 | Requiring: jekyll/scholar
jekyll-1 | Requiring: jekyll-sitemap
jekyll-1 | Requiring: jekyll-tabs
jekyll-1 | Requiring: jekyll-terser
jekyll-1 | Requiring: jekyll-toc
jekyll-1 | Requiring: jekyll-twitter-plugin
jekyll-1 | Requiring: jemoji
jekyll-1 | Source: /srv/jekyll
jekyll-1 | Destination: /srv/jekyll/_site
jekyll-1 | Incremental build: disabled. Enable with --incremental
jekyll-1 | Generating...
jekyll-1 | Reading: /_layouts/about.liquid
jekyll-1 | Reading: /_layouts/archive-category.liquid
jekyll-1 | Reading: /_layouts/archive-tag.liquid
jekyll-1 | Reading: /_layouts/archive-year.liquid
jekyll-1 | Reading: /_layouts/bib.liquid
jekyll-1 | Reading: /_layouts/cv.liquid
jekyll-1 | Reading: /_layouts/default.liquid
jekyll-1 | Reading: /_layouts/distill.liquid
jekyll-1 | Reading: /_layouts/none.liquid
jekyll-1 | Reading: /_layouts/page.liquid
jekyll-1 | Reading: /_layouts/post.liquid
jekyll-1 | Reading: /_layouts/profiles.liquid
jekyll-1 | EntryFilter: excluded /LICENSE
jekyll-1 | EntryFilter: excluded /lighthouse_results
jekyll-1 | EntryFilter: excluded /bin
jekyll-1 | EntryFilter: excluded /Dockerfile
jekyll-1 | EntryFilter: excluded /FAQ.md
jekyll-1 | EntryFilter: excluded /INSTALL.md
jekyll-1 | EntryFilter: excluded /purgecss.config.js
jekyll-1 | EntryFilter: excluded /README.md
jekyll-1 | EntryFilter: excluded /package-lock.json
jekyll-1 | EntryFilter: excluded /package.json
jekyll-1 | EntryFilter: excluded /CONTRIBUTING.md
jekyll-1 | EntryFilter: excluded /Gemfile
jekyll-1 | EntryFilter: excluded /Gemfile.lock
jekyll-1 | EntryFilter: excluded /docker-compose.yml
jekyll-1 | EntryFilter: excluded /docker-compose-slim.yml
jekyll-1 | EntryFilter: excluded /.jekyll-cache
jekyll-1 | EntryFilter: excluded /readme_preview
jekyll-1 | EntryFilter: excluded /CUSTOMIZE.md
jekyll-1 | Reading: _posts/2015-03-15-formatting-and-links.md
jekyll-1 | DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1.To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from Kernel#load at /usr/local/bundle/bin/jekyll:25)
jekyll-1 | Reading: _posts/2015-05-15-images.md
jekyll-1 | Reading: _posts/2015-07-15-code.md
jekyll-1 | Reading: _posts/2015-10-20-disqus-comments.md
jekyll-1 | Reading: _posts/2015-10-20-math.md
jekyll-1 | Reading: _posts/2018-12-22-distill.md
jekyll-1 | Reading: _posts/2020-09-28-twitter.md
jekyll-1 | Reading: _posts/2022-02-01-redirect.md
jekyll-1 | Reading: _posts/2022-12-10-giscus-comments.md
jekyll-1 | Reading: _posts/2023-03-20-table-of-contents.md
jekyll-1 | Reading: _posts/2023-03-21-tables.md
jekyll-1 | Reading: _posts/2023-04-24-videos.md
jekyll-1 | Reading: _posts/2023-04-25-audios.md
jekyll-1 | Reading: _posts/2023-04-25-sidebar-table-of-contents.md
jekyll-1 | Reading: _posts/2023-05-12-custom-blockquotes.md
jekyll-1 | Reading: _posts/2023-07-04-jupyter-notebook.md
jekyll-1 | Reading: _posts/2023-07-12-post-bibliography.md
jekyll-1 | Reading: _posts/2023-12-12-tikzjax.md
jekyll-1 | Reading: _posts/2024-01-26-chartjs.md
jekyll-1 | Reading: _posts/2024-01-26-echarts.md
jekyll-1 | Reading: _posts/2024-01-26-geojson-map.md
jekyll-1 | Reading: _posts/2024-01-27-advanced-images.md
jekyll-1 | Reading: _posts/2024-01-27-code-diff.md
jekyll-1 | Reading: _posts/2024-01-27-vega-lite.md
jekyll-1 | Reading: _posts/2024-04-15-pseudocode.md
jekyll-1 | Reading: _posts/2024-04-28-post-citation.md
jekyll-1 | Reading: _posts/2024-04-29-typograms.md
jekyll-1 | Reading: _posts/2024-05-01-tabs.md
jekyll-1 | Reading: _posts/2024-12-04-photo-gallery.md
jekyll-1 | Reading: _scripts/search.liquid.js
jekyll-1 | EntryFilter: excluded /_pages/about_einstein.md
jekyll-1 | Reading: _pages/repositories.md
jekyll-1 | Reading: _pages/cv.md
jekyll-1 | Reading: _pages/news.md
jekyll-1 | Reading: _pages/profiles.md
jekyll-1 | Reading: _pages/blog.md
jekyll-1 | Reading: _pages/dropdown.md
jekyll-1 | Reading: _pages/projects.md
jekyll-1 | Reading: _pages/publications.md
jekyll-1 | Reading: _pages/teaching.md
jekyll-1 | Reading: _pages/404.md
jekyll-1 | Reading: _pages/about.md
jekyll-1 | bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
jekyll-1 | /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/utils.rb:142:in 'File#initialize': No such file or directory @ rb_sysopen - /srv/jekyll/venv/bin/python3 (Errno::ENOENT)
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/utils.rb:142:in 'IO.open'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/utils.rb:142:in 'Jekyll::Utils#has_yaml_header?'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:69:in 'block in Jekyll::Reader#read_directories'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:65:in 'Array#each'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:65:in 'Jekyll::Reader#read_directories'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:106:in 'block in Jekyll::Reader#retrieve_dirs'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:103:in 'Array#each'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:103:in 'Jekyll::Reader#retrieve_dirs'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:77:in 'Jekyll::Reader#read_directories'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:106:in 'block in Jekyll::Reader#retrieve_dirs'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:103:in 'Array#each'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:103:in 'Jekyll::Reader#retrieve_dirs'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:77:in 'Jekyll::Reader#read_directories'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/reader.rb:16:in 'Jekyll::Reader#read'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:181:in 'Jekyll::Site#read'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:78:in 'Jekyll::Site#process'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:28:in 'Jekyll::Command.process_site'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:65:in 'Jekyll::Commands::Build.build'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:36:in 'Jekyll::Commands::Build.process'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in 'block in Jekyll::Command.process_with_graceful_fail'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in 'Array#each'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in 'Jekyll::Command.process_with_graceful_fail'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/commands/serve.rb:86:in 'block (2 levels) in Jekyll::Commands::Serve.init_with_program'
jekyll-1 | from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in 'block in Mercenary::Command#execute'
jekyll-1 | from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in 'Array#each'
jekyll-1 | from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in 'Mercenary::Command#execute'
jekyll-1 | from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in 'Mercenary::Program#go'
jekyll-1 | from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary.rb:21:in 'Mercenary.program'
jekyll-1 | from /usr/local/bundle/gems/jekyll-4.3.4/exe/jekyll:15:in '<top (required)>'
jekyll-1 | from /usr/local/bundle/bin/jekyll:25:in 'Kernel#load'
jekyll-1 | from /usr/local/bundle/bin/jekyll:25:in '<top (required)>'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in 'Kernel.load'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in 'Bundler::CLI::Exec#kernel_load'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli.rb:452:in 'Bundler::CLI#exec'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor.rb:538:in 'Bundler::Thor.dispatch'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/cli.rb:29:in 'Bundler::CLI.start'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/exe/bundle:28:in 'block in <top (required)>'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
jekyll-1 | from /usr/local/bundle/gems/bundler-2.6.2/exe/bundle:20:in '<top (required)>'
jekyll-1 | from /usr/local/bundle/bin/bundle:25:in 'Kernel#load'
jekyll-1 | from /usr/local/bundle/bin/bundle:25:in '<main>'
What operating system are you using?
Mac (Sonoma 14.7.2 ; M1 chip)
Where are you seeing the problem on?
Running locally with Docker (docker compose) - Docker Desktop (4.38.0)
More info
The same problem happened in VSCode with a dev-container (as recommended).