mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 01:14:35 +08:00
Be compatible with Google Colab (#1188)
* Update workflow_by_code.ipynb * Update workflow_by_code.ipynb * Update workflow_by_code.ipynb * Update workflow_by_code.ipynb * Update workflow_by_code.ipynb
This commit is contained in:
@@ -38,6 +38,9 @@
|
|||||||
" # install qlib\n",
|
" # install qlib\n",
|
||||||
" ! pip install --upgrade numpy\n",
|
" ! pip install --upgrade numpy\n",
|
||||||
" ! pip install pyqlib\n",
|
" ! pip install pyqlib\n",
|
||||||
|
" if 'google.colab' in sys.modules:\n",
|
||||||
|
" # The Google colab environment is a little outdated. We have to downgrade the pyyaml to make it compatible with other packages\n",
|
||||||
|
" ! pip install pyyaml==5.4.1\n",
|
||||||
" # reload\n",
|
" # reload\n",
|
||||||
" site.main()\n",
|
" site.main()\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user