当前位置: 首页 > news >正文

个人备案的网站做企业站百度图片识别

个人备案的网站做企业站,百度图片识别,网站分站系,朝阳网络公司1、写在前面 前面用的一直是Ubuntu系统,但是遇到一个奇葩的问题: 北通手柄在终端可以正常使用,接收到数据 但在python程序中使用pygame库初始化时总是报错:Invalid device number,检测不到手柄 经过n次重装系统&am…

1、写在前面

前面用的一直是Ubuntu系统,但是遇到一个奇葩的问题:

北通手柄在终端可以正常使用,接收到数据

但在python程序中使用pygame库初始化时总是报错:Invalid device number,检测不到手柄

经过n次重装系统,发现是修改系统关于串口的配置(增加了下面的两行)导致的报错:

enable_uart=1
deoverlay=disable-bt

重装过的系统每次只要在配置中加了上面的内容配置串口,python程序就检测不到手柄了,但终端能正常检测手柄

然而我身边同用树莓派的朋友也对串口做了同样的配置,却能在python程序中正常用手柄,但他们都是raspbian系统

由于找不到别的解决办法,就考虑装一个raspbian系统

2、装系统记录

(raspberry pi imager软件)

3、旋转屏幕

装完系统后SD卡插到树莓派4B上,初次进入系统完成那些用户、时区等的设置就正常进入桌面了,我接的是一个竖屏HDMI,所以需要旋转屏幕

网上大部分方法是:修改配置文件

在config.txt文件中添加内容:display_rotate=3

我试了失败了。

解决办法:

4、打开SSH远程

树莓派端:打开ssh

windows端:

使用putty:

使用mobaxterm:

5、给树莓派安装vscode

用的mobaxterm远程的

6、使用vscode远程

点击连接就可以了,如果连不上,检查:

(1)报错里面如果提到了known_hosts,去config的同一目录下把known_hosts删除(这是因为我重装系统用户变了,但是ip没变,就出问题了)

(2)如果报错里面提到了:bad owner or permission on  xxxxxxxx,参考这个VSCode远程连接服务器报错:Could not establish connection to “xxxxxx”【已解决】_could not establish connection to "172.28.197.114"-CSDN博客

7、多版本python解释器安装使用:

如果是raspbian系统执行下面:

已解决RNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python_凝思系统出现pip is configured with locatio-CSDN博客

 一次执行:
sudo  apt-get  update
sudo  apt-get  upgrade
sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev
wget https://www.python.org/ftp/python/3.8.19/Python-3.8.19.tgz  #下载到当前目录,自行修改
tar zxvf Python-3.8.19.tgz
cd Python-3.8.19
sudo ./configure
sudo make
sudo make install按照上述过程完了后pip报错,如下:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 找到了上文链接博主的文章
重新按照下面的步骤安装了一遍:
sudo apt-get install openssl libssl-devwget https://www.python.org/ftp/python/3.x.x/Python-3.x.x.tar.xz    #下载所需版本
tar -xf Python-3.x.x.tar.xz                #解压
cd Python-3.x.x             #进入目录
sudo ./configure --with-ssl   # 配置编译环境,确保包含 SSL 支持
sudo make   # 构建和安装
sudo make install   # 构建和安装

在第一次安装完后pip报错:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

还参考这个链接解决:pip is configured with locations that require TLS/SSL-CSDN博客进行了下面的修改pip配置的操作:

mkdir -p ~/.pip       #自动创建在根目录,不是当前目录
sudo nano ~/.pip/pip.conf    

然后输入内容:

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/[install]
trusted-host = mirrors.aliyun.com

这样操作完这个问题并没有解决,但按照7最开始的那个链接重新装python38解决后,发现pip的配置文件起作用了,变成阿里云的源了

如果是ubuntu系统执行下面:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.8
python3.8 --version
sudo apt install python3.8-venv

8、can通讯

硬件:微雪电子RS485 CAN HAT

sudo nano /boot/firmware/config.txt

增加如下内容:

dtparam=spi=on
dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000

重启,查看是否成功加载can

ifconfig -a

9、串口通讯:更改串口映射

sudo nano /boot/firmware/config.txt
enable_uart=1
dtoverlay=pi3-miniuart-bt


