Jump to content

Having trouble installing some python packages...


chreestopher
 Share

Recommended Posts

I had a really tough time getting pip installed on the pineapple, which I think i have sorted, but now I am having trouble installing some packages, where others work just fine.

One that I am really interested in getting installed is PySNMP.

Whenever i try to install it, it crashes out while installing the dependency pyasn1

Collecting pyasn1
Exception:
Traceback (most recent call last):
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/basecommand.py", line 232, in main
status = self.run(options, args)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/commands/install.py", line 339, in run
requirement_set.prepare_files(finder)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/req/req_set.py", line 333, in prepare_files
upgrade=self.upgrade,
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/index.py", line 305, in find_requirement
page = self._get_page(main_index_url, req)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/index.py", line 783, in _get_page
return HTMLPage.get_page(link, req, session=self.session)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/index.py", line 872, in get_page
"Cache-Control": "max-age=600",
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 473, in get
return self.request('GET', url, **kwargs)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/download.py", line 365, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/cachecontrol/adapter.py", line 36, in send
cached_response = self.controller.cached_request(request)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/cachecontrol/controller.py", line 100, in cached_request
resp = self.serializer.loads(request, self.cache.get(cache_url))
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/cachecontrol/serialize.py", line 62, in loads
return getattr(self, "_loads_v{0}".format(ver))(request, data)
File "/sd/python/env/lib/python2.7/site-packages/pip-6.0.6-py2.7.egg/pip/_vendor/cachecontrol/serialize.py", line 76, in _loads_v1
cached = pickle.loads(data)
EOFError
Any advise would be great, especially if any of you have been able to install pyasn1 on the pineapple mark 5, and extra especially if you have been able to install PySNMP or any other SNMP library...
Im really surprised I havent seen much talk about snmp relating to the pineapple, seems like a great route to get some recon info....
Even if you can just help me figure out what this traceback is telling me, id really appreciate any input...
Edited by chreestopher
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...