下午好,请告诉我我做错了什么。我刚刚在我的电脑上安装了 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
AttributeError: module 'umap' has no attribute 'UMAP'
Run Code Online (Sandbox Code Playgroud)
我尝试安装和重新安装不同的 umap 和 umap learn 库,但没有任何效果。
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) 为什么 .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 重。
<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>
这些是我的布局文件,然后下图是现在的样子,我想将这些图片设置为两列。
我无法在 Visual Studio 2017 中找到该选项。我知道您可以更改正在编写的代码的字体,但没有看到 IntelliSense 选项让我认为这是不可能的。
尝试使用 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。
您是否知道如何修复第一列并在 Angular Material 的 mat-table 中使用水平滚动?
我将非常感谢您的帮助。
我想我添加CardsSection
组件到我的Card
成分,但是我不断收到此错误有关文本冲突,但我还没有使用内我的任何文字Tournament
,Card
或CardSection
.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) 我是 python 的新手,我正在尝试使用 pyinstaller 从 py 脚本创建一个 .exe,但是在尝试运行 .exe 时出现此错误:找不到 matplotlib 数据文件。当我在 python idle 中运行脚本时,我没有收到此错误。
我试过了:
import matplotlib
setup(
data_files=matplotlib.get_py2exe_datafiles(),
)
Run Code Online (Sandbox Code Playgroud)
但是我收到一条错误消息,说未定义设置。
python-3.x ×2
ubuntu ×2
android ×1
angular ×1
api ×1
css ×1
datatable ×1
facebook ×1
installation ×1
intellisense ×1
kotlin ×1
linux ×1
matplotlib ×1
mobile ×1
postgresql ×1
pyinstaller ×1
python ×1
python-2.7 ×1
react-native ×1
react-router ×1
reactjs ×1
redis ×1
swiftui ×1