The script wheel is installed in '/Users/xxxxxx/Library/Python/2.7/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Failed building wheel for scrypt
Failed building wheel for pycrypto
Failed building wheel for ujson
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c "import setuptools, tokenize;file='/private/var/folders/c8/23zvw8w5501g6wnhpd0gjt_h0000gn/T/pip-install-cj0tzfjw/scrypt/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/var/folders/c8/23zvw8w5501g6wnhpd0gjt_h0000gn/T/pip-record-3f6wksc0/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/c8/23zvw8w5501g6wnhpd0gjt_h0000gn/T/pip-install-cj0tzfjw/scrypt/
咦?加 --user似乎就裝好了.... 但是還有這個訊息:
然後終端機還是認不得pip指令.... 是不是跟這段話有關呢?
对的,安装目录没有添加到PATH这个环境变量 ,所以找不到pip。
可以试一下:
然后把PATH里的目录打印出来看看有没有添加成功:
其他的方法:
由于没有mac设备,这些方法没有验证是否有效,
可以放Google 找一下“mac path”看有没有有效的方法。
後面執行有問題嗎?
貌似這個pip是裝到python2底下(應該是有內建python2.7),可以試試看用以下方法確定安裝pip到python3之下:
(btw,電腦裡同時有python2跟python3的話,在執行python程式時要輸入
python3 script.py
)這個新安裝的pip會被稱為
pip3
所以你裝完之後可以試試看
看不懂你說的,但照做了,最後出現紅訊息:
@antonsteemit 命令写错了
pip3 install steem-python你看文章开头:
感謝!輸入後,跑了好多好多東西出來,但其中不停出現紅色訊息,一共4條,最後一條最長,給各位看看:
我晚點再來試試後面的步驟能不能做....