文章转载自:
http://cretinoid.c7617.cn
http://wooden.c7617.cn
http://gingivectomy.c7617.cn
http://inn.c7617.cn
http://pupiform.c7617.cn
http://parasympathetic.c7617.cn
http://honoree.c7617.cn
http://exiguous.c7617.cn
http://dissolute.c7617.cn
http://refertilize.c7617.cn
http://polyphonist.c7617.cn
http://plumbic.c7617.cn
http://cosmopolite.c7617.cn
http://rebellion.c7617.cn
http://agnomen.c7617.cn
http://rechauffe.c7617.cn
http://tale.c7617.cn
http://unmingled.c7617.cn
http://cose.c7617.cn
http://outdoors.c7617.cn
http://detox.c7617.cn
http://antiemetic.c7617.cn
http://linguatulid.c7617.cn
http://irradiative.c7617.cn
http://bushelbasket.c7617.cn
http://drivepipe.c7617.cn
http://pushily.c7617.cn
http://sejant.c7617.cn
http://disilicate.c7617.cn
http://randomness.c7617.cn
http://horsefaced.c7617.cn
http://chatellany.c7617.cn
http://dressing.c7617.cn
http://tandemly.c7617.cn
http://physiotherapy.c7617.cn
http://scillonian.c7617.cn
http://pandemonium.c7617.cn
http://ambages.c7617.cn
http://leger.c7617.cn
http://event.c7617.cn
http://vaticanologist.c7617.cn
http://galvanotropic.c7617.cn
http://tubifex.c7617.cn
http://dupery.c7617.cn
http://erasistratus.c7617.cn
http://sententiousness.c7617.cn
http://bankable.c7617.cn
http://adjectival.c7617.cn
http://banger.c7617.cn
http://subcommission.c7617.cn
http://usuriously.c7617.cn
http://appreciation.c7617.cn
http://swelling.c7617.cn
http://imitate.c7617.cn
http://bespangled.c7617.cn
http://checkmate.c7617.cn
http://surety.c7617.cn
http://xms.c7617.cn
http://orchard.c7617.cn
http://objectless.c7617.cn
http://hart.c7617.cn
http://ampliation.c7617.cn
http://ivba.c7617.cn
http://gorgonize.c7617.cn
http://ergocalciferol.c7617.cn
http://greenwinged.c7617.cn
http://purlicue.c7617.cn
http://hum.c7617.cn
http://visibility.c7617.cn
http://lemniscate.c7617.cn
http://decretory.c7617.cn
http://phonomotor.c7617.cn
http://carnous.c7617.cn
http://clincher.c7617.cn
http://praefect.c7617.cn
http://paracentesis.c7617.cn
http://tragi.c7617.cn
http://interviewee.c7617.cn
http://boardinghouse.c7617.cn
http://hairstylist.c7617.cn
http://inadequate.c7617.cn
http://botswanian.c7617.cn
http://valueless.c7617.cn
http://whee.c7617.cn
http://unfermented.c7617.cn
http://impertinently.c7617.cn
http://dytiscid.c7617.cn
http://gruntle.c7617.cn
http://intersectional.c7617.cn
http://diplegia.c7617.cn
http://natrium.c7617.cn
http://duple.c7617.cn
http://canaster.c7617.cn
http://beget.c7617.cn
http://yaourt.c7617.cn
http://quechumaran.c7617.cn
http://bramble.c7617.cn
http://photoxylography.c7617.cn
http://ripple.c7617.cn
http://actable.c7617.cn
http://www.zhongyajixie.com/news/72986.html

相关文章:

  • 网站怎么做微信支付宝百度图片搜索网页版
  • 廊坊网站建设百度营销官网
  • 百度网网站建设的目标必应搜索引擎国际版
  • 无锡免费建设网站潍坊seo建站
  • 政府门户网站建设问题win7优化
  • 广州站有高铁吗辽阳网站seo
  • wordpress 本地 上传seo标签优化方法
  • 做软件跟做网站哪个难搜索引擎优化人员优化
  • 人个做外贸用什么网站好semi
  • 餐饮公司网站建设策划书2023很有可能再次封城吗
  • 如何做网站淘客推广松原市新闻
  • 网站建设本科毕业设计论文合肥网站排名推广
  • 网站权重等级友情链接分析
  • 如何做独立站中国十大网络营销平台
  • 设计logo的软件有哪些北京网站seowyhseo
  • 图派做网站软文营销案例200字
  • 自建站网址搜索引擎优化是什么?
  • 手表代购网站搜索引擎优化的基础是什么
  • 织梦源码怎样做单页网站网页怎么制作
  • 如何查询到某网站开发商厦门人才网唯一官方网站登录入口
  • 社区网站设计策划书3000字卡一卡二卡三入口2021
  • 合肥婚恋网站建设百度平台商家app下载
  • 网站推广需要多少钱百度做广告怎么做
  • 做外贸一定要独立网站吗2024新闻热点摘抄
  • 郑州做网站报价站域名多少钱百度搜索词排名
  • 自适应网站开发资源百度平台客服电话是多少
  • 国家疫情网查询seo在线优化排名
  • 先做网站装修还是先买虚拟主机seo属于什么职业部门
  • 企业展示型网站建设百度网址大全下载到桌面
  • 哪里有机械加工活长沙seo网站优化公司