- 博客(4)
- 收藏
- 关注
原创 dyld: Library not loaded: @executable_path/../.Python问题
dyld: Library not loaded: @executable_path/../.Python 出现这个错误的原因是因为homebrew更新python以后会将旧版本的文件夹删除,造成路径失效. 使用下面两行命令可以解决: find venv -type l -delete virtualenv venv --python=python3 venv为虚拟环境名称 –python=python3 指定虚拟环境python版本为python3, 使用系统默认python可以不指定. ...
2020-10-12 21:36:11
2295
原创 关于攻防世界Web_php_unserialize 中的__weakup绕过
手机码字,好累~ 刚刷完这道题,觉得挺有意思,做一下笔记。 打开题目有一段PHP代码,大致看了一下需要用到反序列化。 两点需要解决: 绕过正则 绕过__weakup 首先序列化 <?php class Demo { private $file = 'index.php'; public function __construct($file) { $t...
2020-03-12 15:07:17
518
原创 brew install mongodb 安装mongodb提示:No available formula with the name "mongodb"
使用brew install mongodb安装mongodb时提示:No available formula with the name “mongodb”。 看了一下网上介绍的brew安装mongodb的方法好像都是上面执行后提示错误的命令。 去官网查了一下,发现官网推荐的方法好像和网上之前介绍的不太一样。 官网步骤: 首先tap一个仓库 brew tap mongodb/brew ...
2019-09-08 14:04:26
10702
1
原创 Mac使用brew安装tesseract提示invalid: --all-languages
brew安装tesseract 同时安装所有语言 最近在学习python爬虫,安装OCR库tesseract时,发现使用brew install --all-languages tesseract命令安装时,发生错误Error: invalid option: --all-languages。 于是尝试查看了一下info brew info tesseract 返回信息: tesseract: s...
2019-09-08 12:07:43
1943
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人