Hi @cc7768 ,
Here is a list of installed packages, respectively from https://datascience.quantecon.org/introduction/local_install.html.
geopandas 0.6.1 py_0
python-graphviz 0.14.1 pypi_0 pypi
nodejs 10.13.0
pyldavis 2.1.2 pypi_0 pypi
gensim 3.8.3 pypi_0 pypi
folium 0.11.0 pypi_0 pypi
descartes 1.1.0 pypi_0 pypi
graphviz 2.38 hfa6e2cd_3
nodejs had a problem installing from the command given on the quantecon ds website. I need to use
“conda install -c anaconda nodejs” instead.
There are 3 packages having problem which are qeds, xgboost, and pyarrow. All of which seems to originate from 32-bit platform, which is my computer (It’s very old.)
Jupyterlab extension has one problem with this command:
“jupyter labextension install jupyterlab-plotly@1.5.2 --no-build”
An error occured.
ValueError:
"jupyterlab-plotly@1.5.2" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package
>=2.1.0 <2.2.0 >=1.3.0 <2.0.0 @jupyterlab/rendermime-interfaces
See the log file for details: C:\Users\Armmer\AppData\Local\Temp\jupyterlab-debug-ig8jndao.log
This also leads to Jupyter lab build fails
Build failed.
[LabBuildApp] JupyterLab 2.1.5
[LabBuildApp] Building in C:\ProgramData\Anaconda3\share\jupyter\lab
[LabBuildApp] Building jupyterlab assets (build:prod:minimize)
Troubleshooting: If the build failed due to an out-of-memory error, you
may be able to fix it by disabling the dev_build
and/or minimize
options.
If you are building via the jupyter lab build
command, you can disable
these options like so:
jupyter lab build --dev-build=False --minimize=False
You can also disable these options for all JupyterLab builds by adding these
lines to a Jupyter config file named jupyter_config.py
:
c.LabBuildApp.minimize = False
c.LabBuildApp.dev_build = False
If you don’t already have a jupyter_config.py
file, you can create one by
adding a blank file of that name to any of the Jupyter config directories.
The config directories can be listed by running:
jupyter --paths
Explanation:
-
dev-build
: This option controls whether a dev
or a more streamlined
production
build is used. This option will default to False
(ie the
production
build) for most users. However, if you have any labextensions
installed from local files, this option will instead default to True
.
Explicitly setting dev-build
to False
will ensure that the production
build is used in all circumstances.
-
minimize
: This option controls whether your JS bundle is minified
during the Webpack build, which helps to improve JupyterLab’s overall
performance. However, the minifier plugin used by Webpack is very memory
intensive, so turning it off may help the build finish successfully in
low-memory environments.
An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details: C:\Users\Armmer\AppData\Local\Temp\jupyterlab-debug-aezfakgf.log
This looks messy so let me sum up.
1. My 32-bit system cannot install qeds, xgboost pyarrow and the jupyter lab build failed.
2. My 64-bit yet Windows 7 can install every component except nodejs I need to install version 10.13.0. (nodejs 14.5.0 was successfully installed but it showed error when I tried jupyterlab extension) **
**** I am not sure whether this leads to the error when I tried jupyter labextension install jupyterlab-plotly@1.5.2 --no-build. However, there is no error message showing build failed in this case, so the only things unsuccessful was install jupyterlab-plotly@1.5.2.
==================================================================
My questions are:
- Does this mean I cannot use this (32-bit) computer to study the DataScience section?
- Can I use the cloud setup pims.syzygy.ca instead using this computer ? (I found the execution is a bit stangely slow, e.g. simple arithmetics took 2 seconds or more.)
- Can I do my own project that has to use those relevant packages using cloud setup via pims.syzygy.ca ?
I did try to install these on 64-bit system, but my Windows is 7 and it showed error messages like nodejs is for Windows 8.1 or later, and my 64-bit system cannot run any jupyterlabextension.
Thanks very much.!