sagemath / sage-windows

Build tools for the Sagemath Windows installer
350 stars 47 forks source link

How to install additional python packages, like pandas, in Windows Sage 8.3? #26

Closed hancjozef closed 6 years ago

hancjozef commented 6 years ago

In the current Windows installer 0.4 there is no need for administrator privileges. So what about the installation of Python packages now? Is there some change? I tried to install, e.g. Python pandas package, but no success.

Here are detailed steps of my trail.

  1. My PC system specifications - Windows 10 Pro, 1803, x64
  2. I had no problem to install Sage 8.3 by 0.4 Windows installer; Sage works very well.
  3. My unsuccessful steps in the installation of pandas:
    • run SageMath 8.3 shell
    • run command: pip install pandas
    • got an error without any installation of the pandas package

You can see the whole behavior in this video (link to video).

Any advice on what to do; how to install and use any optional Python packages in Windows Sage 8.3?

embray commented 6 years ago

Thanks this is a known issue fixed in the next build of the installer; I haven't uploaded it yet though. You can work around it now by running apt-cyg install python-devel, except apt-cyg is also slightly broken; see : #24 (which is also fixed in the next build).