Questions tagged [pyxml]

7 questions
4
votes
2 answers

TypeError: __init__() takes exactly 1 argument (3 given) pyXML

I've recently started to learn how to use python to parse xml files. I took the tutorial from http://pyxml.sourceforge.net/topics/howto/node12.html When I run the following code I get the error: Traceback (most recent call last): File…
Peter Thomas
  • 43
  • 1
  • 4
1
vote
2 answers

AlchemyAPI gives an error when compiling

I'm trying out AlchemyAPI_Python-0.6 - PyXml module. I was trying to run the keyword extractor feature of it, but got the following error when trying to compile. I used the keywords.py file given in the examples. I copied all the files underneath…
user843970
  • 41
  • 2
0
votes
1 answer

After installing PyXML on Ubuntu 13.1 I can't import AdWordsClient

So I initially was having issues adding PyXML to Ubuntu 13.1. It turned out I needed to make a change to my PyConfig.h file, which was a pain. Eventually the system was able to successfully build PyXML but now, when I try to import AdWordsClient…
Ravin
  • 626
  • 2
  • 10
  • 25
0
votes
1 answer

PyXML Ubuntu 13.1, error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

struggling to install PyXML on UBuntu 13.1.0, As it is throwing the error: error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 I googled around a bit but could only find instructions to install python-dev…
Ravin
  • 626
  • 2
  • 10
  • 25
0
votes
1 answer

Import error when using XPath from PyXML-0.8.4

I'm learning Xpath and XSLT using Python 2.6.6-64bit on my unix workstation. For Xpath, I'm using the xpath module provided in PyXml-0.8.4. However, the import line itself throws the following error: Traceback (most recent call last): File…
Mindstorm
  • 443
  • 1
  • 5
  • 12
0
votes
1 answer

Installing SOAP for Python

I am new to Python, trying to learn it by doing a tutorial based on "Dive into Python" book. I am already in chapter about SOAP and I encountered some problems, when I tried to install all required libraries to use SOAP. The tutorial says I need 3…
koleS
  • 1,263
  • 6
  • 30
  • 46
-3
votes
1 answer

Unify values in Python PANDAS

I'm an intermediary in Python, and recently I am developing some projects for the company that I work using Pandas to manipulate and automate some spreadsheets in Excel. One of the spreadsheets contains 4800 values of multiples companies that are…