0
UPDATE 包這是包Setup.py嘗試導入它正在安裝
試圖使用PIP安裝某些程序包的setup.py一個錯誤,我得到這個錯誤:
pip install saspy
command python setup.py egg_info failed with error code 1
在閱讀回溯我看到它失敗嘗試導入saspy.This是這的確是試圖從saspy導入,在安裝saspy的setup.py的摘錄。這應該如何工作?我正在使用setuptools 36.0.1,pip 9.0.1和(長篇小說)python 2.7.8。
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from saspy import __version__
with open('README.md') as f:
readme = f.read()
你可以添加引用嗎? –
我投票結束這個問題作爲題外話題,因爲它是關於第三方庫中的一個錯誤,應該向該庫的維護者報告。 – jwodder
[已經有報道。](https://github.com/sassoftware/saspy/issues/25) – jwodder