configparser.DuplicateOptionError 'console_scripts' already exists

简介: configparser.DuplicateOptionError 'console_scripts' already exists

问题

升级模块 spideradmin


pip3 install -U SpiderAdmin


报错


configparser.DuplicateOptionError: While reading from '<???>' [line  3]: 
option 'spideradmin' in section 'console_scripts' already exists

解决

# 1、查找模块所在路径
find / -name spideradmin
# 2、移除所有相关的文件
rm -rf spideradmin
rm -rf SpiderAdmin-0.0.18.dist-info

重新安装就不报错了

相关文章
|
3月前
|
Linux iOS开发 MacOS
pnpm全局安装报错:Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PN
pnpm全局安装报错:Run “pnpm setup“ to create it automatically, or set the global-bin-dir setting, or the PN
520 0
|
6月前
|
JavaScript Cloud Native Go
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
32 0
|
7月前
cancal报错 config dir not found
cancal报错 config dir not found
|
8月前
|
缓存 前端开发 PHP
PHP - Laravel The stream or file “/storage/logs/.“ could not be opened in append
PHP - Laravel The stream or file “/storage/logs/.“ could not be opened in append
351 0
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
552 0
error: Two output files share the same path but have different contents: node_modules\.vite\..xxx.js
Package ffnvcodec was not found in the pkg-config search path
Package ffnvcodec was not found in the pkg-config search path
125 0
./configure: line 4850: ` XIPH_PATH_OGG(, as_fn_error $? "'
./configure: line 4850: ` XIPH_PATH_OGG(, as_fn_error $? "'
52 0
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
Package sqlite3 was not found in the pkg-config search path.add the directory containing `sqlite3.pc
143 0
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
101 0
解决报错信息 —— Error: Cannot find module ‘webpack-cli/bin/config-yargs’
解决报错信息 —— Error: Cannot find module ‘webpack-cli/bin/config-yargs’
242 0