我想用红宝石发短信。根据项目示例和对的一些研究,我有以下gateway.rb配置:
loop do
EventMachine::run do
@@tx = EventMachine::connect(
config[:host],
config[:port],
Smpp::Transceiver,
config,
self # delegate that will receive callbacks on MOs and DRs and other events
)
我试图安装使用pip install -U pip channels-redis的通道-redis,但是它会导致以下错误:
错误:
Using legacy 'setup.py install' for hiredis, since package 'wheel' is not installed.
Installing collected packages: hiredis, async-timeout, aioredis, channels-redis
Running setup.py install for hiredis ... error
er
我正在尝试使用pip在Django中安装channels_redis,但到目前为止得到了以下错误:
Building wheel for hiredis (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
C:\Users\Teacher-5F84DF\AppData\Local\Temp\pip-inst
如何修复nodejitsu上部署后的hiredis编译问题?
在我部署到nodejitsu后,我从jistu logs命令收到以下错误。
ld.so.1: node: fatal: relocation error: file /opt/haibu/apps/<user>/<app>/package/node_modules/redis/node_modules/hiredis/build/Release/hiredis.node: symbol redisReaderCreate: referenced symbol not found
多亏了这个站点上的某个人,我才能够使用示例C++源文件。当我编译这段代码时,我得到了一堆奇怪的编译器错误:
/home/.../workspace/redis-hiredis-3c46b13/pipelineTest.cpp: In function ‘void redisTop(redisContext*)’:
/home/.../workspace/redis-hiredis-3c46b13/pipelineTest.cpp:142:32: error: invalid conversion from ‘void*’ to ‘redisReply*’
/home/../workspace/