cocalc-docker
cocalc-docker copied to clipboard
cannot compute cell due to time out after "sage -pip pypyodbc"
- 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
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*
This is more about documentation of how to install packages properly on a multiuser system, etc.