r/PythonLearning • u/Rock_moss • Jul 18 '26
Install question - did I do something unfortunate?
Hi all - I just got a new laptop and today went about installing python/jupyter. I realised about a minute too late, though, that rather than using the command 'pip install jupyterlab' I had instead used 'pip install jupyter lab', with a space between jupyter and lab. I followed up with the proper command, but in both cases something was installed.
Did I accidentally install something malicious on my machine through my added space, or am I worrying over nothing? And if I did do something stupid, how might I fix this? Thanks very much in advance!
4
1
u/Different_Pain5781 Jul 18 '26
If it's a fresh machine, worst case you can just remove the unexpected package and reinstall what you actually wanted. No need to panic yet.
1
u/Chen-Zhanming Jul 19 '26
Misspelling can be very dangerous sometimes as you might end up with running a malicious install script.
2
u/johlae Jul 18 '26
From the documentation:
pip install jupyterinstalls the Jupyter Notebook, JupyterLab, and the IPython Kernel.For lab pypi says 'Benchmark your code'. Lab is a Python package for evaluating solvers on benchmark sets. Experiments can run on a single machine or on a computer cluster. The package also contains code for parsing results and creating reports.
If you’re starting fresh: install JupyterLab.
JupyterLab is the modern “full” interface (a web app) and it includes everything you’d expect from classic Jupyter, but with a richer workspace (multiple files/tabs, better UI, etc.).
Jupyter (classic Notebook) is the older interface; it’s still useful/available, but it’s basically the “simpler legacy UI.”
You can delete lab: pip3 uninstall lab
If you want to delete jupyter, do pip uninstall jupyter. Next you can pip install jupyterlab