i'm working on python module, host on github.
for test, tried install pip.
i tried several ways i've seen in this question , this question.
everytime error running:
pip install git+git://github.com/amiceli/i2c-module and output :
collecting git+git://github.com/amiceli/i2c-module cloning git://github.com/amiceli/i2c-module /tmp/pip-hbjlru-build no files/directories in /tmp/pip-hbjlru-build/pip-egg-info (from pkg-info) or
pip install https://github.com/amiceli/i2c-module output :
collecting https://github.com/amiceli/i2c-module /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. insecureplatformwarning downloading https://github.com/amiceli/i2c-module - 36kb 328kb/s cannot unpack file /tmp/pip-3qo8kk-unpack/i2c-module (downloaded /tmp/pip-knz537-build, content-type: text/html; charset=utf-8); cannot detect archive format cannot determine archive format of /tmp/pip-knz537-build or again :
pip install git+git://github.com:amiceli/i2c-module.git output :
collecting git+git://github.com:amiceli/i2c-module.git cloning git://github.com:amiceli/i2c-module.git /tmp/pip-d7kpka-build fatal: unable connect github.com: github.com: servname() n'est pas support?e pour ai_socktype complete output command git clone -q git://github.com:amiceli/i2c-module.git /tmp/pip-d7kpka-build: ---------------------------------------- command "git clone -q git://github.com:amiceli/i2c-module.git /tmp/pip-d7kpka-build" failed error code 128 in none edit
i've new bug. i've installed module, works.
but when try import it, i've no module named error.
when try pip freeze can see module in list.
that's because github repository not python package. setup.py says:
print ('install i2c') please read official packaging guide how create proper python package.
Comments
Post a Comment