我昨天提交了一个启用python3的pynliner版本,但似乎无法在本地安装。
https://pypi.python.org/pypi/pynliner3/
pip install pynliner3
Updating cache with response from "https://pypi.python.org/simple/pynliner3/"
Caching b/c date exists and max-age > 0
Analyzing links from page https://pypi.python.org/simple/pynliner3/
Could not find a version that satisfies the requirement pynliner3 (from versions: )
我在Stackoverflow上看到类似的问题,响应似乎总是一种解决方法。示例"直接点到tarball或repo"。
但是,我想在这里提出一个不同的问题。
抱歉愚蠢的问题。只是想弄清楚pip是如何工作的。谢谢你的帮助。
此处参考我的setup.py(从orignal py2 repo克隆)
from setuptools import setup
setup(name='pynliner3',
version='0.6',
description='Python CSS-to-inline-styles conversion tool for HTML using'
' BeautifulSoup and cssutils',
author='Tanner Netterville',
author_email='tannern@gmail.com',
install_requires=[
'BeautifulSoup4 >= 4.4.1',
'cssutils >=0.9.7',
],
tests_require=[
'mock'
],
test_suite='tests',
packages=['pynliner'],
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Text Processing :: Markup :: HTML',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
])