[Grok-dev] grok 1.4 I can't import netsnmp

3sso takz1977 at gmail.com
Wed Jun 29 22:16:19 EDT 2011


You could enable including system-installed package from your 
buildout.cfg.

site-packages=true  << right or not

if this option I was try still not work





Jan-Wijbrand Kolman-3 wrote:
> 
> On 6/28/11 10:44 , 3sso wrote:
>> 
>> I'm install package from apt-set install and I can see package dir at
>> /dist-packages 
>> I can import in interpreter mode but can't in grok
>> 
>> I try modify buildout.cfg and setup.py now still not work
>> 
>> ps. I try reinstall it by easy-install have problem about package name
>> not
>> same too. so now I don't sure install it from what package. maybe
>> 
>> python-pynetsnmp 
>> python-pysnmp-common
>> python-pysnmp2
>> python-twisted-snmp
>> libsnmp-python
>> 
>> all package name search from apt-cache search snmp command but can't use
>> in
>> easy-install command
> 
> Aren't (some of) these packages listed here?
> 
>   http://pypi.python.org/pypi?%3Aaction=search&term=snmp&submit=search
> 
> Mind you that the python package may have been split up in several deb
> packages. Also note that, if these python packages contain compiled
> code, the corresponding *-dev deb package may need to be installed.
> 
> The reason you python interpreter *does* see the packages and the
> application as set up by buildout *does not*, is because buildout
> *intentionally* isolates you from system-installed packages.
> 
> You could enable including system-installed package from your
> buildout.cfg. Let me see how to do that...
> 
> ...right, this URL might help:
> 
> 
> http://pypi.python.org/pypi/zc.buildout/1.5.2#system-python-and-zc-buildout-1-5
> 
> HTH
> regards, jw
> 
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
> 
> 

-- 
View this message in context: http://old.nabble.com/grok-1.4-I-can%27t-import-netsnmp-tp31927974p31959726.html
Sent from the Grok mailing list archive at Nabble.com.



More information about the Grok-dev mailing list