Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

非酋做配置,试错笔记 #212

Open
JeanYoung5 opened this issue Nov 20, 2020 · 2 comments
Open

非酋做配置,试错笔记 #212

JeanYoung5 opened this issue Nov 20, 2020 · 2 comments

Comments

@JeanYoung5
Copy link

吾辈菜鸟,选择目录之前要先学习一下基础知识:
https://www.runoob.com/linux/linux-system-contents.html

我make的时候,一直有找不到release.h的报错
去src文件夹下:
chmod 777 mkreleasehdr.sh
chmod +x mkreleasehdr.sh
chmod -R +x mkreleasehdr.sh
但是怎么都没法获得权限
换了个目录就通了
装在/usr/games/里了,希望后续没问题。

ps:我看到有人推荐使用redis-stable版本,虽然并没有解决我的问题

@JeanYoung5
Copy link
Author

JeanYoung5 commented Nov 22, 2020

配置note:
一般yum在Ubuntu下直接替换成 sudo apt-get install
exception:
yum install openssl-devel
在Ubuntu下等于这两句:
sudo apt-get install openssl
sudo apt-get install libssl-dev
没有装libssl-dev会报错:openssl/rsa.h: 没有那个文件或目录

@JeanYoung5
Copy link
Author

配置note part2:
卡死在pip install requirements.txt了,可能是因为我装的是Python3.9。
报错是:
ModuleNotFoundError:No module named _ctypes
python setup.py egg_info Check the logs for full command output
单pip install bs4 也是一样的效果
后来我就装了个anaconda,base环境是Python3.8,就直接裸奔,然后遇到同样的报错
最后我在conda base下跑
python -m pip install -U --force-reinstall --ignore-installed --default-timeout=500 -i https://pypi.tuna.tsinghua.edu.cn/simple

后面接requirements
bs4==0.0.1
PyYAML==3.12
requests==2.13.0
rsa==3.4.2
redis==2.10.5
celery==4.1.0
SQLAlchemy==1.1.9
PyMySQL==0.7.11
flower==0.9.5

就flower-0.9.1死活不兼容,所以改了一下。
总之通了

@JeanYoung5 JeanYoung5 changed the title 配置redis的时候,所在的目录matters,所以实在走不通就cp去别的目录 非酋做配置,试错笔记 Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant