jupyter --icesat data (全是抄的)

1. anaconda prompt run as administrator

change direction to your filepath

then type jupyter notebook to open 

 

2. install packages in jupyter from other sources(?)

在jupyter notebook中直接输入:!pip install  [package]

在jupyter notebook中输入命令行指令时,前面都要加上!

eg:!ls     !pwd    !touch mytext.txt

 

3. change adobe reader display language: press ctrl to open adobe reader

close adobe reader security mode: edit-preference-enhanced security- deselect"enable enhanced security"

change Chrome display language: setting-privacy and security-scroll to the end, open "advanced", then language, download location and live caption could be changed

 

4. reset pc

install anaconda for all users, add path to environment variable(select), install it under C(create a new folder named"Anaconda" under C (note that no space in the folder name),then install )

conda update -n base conda

conda -V

 

conda update -n base conda

conda update --all

conda install gdal

(type "python" in anaconda prompt, then "import gdal", no error reported, then fine )

conda update gdal

conda install geopandas

(需要下载Microsoft C++ Build Tools(https://visualstudio.microsoft.com/visual-cpp-build-tools/)

desktop development with C++, (select MFC)install)--not sure, if now work, then run it

conda install pip

pip install pipwin

conda update --all

error:

(pip error)conda install C:\Users\zhous\OneDrive\Desktop\GDAL-3.3.0-cp310-cp310-win_amd64.whl(download from other sites)

still error, then 

pip install --upgrade pip

move whl to anaconda\Scripts, conda/pip install gdal.whl  (still error)

pip install icepyx   (WORKS!)

 

conda install -c conda-forge cartopy(still failed)

conda install cartopy (wait for long and it works)

jupyter --icesat data (全是抄的)_第1张图片

icepyx    still failed!!!!!!!!!!!!!!!!!

pip install git+https://github.com/SciTools/cartopy.git
git clone https://github.com/icesat2py/icepyx.git

https://github.com/icesat2py/icepyx (failed)

ok!  functions are under icepyx.core

conda install -c conda-forge icepyx  (also works, but not needed, the problem is to quote the sub-module core)

 

 

5. %matplotlib widget

ModuleNotFoundError: No module named 'ipympl'

conda install ipympl

(no need to restart jupyter notebook, run codes directly after prompt install)

 

 

你可能感兴趣的:(jupyter --icesat data (全是抄的))