quarto-dev / quarto-dev/quarto-cli

Installing "python3 -m pip install jupyter matplotlib plotly_express" fails

Open
#2,327 5 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Sep 14, 2022.

documentation upstream
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

I followed the instructions in the tutorial here: https://quarto.org/docs/get-started/hello/vscode.html
It said to execute this command:

python3 -m pip install jupyter matplotlib plotly_express

I executed it and I got the following error output:

 Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-install-nopuxoh1/scipy/setup.py", line 631, in <module>
          setup_package()
        File "/tmp/pip-install-nopuxoh1/scipy/setup.py", line 627, in setup_package
          setup(**metadata)
        File "/tmp/pip-build-env-osw6z1d6/lib/python3.7/site-packages/numpy/distutils/core.py", line 137, in setup
          config = configuration()
        File "/tmp/pip-install-nopuxoh1/scipy/setup.py", line 529, in configuration
          raise NotFoundError(msg)
      numpy.distutils.system_info.NotFoundError: No BLAS/LAPACK libraries found.
      To build Scipy from sources, BLAS & LAPACK libraries need to be installed.
      See site.cfg.example in the Scipy source directory and
      https://docs.scipy.org/doc/scipy/reference/building/index.html for details.
  
      ----------------------------------------
  Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-nopuxoh1/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-mzmn3in7/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-0s4nd0vv --compile" failed with error code 1 in /tmp/pip-install-nopuxoh1/scipy/
  
  ----------------------------------------
Command "/usr/bin/python3 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-0s4nd0vv --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel cython>=0.29.22 oldest-supported-numpy scipy>=1.3" failed with error code 1 in None

I am using MX Linux 19.4. What should I do to get this working so I can follow the rest of the tutorial?

Checklist
  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.