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 […]

PyCharm 2023.2 latest changes

PyCharm 2023.2 latest changes PyCharm 2023.2 is a feature A powerful Python integrated development environment that provides Python developers with many new features and improvements. This tutorial will introduce the latest changes in PyCharm 2023.2, including Django support, Black formatter integration, AI Assistant, Run Anything, GitLab integration, etc., to help novice programmers quickly master the […]

Python IDE | VS Code or Pycharm?

Click “Xiaobai Xue Vision” above and choose to add “star” or “pin“ Heavy stuff, delivered as soon as possible Editor’s Recommendation In programming, VS Code has been the author’s primary IDE for 5 years. It may be incomprehensible that the author decided to replace it at this point in time. The article will share with […]

Configure GPU training environment (Anaconda) in pycharm (yolov5)

Table of Contents 1. Specific configuration process: 2. Create a virtual environment at the specified location (path): 3. Commonly used conda commands: 4: Some problems encountered when running the model: 4.1: conda added python interpreter cannot find the corresponding python.exe file 4.2: Error “OSError: [WinError 1455] The page file is too small and the operation […]

VSCode & PyCharm

Table of Contents 1. VSCode (1) Commonly used plug-ins (extensions) Django, Django Template, Pylance, Python, Code Runner (2) Issues related to plug-ins (extensions) 1. ErrorThe Pylance server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information. reason: solve: 2. Python code highlighting exception (dependencies […]

Remote debugging using pycharm

Use the professional version of pycharm, which has the ssh interpreter function in the interpreter settings; Generally, remote code cannot be debugged locally, and mechanical scp file transfer greatly affects work efficiency. PyCharm Pro supports remote run, debug, and other visual functions. Operating system: local MacOS, remote Linux (all three local operating systems are supported, […]

PyCharm integrates Anaconda

PyCharm integrates Anaconda Anaconda is an open source Python distribution that integrates many commonly used scientific computing and data analysis tools. With Anaconda, we can easily install and manage Python packages, create and manage virtual environments. Anaconda contains many commonly used Python libraries for data analysis, machine learning and scientific computing, such as NumPy, Pandas, […]

Anaconda and pycharm installation, and python interpreter environment configuration

Directory 1. Uses of Anaconda 2. Anaconda installation 3. pycharm installation 4. pycharm + Anaconda creation environment and configuration 1. Uses of Anaconda 1. Environment management: Anaconda allows users to easily create and manage different Python environments. These environments can contain specific versions of the Python interpreter as well as different packages and libraries relevant […]

Configure Pytorch-gpu in Pycharm (run the informer algorithm model)

1. Install Anaconda 1. Download the Anaconda installation package Go to the official website https://www.anaconda.com/download to download the Anaconda installation package suitable for your operating system. (Take Windows as an example) 2. Install Anaconda Double-click the downloaded “Anaconda3-2023.09-0-Windows-x86_64.exe” to install. Click “Next”. Select the installation path, preferably a path other than C drive. Select “Installation […]

Pycharm replacement source (source change) (mirror source)

Reference article: Pycharm software replaces pip’s default installation source with domestic installation source I tried it, and it didn’t seem to work if I changed it. I’d better use that one pip install -i https://pypi.tuna.tsinghua.edu.cn/simple xxx Article directory 20230816 Detailed explanation of PyCharm source change (mirror source) Table of contents What is PyCharm? Why change […]