Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,139 Views

problems installing packages

Hello,

I hope someone can help me.

I tried to install the package:

python-lxml (therefore http://xmlsoft.org/ libxml2 and http://xmlsoft.org/XSLT/ libxslt are needed)

libexpat1

liburcu

check

but I fails .. I use pip as well as easy_install to install it....

I don't know what i should do.

10 Replies
FTinetti
Honored Contributor I
110 Views

Hi,

What is the error (you may copy the error message)?

Fernando.

idata
Community Manager
110 Views

FTinetti
Honored Contributor I
110 Views

Hmm... I'm not an expert, but it seems to be a pip error... did you try to install the package/s with opkg (the "default" package manager, think...)?

Fernando.

idata
Community Manager
110 Views

I used easy_install/ pip because opkg didn't know this packages!

Pablo_M_Intel
Employee
110 Views

Hi la_karli,

Could you tell us which image you're using? The standard or the IoT image?

Also, if you could provide all the steps that you follow using pip and easy_install that would be very helpful. We would like to replicate your issue to compare our results.

Regards,

Pablo

idata
Community Manager
110 Views

I was able to install

libexpat1

liburcu

check

libxml2

libxslt

 

but for lxml, cython have to be installed.

So I try to install cython. (PS: I don't have a error message directly, I will post one if it fails again today)

I use the IoT-Image....

MBlak2
New Contributor I
110 Views

I installed libxml2 using npm, however -- I just wanted libxml2, it was not part of a larger install like your situation. Perhaps if you installed the dependent packages first, the outer install would work.

idata
Community Manager
110 Views

Thank you for your help.

I tried to install libxml2 with npm but it fails too.... did you use npm install libxml2 or something different?!

Pablo_M_Intel
Employee
110 Views

Hi la_karli,

We are still working on this case, in the meantime you can try this suggestion from the following thread: /thread/59050 https://communities.intel.com/thread/59050. The idea is to get the library on your personal computer and extract from there to your SD card, once you've done this put your SD card back into your Galileo board. Boot your board, go to the directory containing the library, module, etc., and run python setup.py install. Remember to install any necessary dependencies. Please let us know your results.

Regards,

Pablo

MBlak2
New Contributor I
110 Views

I did use npm install libxml2. Unfortunately, I do not recall exactly what I installed first. I was installing various packages and that was one of them. I was setting up for using node.js -- not every package installed and some had dependencies that the installer told me about. Others were cryptic to me because I am not familiar with this type of Linux customization and I can see clearly that a lot of this is actually building the package, so there is another part of the process that will cause confusion in embedded systems. (They cannot always build complex programs because they do not have the necessary resources.) I do recall some of them telling me to contact the package owner with the error.

The best path I can see is, unfortunately, the one I am loathe to try....get a Linux desktop to use for the heavy work that I do not know how to do on my Galileo 2. I really do not want to try to invest a couple of thousand dollars in another system that isn't even a Windows system. I am not 15 and I work primarily in Windows, not Linux.

I hope you get your system working the way you want. Happy Coding!

Reply