conda-forge / sage-feedstock

A conda-smithy repository for sage.
BSD 3-Clause "New" or "Revised" License
7 stars 11 forks source link

conda: Sage documentation not installed #53

Open pjgoodall opened 4 years ago

pjgoodall commented 4 years ago

Issue:

I installed Sage using mamba, the Sage documentation does not seem to be available. As a new user, I have not been able to find a solution. I suggest that document installation should be by default, or at-least a well explained option. I used this guide for installation: Sage Install Guide>Install from conda-forge

% mamba env create --file ./environment.yml

I always use an environment.yml to manage conda environments. I had already installed mamba into my base environment.

name: SageMath
channels:
  - conda-forge
  - anaconda
  - defaults
dependencies:
  - conda-forge::sage
  - conda-forge::mamba
  - anaconda::python>=3.7
  - nodejs
  - pip

Opening a sage notebook server %sage -n jupyter. I get an error if I search for documentation as suggested in this tutorial:

% search_doc("numerical approximation")
  Warning: the Sage documentation is not available

Otherwise, it appears the Sage system is OK - but I am a complete beginner.

Environment

My platform:

 %  lsb_release -a 
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:    18.04
Codename:   bionic

output of conda list:

% conda list

conda_list.zip

 % conda info                

     active environment : SageMath
    active env location : /home/______/miniconda3/envs/SageMath
            shell level : 2
       user config file : /home/______/.condarc
 populated config files : /home/______/.condarc
          conda version : 4.8.3
    conda-build version : not installed
         python version : 3.7.6.final.0
       virtual packages : __cuda=10.1
                          __glibc=2.27
       base environment : /home/______/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/______/miniconda3/pkgs
                          /home/______/.conda/pkgs
       envs directories : /home/______/miniconda3/envs
                          /home/______/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.6 Linux/5.3.0-53-generic ubuntu/18.04.4 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
azerad commented 1 year ago

I had the same issue. So I removed the conda env and installed sage with the standard synaptic manager (which amounts to sudo apt install sagemath)