Python Forum
[split] Here we go again another nightmare
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Here we go again another nightmare
#1
(Nov-10-2016, 12:18 AM)Blue Dog Wrote: 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.


I have got the same issue while installing matplotlib. Please help me with the solution.
Reply
#2
what is the exact error you are getting on matplotlib. Also post it in a new thread next time as it is different
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dealing with a .json nightmare... ideas? t4keheart 10 4,376 Jan-28-2020, 10:12 PM
Last Post: t4keheart

Forum Jump:

User Panel Messages

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