xugaoxiang | 迷途小书童

What’s New in Pandas 2.0

Pandas is an open source data analysis tool, widely used in data cleaning, data processing, data analysis and other fields. I believe that children’s shoes who often do data processing are more familiar. With the increasing amount of data now, the limitations of pandas are becoming more and more prominent, and it is very annoying …

What’s New in Pandas 2.0 Read More »

ChatGPT Registration Tutorial

preparation conditions You must be able to surf the Internet scientifically . There are relevant content on this site, which can be searched and consulted. If you have purchase services, you can consider Just My Socks, the official service of the bricklayer. Need a foreign mobile phone number, if not, please refer to the following …

ChatGPT Registration Tutorial Read More »

Python virtual environment migration

environment windows 10 64bit anaconda 2022 conda-pack 0.6.0 Introduction When running some large-scale deep learning projects, the environment configuration often takes a large part of the time. If you encounter some version problems of dependent libraries, it may take longer. Wouldn’t it be a bit of a crash if you had to install it again …

Python virtual environment migration Read More »

Execute python scripts in bat

environment windows 10 64bit anaconda with python 3.8 Introduction Many python projects are directly executed by scripts, which is actually very unfriendly to some little white children’s shoes who have not been exposed to programming, and it is easy to make mistakes when typing the code by themselves. Integrating python scripts into batch files is …

Execute python scripts in bat Read More »

Clash set global proxy

environment windows 10 64bit clash for windows Introduction Since the default mode of clash is split mode, split mode means that domestic websites or APP use the local network, and foreign networks or APP use the proxy server network. The offload mode may cause individual applications or web pages to fail to proxy, so it …

Clash set global proxy Read More »

Solve the problem of python setup.py egg_info did not run successfully

Problem Description When installing some dependent libraries, I encountered a problem, and the error message is as follows Preparing metadata (setup.py) … error error: subprocess-exited-with-error python setup.py egg_info did not run successfully. exit code: 1 Solution Check if the version of pip is too old pip install -U pip Check if setuptools is installed pip …

Solve the problem of python setup.py egg_info did not run successfully Read More »

A text-to-speech tool

environment ubuntu 18.04 64bit Nvidia GTX 1070Ti 8G Introduction Tortoise is an open source Text-To-Speech program with powerful text-to-speech capabilities and highly realistic voice and intonation. to build Create a brand new python virtual environment conda create -n tts python=3.8 conda activate tts Then, pull the source code and install dependencies git clone https://github.com/neonbjb/tortoise- tts …

A text-to-speech tool Read More »

Python practical module (38) cvzone

environment windows 10 64bit python 3.8 cvzone 1.5.6 Introduction cvzone is an open source library for computer vision, its core is based on opencv and mdiapipe , it can be used for image processing and the realization of some AI functions very conveniently. Installation and use Use pip to install, execute the command pip install …

Python practical module (38) cvzone Read More »

Image conversion to WebP format

environment python 3.8 pillow 9.4.0 Introduction WebP is an image format developed by Google in 2010. It is mainly used in the network environment and provides lossless and lossy compression. Website developers can use WebP to create images with smaller size and richer details, so as to speed up the opening speed of the website …

Image conversion to WebP format Read More »

how to download tiktok video

environment windows 10 64bit google chrome 110.0.5481.77 Practical Enter the Douyin app , in the currently watching video, click the share icon in the lower right corner, and then click Copy Link Send to the computer through instant messaging applications, such as WeChat, QQ, etc. Copy url in the shared link and paste it into …

how to download tiktok video Read More »

Structs in Rust

environment windows 10 64bit Introduction A structure in Rust is a custom data type that can combine values ​​of multiple different data types to meet the actual needs of the project. definition Rust uses the keyword struct to define and name structures struct User { name: String, age: u32, score: f64, married: bool, } The …

Structs in Rust Read More »