简体   繁体   English

使用 Z354E8DAD2DCC402139E3115868AAEFE9 从 Github 安装 Python Package 时出错

[英]Error Installing Python Package from Github Using PIP

Object is to install python package 'opensky-api' from https://github.com/openskynetwork/opensky-api Object is to install python package 'opensky-api' from https://github.com/openskynetwork/opensky-api

Used following command at Anaconda prompt.在 Anaconda 提示符下使用以下命令。 Logging in with my github username and my token使用我的 github 用户名和我的令牌登录

What mistake is in my command line?我的命令行有什么错误?

command line (base) C:\Usersr\src\opensky>命令行(基础)C:\Usersr\src\opensky>

pip install git+https://github.com/openskynetwork/opensky.git#egg=opensky

error message错误信息

Collecting opensky
  Cloning https://github.com/openskynetwork/opensky.git to c:\users\appdata\local\temp\pip-install-ovtrt2xb\opensky_9457d92114a54f67b0ed1a53e5ac76c2
  Running command git clone --filter=blob:none -q https://github.com/openskynetwork/opensky.git 'C:\Users\AppData\Local\Temp\pip-install-ovtrt2xb\opensky_9457d92114a54f67b0ed1a53e5ac76c2'
  Logon failed, use ctrl+c to cancel basic credential prompt.
  bash: /dev/tty: No such device or address
Username for 'https://github.com':   error: failed to execute prompt script (exit code 1)
"my_username@github.com"
  bash: /dev/tty: No such device or address
  error: failed to execute prompt script (exit code 1)
  stty: 'standard input': Inappropriate ioctl for device
Password for 'https://my_password@github.com':
  remote: Invalid username or password.
  fatal: Authentication failed for 'https://github.com/openskynetwork/opensky.git/'
WARNING: Discarding git+https://github.com/openskynetwork/opensky.git#egg=opensky. Command errored out with exit status 128: git clone --filter=blob:none -q https://github.com/openskynetwork/opensky.git 'C:\Users\AppData\Local\Temp\pip-install-ovtrt2xb\opensky_9457d92114a54f67b0ed1a53e5ac76c2' Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement opensky (unavailable) (from versions: none)
ERROR: No matching distribution found for opensky (unavailable)

Installation of the package was successful from the local clone using: pip install C:/Users/opensky/opensky-api/python. package 从本地克隆安装成功:pip install C:/Users/opensky/opensky-api/python。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM