三维基因组分析:HiC-Pro 软件安装与测试--error : wemake-python-styleguide 0.14.1&&flake8-eradicate 0.4.0(1)

1. Issue Description:

when installed python development tools , executed the command python3.8 -m pip install python-dev-tools , the error occurred :

#ERROR : wemake-python-styleguide 0.14.1 has requirement flake8-eradicate<0.4,>=0.3, but you'll have flake8-eradicate 0.4.0 which is incompatible.
 

when the installation procedure finished, checked the version of flake8-eradicate according to the installation procedure information, and we can see that the default version of flake8-eradicate installed is 0.4.0 , then the error occurred :

Collecting flake8-eradicate<0.5,>=0.3
  Downloading https://files.pythonhosted.org/packages/e3/ae/c45dcc3550b05270b467d8740553696d8036888f339b797a62f5b47b148f/flake8_eradicate-0.4.0-py3-none-any.whl

Successfully installed  flake8-3.8.4 flake8-2020-1.6.0 flake8-bandit-2.1.2 flake8-broken-line-0.2.1 flake8-bugbear-19.8.0 flake8-builtins-1.5.3 flake8-commas-2.0.0 flake8-comprehensions-3.3.1 flake8-debugger-3.2.1 flake8-docstrings-1.5.0 ```flake8-eradicate-0.4.0```flake8-fixme-1.1.1 flake8-isort-3.0.1 flake8-logging-format-0.6.0 flake8-mutable-1.2.0 flake8-polyfill-1.0.2 flake8-quotes-2.1.2 flake8-rst-docstrings-0.0.12 flake8-string-format-0.2.3 flake8-variables-names-0.0.3 
2. Solutions :

Maybe we can uninstall the flake8-eradicate-0.4.0 , and reinstall the flake8-eradicate<0.4.0,>=0.3 .

so, back to the centos prompt, execute python3.8 -m pip uninstall flake8-eradicate , it worked , returned :

Found existing installation: flake8-eradicate 0.4.0
Uninstalling flake8-eradicate-0.4.0:
  Would remove:
    /usr/local/lib/python3.8/site-packages/flake8_eradicate-0.4.0.dist-info/*
    /usr/local/lib/python3.8/site-packages/flake8_eradicate.py
Proceed (y/n)? y
  Successfully uninstalled flake8-eradicate-0.4.0

next, download the flake8-eradicate-0.3.0 manually , or we can use pip :

python3.8 -m pip install flake8-eradicate==0.3.0 , it returned :

Collecting flake8-eradicate==0.3.0
  Downloading flake8_eradicate-0.3.0-py3-none-any.whl (4.7 kB)
Requirement already satisfied: eradicate<2.0,>=1.0 in /usr/local/lib/python3.8/site-packages (from flake8-eradicate==0.3.0) (1.0)
Requirement already satisfied: flake8<4.0,>=3.5 in /usr/local/lib/python3.8/site-packages (from flake8-eradicate==0.3.0) (3.8.4)
Requirement already satisfied: attrs in /usr/local/lib/python3.8/site-packages (from flake8-eradicate==0.3.0) (20.3.0)
Requirement already satisfied: pycodestyle<2.7.0,>=2.6.0a1 in /usr/local/lib/python3.8/site-packages (from flake8<4.0,>=3.5->flake8-eradicate==0.3.0) (2.6.0)
Requirement already satisfied: pyflakes<2.3.0,>=2.2.0 in /usr/local/lib/python3.8/site-packages (from flake8<4.0,>=3.5->flake8-eradicate==0.3.0) (2.2.0)
Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in /usr/local/lib/python3.8/site-packages (from flake8<4.0,>=3.5->flake8-eradicate==0.3.0) (0.6.1)
Installing collected packages: flake8-eradicate
Successfully installed flake8-eradicate-0.3.0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值