Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here we go again another nightmare
#1
I am trying to in stall  scapy in python 2.7.12,I am running windows 7. I downloaded it and put it in the scrips folder. cd to C:\Python27\Scripts then I used
pip install scapy.

No luck the error are many see:
Error:
Exception: Traceback (most recent call last):   File "c:\python27\lib\site-packages\pip\basecommand.py", line 215, in main     status = self.run(options, args)   File "c:\python27\lib\site-packages\pip\commands\install.py", line 335, in run     wb.build(autobuilding=True)   File "c:\python27\lib\site-packages\pip\wheel.py", line 749, in build     self.requirement_set.prepare_files(self.finder)   File "c:\python27\lib\site-packages\pip\req\req_set.py", line 380, in prepare_ files     ignore_dependencies=self.ignore_dependencies))   File "c:\python27\lib\site-packages\pip\req\req_set.py", line 554, in _prepare _file     require_hashes   File "c:\python27\lib\site-packages\pip\req\req_install.py", line 276, in popu late_link     self.link = finder.find_requirement(self, upgrade)   File "c:\python27\lib\site-packages\pip\index.py", line 465, in find_requireme nt     all_candidates = self.find_all_candidates(req.name)   File "c:\python27\lib\site-packages\pip\index.py", line 423, in find_all_candi dates     for page in self._get_pages(url_locations, project_name):   File "c:\python27\lib\site-packages\pip\index.py", line 568, in _get_pages     page = self._get_page(location)   File "c:\python27\lib\site-packages\pip\index.py", line 683, in _get_page     return HTMLPage.get_page(link, session=self.session)   File "c:\python27\lib\site-packages\pip\index.py", line 811, in get_page     inst = cls(resp.content, resp.url, resp.headers)   File "c:\python27\lib\site-packages\pip\index.py", line 731, in __init__     namespaceHTMLElements=False,   File "c:\python27\lib\site-packages\pip\_vendor\html5lib\html5parser.py", line  33, in parse     tb = treebuilders.getTreeBuilder(treebuilder)   File "c:\python27\lib\site-packages\pip\_vendor\html5lib\treebuilders\__init__ .py", line 73, in getTreeBuilder     return etree.getETreeModule(implementation, **kwargs).TreeBuilder   File "c:\python27\lib\site-packages\pip\_vendor\html5lib\_utils.py", line 104,  in moduleFactory     objs = factory(baseModule, *args, **kwargs)   File "c:\python27\lib\site-packages\pip\_vendor\html5lib\treebuilders\etree.py ", line 19, in getETreeBuilder     ElementTreeCommentType = ElementTree.Comment("asd").tag AttributeError: 'module' object has no attribute 'Comment' C:\Python27\Scripts>
So I am right back to where I was over a week ago. what is the problem with trying to install things into python, every thing is a fight.
I get the praw thing when I try to install praw same error.

If anyone can help that would be nice.
thank you Wall

Never mind I cot it installed. if any one need help with installing scapy, let me know i will show how to do it.
Reply


Messages In This Thread
Here we go again another nightmare - by Blue Dog - Nov-10-2016, 12:18 AM
RE: Here we go again another nightmare - by wavic - Nov-14-2016, 07:45 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020