cocalc-docker icon indicating copy to clipboard operation
cocalc-docker copied to clipboard

cannot compute cell due to time out after "sage -pip pypyodbc"

Open jpcaveiro opened this issue 7 years ago • 1 comments

  • After restarting project it doesn't answer.
  • Doing "restart worksheet" results in error.
root@505dfd72f5a8:~# sage -pip install pypyodbc
root@505dfd72f5a8:~# sage
Forcing sage-location, probably because a new package was installed.
Cleaning up, do not interrupt this.
Done cleaning.
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.2, Release Date: 2018-05-05                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: import pypyodbc

jpcaveiro avatar Jul 26 '18 15:07 jpcaveiro

It seems this is a possible solution for packages like our "pre-alfa megua package":

# sage -pip install git+https://github.com/jpedroan/meguacocalc.git
# cd /usr/local/sage/local/lib/python2.7/site-packages
# chmod -R go+rX megua/
# chmod -R go+rX megua-0.2.dev68+ng73387c5-py2.7.egg-info/
# chmod -R go+rX pypy*

jpcaveiro avatar Jul 26 '18 15:07 jpcaveiro

This is more about documentation of how to install packages properly on a multiuser system, etc.

williamstein avatar Mar 15 '23 15:03 williamstein