Python Tips 01: A Super Practical Guide to Packaging Programs into EXE Files

Starting from Anaconda, step by step guide to package your script 🚀 In daily development, we often write efficient scripts in Python, such as data processing tools and automation programs. However, if we want to share them with non-programmer friends, they may not have a Python environment installed. In this case, packaging the Python program … Read more

Setting Up a Python Development Environment

First, you need to understand Python, PyCharm, Anaconda, and Miniconda. What are they? What is their relationship?Python is a high-level, interpreted programming language. It is known for its concise and readable syntax and strong community support, widely used in web development, data science, artificial intelligence, automation, and more. It is the foundation of all these … Read more

Tired of Python Environment Issues? Master Conda in 10 Minutes and Say Goodbye to Version Conflicts

Just resolved the version issue with TensorFlow, and now PyTorch throws an error? Switching projects leads to Python version conflicts that make you want to smash your keyboard? New colleagues run your code and always miss dependencies, wasting a whole day just setting up the environment? If you have faced these frustrating issues, then today’s … Read more

Don’t Upgrade the GeoPandas Python Package Lightly

Don't Upgrade the GeoPandas Python Package Lightly

Last week, I updated mycomputersystem and reset mycomputer, reinstalling the Conda environment. Today, while running some previously written code, I couldn’t get the plotting to work correctly. After trying various methods, I finally discovered that the issue was due to updatingGeoPandas to the latest version 1.1.1. Although it was a minor issue, it caused quite … Read more

Python Development Environment and Engineering Notes for the First Half of 2024

Python Development Environment and Engineering Notes for the First Half of 2024

This article summarizes the technical key points of Python development environment configuration, performance optimization, web development, and engineering practices, providing comprehensive guidance for efficient development. Conda Environment Management Environment Configuration Initialization Settings # Conda initialization script __conda_setup="$('/home/user/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" eval "$__conda_setup" if [ -f "/home/user/miniconda3/etc/profile.d/conda.sh" ]; then . "/home/user/miniconda3/etc/profile.d/conda.sh" else export PATH="$PATH:/home/user/miniconda3/bin" fi … Read more

Setting Up a CentOS 7 VMware Virtual Machine Work Environment (R4.5.1 + Python 3.11.7)

Setting Up a CentOS 7 VMware Virtual Machine Work Environment (R4.5.1 + Python 3.11.7)

Setting up a CentOS 7 VMware virtual machine work environment is the foundation for the system to run properly and for users to work efficiently. Step 1: Install Anaconda. Download Anaconda and place it in the shared folder. Official download link: https://www.anaconda.com/ Step 2: Enter the Linux system of the virtual machine and navigate to … Read more

Introduction to Computational Linguistics | Installation and Basic Applications of the Python Library spaCy

Introduction to Computational Linguistics | Installation and Basic Applications of the Python Library spaCy

Hello, everyone! I am Xiiiia. For those who have just learned the basic syntax rules of Python and are stepping into the world of computational linguistics, mastering the use of spaCy largely determines whether you can become an independent text analyst. This series mainly focuses on the knowledge related to the Python library spaCy, including … Read more

How to Use Conda Installed R in RStudio on a Linux Server with Multiple Users

How to Use Conda Installed R in RStudio on a Linux Server with Multiple Users

How to use Conda installed R in RStudio on a Linux server with multiple users Note: All processes require administrator privileges. 01 First, install RStudio 1. Check the server system version to confirm which version of RStudio to install. Choosing the wrong version may lead to issues (at least that’s what I found). cat /etc/redhat-releaseCentOS … Read more

The Most Comprehensive Python Environment Configuration Guide for Beginners

The Most Comprehensive Python Environment Configuration Guide for Beginners

1. Install Pycharm(1) Go to the official Pycharm website homepage, download the latest version of Pycharm, most people choose the community version. Link:https://www.jetbrains.com/pycharm/(2) After downloading the installation package, the installation steps are as follows: Note: After the installation is complete, you can see the Pycharm icon on the desktop. Click to open it, indicating that … Read more

Steps to Set Up a Python Virtual Environment

Steps to Set Up a Python Virtual Environment

Open the folder where you want to run the program, and type cmd in the current folder. In the cmd, type: Create a virtual environment cls is the name you give to the virtual environment conda create -n cls python==3.8.5 Activate the virtual environment conda activate cls Install various libraries from the requirements folder pip … Read more