- with open("./data/YEDDA.txt", "r",encoding='utf-8') as f1,open("D:/桌面/data/weibo3.txt", "r", encoding='utf-8') as f2:
- with open("./data/YEDDA.txt", "r",encoding='utf-8') as f1:
- with open("D:/桌面/data/weibo3.txt", "r", encoding='utf-8') as f2:
LookupError: unknown encoding: uft-8
这个错误是记录错误类型的,第一次遇到LookupError ,这个是编码格式本来应该是utf-8 自己打字的时候打错了,打成uft-8 了 所以就出现了这个错误.
On October 5th and 6th, 2021, Mr. Wang Fei from Beijing Tuohuangzu Technology Co., Ltd. led the company team to Raoping County, Chaozhou City, Guangdong Province to conduct a two-day live streaming training for a senior e-commerce company. During the period when Douyin live streaming was popular, the e-commerce company also started live streaming on Douyin. In the early stage, it purchased a 365-yuan live streaming course from Sequoia Club to learn on its own. However, in the long-term live broadcast process, they still encountered professional problems that were difficult to solve by themselves. So I approached teacher Wang Fei for consultation. The e-commerce company mentioned that due to multiple changes in the price of the product during the live broadcast, the platform prompted "false prices" and "disturbed the order of the platform" and the live broadcast could not be carried out normally. After learning the specific situation, Mr. Wang Fei suggested that the merchant adjust the price by using coupons to avoid, ,
1. Modify the configuration file: Edit the configuration file: vim /etc/ssh/sshd_config Display line number: Enter: set nu and modify in turn: Line 34: PermitRootLogin prohibit-password is changed to PermitRootLogin yes Line 58: #PasswordAuthentication yes, remove the # in front 2. Start the ssh service: /etc/init.d/ssh start or service ssh start 3. View the ssh status: /etc/init.d/ssh status or servi, ,