Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip install from SVN [error 2]

Tags:

python

pip

svn

Im trying to install my package via pip from a SVN repository. Version of subversion server is 1.6.11.

I'm using the command below:

pip install -e svn+http://svn.mysite.com/svn/project/project#egg=project


Error [Error 2] Can not find the file while executing command svn checkout -q http://svn.mysite.com/svn/project/project/
Can not find command 'svn'

How can I solve this problem?

like image 898
Florek Gesina Avatar asked Jan 06 '16 19:01

Florek Gesina


People also ask

How do I install a requirement file?

Use the pip install -r requirements. txt command to install all of the Python modules and packages listed in your requirements. txt file. This saves time and effort.

What is pip install command?

The pip install <package> command always looks for the latest version of the package and installs it. It also searches for dependencies listed in the package metadata and installs them to ensure that the package has all the requirements that it needs.


1 Answers

Seems like you don't have subversion installed or is misconfigured.

You can try svn --version in the terminal to check if you have subversion installed.

If you don't have it installed you can install Subversion via apt, brew or whatever package manager you use and try again.

like image 179
fasouto Avatar answered Oct 05 '22 23:10

fasouto