logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

使用letsencrypt给服务器添加https证书

直接进入官网:https://certbot.eff.org/选择对应的操作系统, 根据文档操作即可.以下命令摘自该官网, Ubuntu18+nginx下亲测可行:(其他系统的请自行上官网查看对应安装方法)sudo apt-get updatesudo apt-get install software-properties-commonsudo add-apt-reposito...

#https#服务器#网络协议
uv sync失败HTTP status server error (504 Gateway Timeout) for url (http://...)

排查了好一会,最终才发现是本地的安全防护软件,限制了uv.exe的网络访问权限。研究了一下,要解开这个权限,还挺麻烦的。本来都打算放弃uv了,捣鼓其他东西的时候,意外地发现还可以通过在服务器更新uv.lock,本地则使用pdm或pip

文章图片
#uv#python
Centos7 ImportError: libssl.so.3: cannot open shared object file: No such file or directory

2. 另一台重新编译了也还是不行,find / -name libssl.so.3也找不到文件,由于是内网环境,openssl也无法升级到3.0以上版本,最后是去别人服务器拷贝libssl.so.3和libcrypto.so.3这两个文件,然后丢到/lib64/目录里,问题才解决(注:如果手头上没有其他服务器,可以用anaconda和pyenv应该也能解决问题)1. 有一台是重新编译,./conf

#服务器
libodbc.so.2: cannot open shared object file: No such file or director

libodbc.so.2: cannot open shared object file: No such file or director

#ubuntu#linux#运维
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

解决ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

#linux#运维#服务器
No module named pip.main; ‘pip’ is a package and cannot be directly executed

pip --version时报了No module named pip.main的错误参考了这个:No module named pip.__main__; ‘pip‘ is a package and cannot be directly executed_天天放羊的博客-CSDN博客执行了:python -m ensurepip然后再重新python -m pip install -U pip

#pycharm#ide#python
gnome-terminal 出错 ImportError: cannot import name '_gi'

系统:ubuntu17装了python2.7.13, 之后陆续装了python3.5.3, python3.6.1本来默认的python版本是2.7, 改为3.6后, 就出现gnome-terminal用不了的问题:$ gnome-terminalTraceback (most recent call last):  File "/usr/bin/gnome-terminal",

fatal: Unable to find remote helper for 'https' (git push -u origin master)(Red Hat /centos6.7)

problem:# git remote add origin https://github.com/wenjie19861113/awesome-python3-webapp.git# git push -u origin mastefatal: Unable to find remote helper for 'https'

#git
    共 31 条
  • 1
  • 2
  • 3
  • 4
  • 请选择