Pytorch installation and configuration in pycharm and jupyter-CPU detailed version

1. Create a virtual environment conda create -n virtual environment name python=3.6 It prompts me that I have already created this virtual environment, select y. After creation, the following screen is displayed Check again whether the creation is successful Enter the following command conda env list From the picture below, you can see that it […]

Python data analysis and application NumPy(1) (jupyter notebook)

Create array import numpy as np arr1=np.array([0.3,0.5,4.2])#Create a one-dimensional array arr2=np.array([[3,4,5],[4,2,1]])#Create a two-dimensional array print(arr1) print(arr2) print(type(arr1)) [0.3 0.5 4.2] [[3 4 5] [4 2 1]] <class ‘numpy.ndarray’> #View the basic properties of the array print(arr1.shape)#returns a tuple print(arr1.ndim) print(arr1.dtype)#data type print(arr2.shape) print(arr2.ndim)#Return the dimension of the array print(arr2.dtype) (3,) 1 float64 (twenty three) 2 […]

This error originates from a subprocess Termux matplotlib pandas compilation error and jupyter installation issues

Article directory Notice Problem Description ~~Question complaints~~ Solution 3 steps version record 1 Clear pip cache 2 Successful installation of matplotlib matplotlib completes dependent commands 3 Successful installation of pandas Supplementary question 1: `pip install jupyter` error: solution Supplementary question 3: There is a conflict between openblas and libopenblas, causing libopenblas to fail to be […]

Amazon AWS EC2 configuration jupyter notebook remote access

Solution Overview method Create SSH tunnel method Possible errors Option One Option II Overview of methods Miniconda3 is installed in the Ubuntu system of AWS EC2 and Jupyter Notebook is started. If Jupyter Notebook cannot be successfully opened in the local browser by copying the link given in the terminal, you usually need to check […]

Install jupyter notebook in Anaconda environment, create shortcuts, add/delete kernels, configure theme colors and toolbars [Update]

Install jupyter notebook, create shortcuts, add/remove kernels, configure theme colors and toolbars in Anaconda environment Tip: This article is a record of a series of successful installation processes such as Anaconda + cuda + cudnn + TensorFlow + pytorch + jupyter notebook. Some steps have version number requirements, such as TensorFlow and cuda + cudnn. […]

Sharing jupyter between python and R is not successful at the moment–The letter makes me miserable, I will stay with you forever

conda creates an R environment: conda create -n lry_R4.2.2 conda activate lry_R4.2.2 conda install -c conda-forge r-base=4.2.2 After installation, enter R to run R. Exit and enter q(); In the R environment, you can install the corresponding R package. The corresponding R package can be installed in the R environment. Or use conda to install, […]

Install and run JavaScript applications on Jupyter Lab (Notebook)

Install and run JavaScript applications on Jupyter Lab (Notebook) Build and Run JavaScript Applications on Jupyter Lab or Jupyter Notebook Jupyter Lab (or Jupyter Notebook) is popular for its powerful functionality and dynamic programming style. When we usually write JS applications, we often need functional exercises of small modules, or dynamic interaction of functions and […]

Kubernetes deploys Jupyterlab through Deployment

Summary Deploy the jupyterlab service on Kubernetes and connect to MySQL in the Kubernetes cluster to implement simple data development functions. Precondition Image preparation: Customizing Docker image–Jupyterlab-CSDN blog MySQL-Statefulset preparation: StatefulSet simple practice Kubernetes-CSDN blog Steps 1-namespace.yaml apiVersion: v1 kind: Namespace metadata: name: jupyterlab labels: app1: jupyterlab app.kubernetes.io/name: jupyterlab 2-jupyter-config.yaml Key configuration: c.ServerApp.allow_remote_access = True […]

Deploy Jupyter notebook on Linux server

Background When I first started learning Python, I downloaded the native version from the Python official website and used its own coding environment. Later I learned that it is better to use Jupyter notebook in the fields of data analysis and data science, so I have been using it until now. Jupyter notebook, and occasionally […]

Jupyter Lab’s top ten efficient productivity plug-ins!

Source: Machine Learning Algorithm and Python Practical Combat? This article is about 2,200 words, and it is recommended to read it for 5 minutes. This article introduces Jupyter Lab’s top ten efficient productivity plug-ins. If you are a data scientist using Python, then using Jupyter Notebook is a high probability event. As the “next generation” […]