#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Name : peilun
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}
I encountered the problem that there was no third-party library after my classmates created a new project , But it's already installed . At this time, you need to take a look at the current python Is the environment a virtual environment , Not the local environment . There will be in front of the virtual environment venv
The logo of .
Use pycharm Fast switch python And delete redundant versions