python - pip install from github repo doesn't work -


i want use github repository contains json schemas in testing project.

i trying install with: pip install git+https://github.com/org/repo.git

collecting git+https://github.com/org/repo.git   cloning https://github.com/org/repo.git /var/folders/7v/yqj59phx3q71thk7b9819nlm0000gn/t/pip-6uql0o-build     complete output command python setup.py egg_info:     traceback (most recent call last):       file "<string>", line 1, in <module>     ioerror: [errno 2] no such file or directory: '/var/folders/7v/yqj59phx3q71thk7b9819nlm0000gn/t/pip-6uql0o-build/setup.py'      ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /var/folders/7v/yqj59phx3q71thk7b9819nlm0000gn/t/pip-6uql0o-build/ 

first question: why cloning folder instead of /users/raitis/.virtualenvs/someenvironment/bin/python ?

second question: need have setup.py file in repository if want install pip?

note: after can install pip add requirements.txt

yes, need setup.py install lib.

pip first clones repo , tries python setup.py install in virtual environment.

this same when install tar.gz: first, download (equivalent of git clone), install (python setup.py)


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -