安装报错 pip3 install meson
ERROR: Could not find a version that satisfies the requirement meson (from versi
ions: none)
ERROR: No matching distribution found for meson
升级没用 python3 -m pip install --upgrade pip
pip3 install meson -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
- –trusted-host pypi.douban.com 这是为了获得ssl证书的认证
- 可见,是安装到了这里:
- C:\Users\zhangbin\AppData\Roaming\Python\Python310\Scripts
zhangbin@LAPTOP-F1POBCSR MINGW64 ~
$ pip3 install meson -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: http://pypi.douban.com/simple/
Collecting meson
Downloading http://pypi.doubanio.com/packages/77/04/8de56b69d805406bf8c1d73934
4938680cec9d417fa39b4a68833729505a5/meson-0.61.2-py3-none-any.whl (850 kB)
------------------------------------ 850.3/850.3 KB 802.4 kB/s eta 0:00:00
Installing collected packages: meson
WARNING: The script meson.exe is installed in 'C:\Users\zhangbin\AppData\Roami
ing\Python\Python310\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warn
ning, use --no-warn-script-location.
Successfully installed meson-0.61.2
zhangbin@LAPTOP-F1POBCSR MINGW64 ~
C:\Users\zhangbin\AppData\Roaming\Python\Python310\Scripts 不在我的环境变量里
C:\Program Files\Python310\Scripts 是pip3的路径
|