[aur-general] Python Dependancy Issue
johannes at kyriasis.com
Mon Jun 23 06:24:12 EDT 2014
On 23/06, Storm Dragon wrote:
>Sometimes this python stuff is confusing. I built the python-click package by hand after removing the python3 options. It built and installed and not p isn't complaining about click any more.
>So, I guess I'm just not requesting the right package be installed or something. In the PKGBUILD for p-git, should the dependancy be python2-click? It seems like it builds the python-click for python 3 though.
>Also, I figured the pythong-click would be the last of the issues, but now it's throwing another traceback:
>Traceback (most recent call last):
> File "/usr/bin/p", line 30, in <module>
> from pypump import WebPump, Client, JSONStore
> File "/usr/lib/python2.7/site-packages/pypump/__init__.py", line 19, in <module>
> from pypump.pypump import PyPump, WebPump
> File "/usr/lib/python2.7/site-packages/pypump/pypump.py", line 25, in <module>
> import requests
>ImportError: No module named requests
>I went back and made a seperate pypump2 package, using python2 for the installer. I guess when I get this stuff working I'll need to remove the python2 version of the package and make a package that installs both packages like the python-click PKGBUILD does.
As the errors says you need the requests module which for python2 is in
PGP Key ID: 3A9D0BB5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 1530 bytes
Desc: not available
More information about the aur-general