【问题标题】:Cannot install public python package, "error code 128 in none"无法安装公共 python 包,“没有错误代码 128”
【发布时间】:2019-10-26 15:47:23
【问题描述】:

我正在尝试从此存储库安装一个包: https://github.com/nelsond/prologix-gpib-ethernet

但我一直收到错误代码 128。昨天是另一个错误,说 git 没有安装在 PATH 中,显然这个是固定的,不确定是否有帮助。

尝试启用 22 端口,重新安装 git 等,没有运气。

pip install git+git://github.com/nelsond/prologix-gpib-ethernet.git

【问题讨论】:

  • 不幸的是不起作用,我收到的消息是:无效要求:'git+github.com/nelsond/prologix-gpib-ethernet.git'
  • 评论不允许我输入https,将git+git替换成git+https

标签: python-3.x git pycharm


【解决方案1】:

你可以试试:

pip install git+https://github.com/nelsond/prologix-gpib-ethernet.git

或者你克隆 repo 并安装包:

git clone https://github.com/nelsond/prologix-gpib-ethernet.git

然后只需运行目录中的 setup.py 文件:

sudo python setup.py install

【讨论】:

【解决方案2】:

显然问题是通过安装NI-Visa,直接从master更新pyvisa解决的,谢谢你的帮助!

http://www.ni.com/en-us/support/downloads/drivers/download.ni-visa.html

【讨论】:

    猜你喜欢
    • 2022-08-23
    • 2016-05-03
    • 1970-01-01
    • 2021-06-24
    • 2021-08-12
    • 1970-01-01
    • 1970-01-01
    • 2019-11-03
    • 1970-01-01
    相关资源
    最近更新 更多