[Pywps-dev] PyWPS Installation

Vikas Mishra vikasmishra95 at gmail.com
Wed Jun 8 02:39:21 PDT 2016


Hi Jan,
Yes the virtualenv is activated and I tried running "python setup.py
install" without the sudo command so that it calls the python interpreter
of the Virtualenv but it gives me a Permission denied error "Permissions
Denied: 'pywps.egg-info/requires.tx' " Actually that's the main issue am
not able to install pywps in virtualenv, it gives permission error when I
don't use sudo, and the moment I run the command with sudo it installs
pywps globally.



Vikas Mishra
MSc(Hons) Economics + B.E. Electronics and Electrical Engineering
*Birla Institute of Technology & Science,* Pilani
KK Birla Goa Campus
8412898899|vikasmishra95 at gmail.com


On Wed, Jun 8, 2016 at 11:22 AM, Jan Rudolf <rudolja1 at fit.cvut.cz> wrote:

> Hi Vikas,
>
> > So When I am inside the virtualenv and install the dependencies they
> > get installed locally (inside virtualenv and not globally) but when I
> > do 'sudo pip setup.py install' this installs pywps globally hence when
> > I try to run demo.py from inside the virtualenv it gives an import
> > error that It can't import pywps.
>
> Did you have Virtualenv activated? Then should the "python" command call
> the Python interpreter of your Virtualenv, so then if you use "python
> setup.py install", it should install PyWPS into Virtualenv's Python.
> It's  work for me. Hope it help.
>
> Jan
>
>
> On 2016-06-08 09:41, Vikas Mishra wrote:
> > Hi,
> > I finally figured out the reason why I was getting import error when I
> > was trying to install from the source code locally.
> > I've recently started using virtualenv, and for installation am
> > following the instructions from
> > https://pywps.readthedocs.io/en/latest/install.html
> >
> > So When I am inside the virtualenv and install the dependencies they
> > get installed locally (inside virtualenv and not globally) but when I
> > do 'sudo pip setup.py install' this installs pywps globally hence when
> > I try to run demo.py from inside the virtualenv it gives an import
> > error that It can't import pywps.
> >
> > For the moment I have installed everything globally and it works but
> > is there a way to install everything in virtualenv? I tried installing
> > pywps in virtualenv (without sudo) but it gives some permission denied
> > error.
> >
> > Also 'psutil' is not installed when you install from the requirements
> > files and before running demo.py I had to manually install it.
> >
> > Thanks and regards,
> >
> > Vikas Mishra
> > MSc(Hons) Economics + B.E. Electronics and Electrical Engineering
> > BIRLA INSTITUTE OF TECHNOLOGY & SCIENCE, Pilani
> > KK Birla Goa Campus
> > 8412898899|vikasmishra95 at gmail.com
> >
> > Sent with MailTrack [1]
> >
> > Links:
> > ------
> > [1]
> >
> https://mailtrack.io/install?source=signature&lang=en&referral=vikasmishra95@gmail.com&idSignature=22
> > _______________________________________________
> > pywps-dev mailing list
> > pywps-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/pywps-dev
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pywps-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160608/da27ffd9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001(2).jpg
Type: image/jpeg
Size: 11055 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160608/da27ffd9/attachment-0001.jpg>


More information about the pywps-dev mailing list