我正在尝试在使用Ubuntu Mate的raspberry pi 3B +中安装python模块。对于大多数模块,我始终会遇到以下错误
错误:找不到满足要求的版本
例如,我尝试了以下代码:
$baseUrl=\yii\helpers\Url::base(true);
$js=<<<JS
$(document).on('click','.btn-block',function(e){
var id = $(this).parents('.user-tr').attr('id');
let data={id : id};
data[yii.getCsrfParam()]=yii.getCsrfToken();
$.ajax({
url: '{$baseUrl}/admin/block-users',
type: 'POST',
data: data,
success: function (data) {
console.log(data);
},
});
})
JS;
$this->registerJs($js, View::POS_READY);
不仅是此软件包,而且还有pip install functools_lru_cache
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting functools_lru_cache
ERROR: Could not find a version that satisfies the requirement functools_lru_cache (from versions: none)
ERROR: No matching distribution found for functools_lru_cache
,pip install backports
等。请帮助!!!