Introduction to scientific computing with PythonInstallationWindows and macOSInstall Anaconda for Windows or macOS. For TensorFlow on recent Mac notebooks, you may need this workaround (thanks to P. Liautaud). Ubuntu/DebianYou can either install Anacoda for Linux or (favorite option) install python3 with its package manager pip: sudo apt-get install python3-full python3-pip ipython3 Since 2024, packages have to be installed inside a virtual environment. To create it: python3 -m venv ~/p3venv/ Then, jump in it and install the required packages manually: source ~/p3venv/bin/activate pip3 install jupyterlab numpy scipy matplotlib pillow scikit-learn seaborn pandas statsmodels cvxopt ipympl tensorflow To quit the virtual environment, use: deactivate To launch JupyterLab, write in a shell: source ~/p3venv/bin/activate jupyter-lab Material
|