小编dev*_*doc的帖子

跳过配置文件“main/binary-i386/Packages”的获取

下午好,请告诉我我做错了什么。我刚刚在我的电脑上安装了 Linux Ubuntu,但仍然不了解它。我尝试安装 PostreSQL 和 pgAdmin。我在这个视频教程上安装了https://www.youtube.com/watch?v=Vdzb7JTPnGk这个错误。

错误文本: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'

请告诉我如何解决它。我的 ubuntu 版本:Ubuntu 20.04 LTS

linux postgresql installation ubuntu

66
推荐指数
5
解决办法
3万
查看次数

如何解决错误,“模块 umap 没有属性 UMAP”.. 我尝试安装和重新安装 umap 但对我不起作用

AttributeError: module 'umap' has no attribute 'UMAP'
Run Code Online (Sandbox Code Playgroud)

我尝试安装和重新安装不同的 umap 和 umap learn 库,但没有任何效果。

python python-2.7 python-3.x jupyter-notebook

14
推荐指数
3
解决办法
2万
查看次数

无法启动高级键值 store.redis-server.service:控制进程退出,代码=退出状态=1

redis-server 无法在我有 nginx、apache、php 和 mysql 的服务器上工作

是否有任何包会导致下面的问题

PS:我安装 BBB 时出现这个错误

https://github.com/bigbluebutton/bbb-install

redis-server.service:控制进程退出,代码=退出状态=1 无法启动高级键值存储。

--
-- The result is failed.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.service: Unit entered failed state.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.service: Failed with result 'exit-code'.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.service: Service hold-off time over, scheduling restart.
Apr 05 12:28:44 ns3081715 systemd[1]: Stopped Advanced key-value store.
-- Subject: Unit redis-server.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit redis-server.service has finished …
Run Code Online (Sandbox Code Playgroud)

ubuntu redis bigbluebutton

12
推荐指数
4
解决办法
3万
查看次数

如何在 SwiftUI 中将字体粗细更改为中等?

为什么 .medium 系统字体未在 SwiftUI 中显示为 .title 样式?

我还尝试使用 Font.custom 显式设置字体...

Text("Text").font(Font.title.weight(.light))
                    
Text("Text").font(Font.title.weight(.regular))
                    
Text("Text").font(Font.title.weight(.medium))
                    
Text("Text").font(Font.title.weight(.semibold))
                    
Text("Text").font(Font.title.weight(.bold))
Run Code Online (Sandbox Code Playgroud)

这是我的输出:

我期待 .medium 比 .regular 重。

swiftui

12
推荐指数
1
解决办法
9138
查看次数

如何设置两列recyclerview?

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/PetPhoto_imageview"
        android:layout_width="200dp"
        android:layout_height="200dp"

        app:layout_constraintBottom_toTopOf="@+id/PetItem_textview"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_chainStyle="packed"
        app:srcCompat="@drawable/dog" />

    <TextView

        android:id="@+id/PetItem_textview"
        android:layout_width="199dp"
        android:layout_height="38dp"
        android:layout_alignBottom="@+id/PetPhoto_imageview"
        android:layout_alignParentStart="true"
        android:layout_marginStart="0dp"

        android:alpha="0.3"
        android:background="@color/black"
        android:gravity="bottom"
        android:textAlignment="center"
        android:textColor="@color/white"
        android:textSize="20sp"
        android:textStyle="bold"
        tools:text="100" />
</RelativeLayout>
Run Code Online (Sandbox Code Playgroud)

</android.support.v7.widget.CardView>

这些是我的布局文件,然后下图是现在的样子,我想将这些图片设置为两列。

android kotlin

11
推荐指数
2
解决办法
1万
查看次数

有没有办法增加 IntelliSense 的字体大小?

我无法在 Visual Studio 2017 中找到该选项。我知道您可以更改正在编写的代码的字体,但没有看到 IntelliSense 选项让我认为这是不可能的。

intellisense visual-studio-2017

9
推荐指数
1
解决办法
3157
查看次数

Facebook Marketing Api 错误:(#2635) 您正在调用 Ads API 的弃用版本。请更新到最新版本:v3.2。”

尝试使用 Facebook Marketing API 时,出现错误

Response:
{
  "error": {
    "message": "(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.2.",
Run Code Online (Sandbox Code Playgroud)

如何将 facebook 营销 api 版本从 v3.0 升级到 v3.2?

当我去“API升级工具”时;没有任何显示,如下图所示。

我已经在营销 api 设置中将 api 版本 v3.0 更改为 v3.2,但发生了同样的错误。

请告诉我如何将 Marketing API 从 v3.0 升级到 v3.2。

api facebook facebook-marketing-api

9
推荐指数
1
解决办法
1万
查看次数

固定在 mat-table 中的第一列

您是否知道如何修复第一列并在 Angular Material 的 mat-table 中使用水平滚动?

我将非常感谢您的帮助。

datatable angular-material angular

8
推荐指数
2
解决办法
1万
查看次数

不变违规:文本字符串必须在 Text 组件中呈现

我想我添加CardsSection组件到我的Card成分,但是我不断收到此错误有关文本冲突,但我还没有使用内我的任何文字TournamentCardCardSection.js文件。我不明白为什么我会收到这个错误。有人能告诉我该怎么做以及为什么吗?

锦标赛.js

import React from "react";
import { View, Text, Image, ScrollView } from "react-native";
import { Card, Button, Spinner, CardSection } from "../common";

class Tournaments extends React.Component {
  static navigationOptions = {
    tabBarLabel: "Tournaments"
  };
  render() {
    return (
      <View style={styles.containerStyle}>
        <Card>
          <View style={styles.logoContainer}>
            <Image
              style={styles.logo}
              source={require("../../Images/ShoeJackCityLogo.png")}
            />
          </View>
          <View style={styles.formContainer} />
        </Card>
        <ScrollView horizontal>
          <Card>
            <View style={{ flex: 1, flexDirection: "row" }}>
              <CardSection>
                <Image
                  style={styles.product}
                  source={require("../../Images/aj_4_toro.png")}
                />
              </CardSection> …
Run Code Online (Sandbox Code Playgroud)

css mobile reactjs react-router react-native

8
推荐指数
1
解决办法
9438
查看次数

找不到 matplotlib 数据文件

我是 python 的新手,我正在尝试使用 pyinstaller 从 py 脚本创建一个 .exe,但是在尝试运行 .exe 时出现此错误:找不到 matplotlib 数据文件。当我在 python idle 中运行脚本时,我没有收到此错误。

我试过了:

 import matplotlib
   setup(
        data_files=matplotlib.get_py2exe_datafiles(),
   )
Run Code Online (Sandbox Code Playgroud)

但是我收到一条错误消息,说未定义设置。

matplotlib pyinstaller python-3.x

8
推荐指数
1
解决办法
6686
查看次数