mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 05:51:17 +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",
|
||||
" ! pip install --upgrade numpy\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",
|
||||
" site.main()\n",
|
||||
"\n",
|
||||
|
||||
Reference in New Issue
Block a user