Dạo chơi cùng python
Keep updating
----------------------------
- Installing
Installing
if stuck to get jupyter lab.
Here is solution
https://stackoverflow.com/questions/41034866/running-jupyter-via-command-line-on-windows
the important things is to determined the directory of jupyter-lab
I got Jupyter notebook running in Windows 10. I found the easiest way to accomplish this task without relying upon a distro like Anaconda was to use Cygwin.In Cygwin install python2, python2-devel, python2-numpy, python2-pip, tcl, tcl-devel, (I have included a image below of all packages I installed) and any other python packages you want that are available. This is by far the easiest option.Then run this command to just install jupyter notebook:python -m pip install jupyter
Below is the actual commands I ran to add more libraries just in case others need this list too:python -m pip install scipy python -m pip install scikit-learn python -m pip install sklearn python -m pip install pandas python -m pip install matplotlib python -m pip install jupyter
If any of the above commands fail do not worry the solution is pretty simple most of the time. What you do is look at the build failure for whatever missing package / library.Say it is showing a missing pyzmq then close Cygwin, re-open the installer, get to the package list screen, show "full" for all, then search for the name like zmq and install those libraries and re-try the above commands.Using this approach it was fairly simple to eventually work through all the missing dependencies successfully.Once everything is installed then run in Cygwin goto the folder you want to be the "root" for the notebook ui tree and type:jupyter notebook
Nhận xét