Re: Unable to install / build docx module

2020-03-07 Thread 'MH' via Django users
Dear Kasper Thanks a lot. Yes, this has been too far away from django. But thanks nevertheless! Best regards MH -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Re: Unable to install / build docx module

2020-03-07 Thread Kasper Laudrup
Hi MH, On 07/03/2020 08.42, 'MH' via Django users wrote: Dear Kasper Thank you very much. If you still read this, I would like to ask a question about cross compilation. I found this developers guide from Synology: https://global.download.synology.com/download/Document/Software/DeveloperGuid

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
PS: The content of the last mentioned folder looks like this: /usr/local/arm-unknown-linux-gnueabi/lib/gcc/arm-unknown-linux-gnueabi/4.9.3$ ls * crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o libgcc.a libgcc_eh.a libgcov.a finclude: include: arm_acle.h float.h mmintrin.h sani

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
Dear Kasper Thank you very much. If you still read this, I would like to ask a question about cross compilation. I found this developers guide from Synology: https://global.download.synology.com/download/Document/Software/DeveloperGuide/Firmware/DSM/All/enu/Synology_NAS_Server_3rd_Party_Apps_Int

Re: Unable to install / build docx module

2020-03-06 Thread Kasper Laudrup
Hi MH, On 06/03/2020 10.38, 'MH' via Django users wrote: Before I do something very difficult like this cross compiling I wanted to try to get gcc to run on the synology diskstation. That definitely sounds like a very good idea. As I mentioned I have zero experience with the Synology Diskstat

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
No ... I cannot just copy it. Then it is asking for lxml again. ImportError: No module named 'lxml -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
>From both folders I tried ./python3 -m pip install docx, but both resulted in an error message. Nevertheless, I know that one of the two works with docx and runserver. So I guess, I installed it somehow in a different way and one of the python3s can use that. Ha, so I found a package in /

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
type -a python3 python3 is /opt/bin/python3 python3 is /usr/local/bin/python3 Can this actually be that a command leads to two binaries? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
Hi Omar Thanks for your help again. Indeed, runserver works depending on which python3 I am using. But I guess this is the problem. The python3 from /volume1/@appstore/py3k...and..so..on seems to work with gunicorn, but this is not the same python3 that works with docx. I still try to figure ou

Re: Unable to install / build docx module

2020-03-06 Thread Omar Abou Mrad
Is it still working if you use runserver? On Fri, Mar 6, 2020, 11:41 AM 'MH' via Django users < django-users@googlegroups.com> wrote: > Dear Kasper > > Before I do something very difficult like this cross compiling I wanted to > try to get gcc to run on the synology diskstation. But there is a ge

Re: Unable to install / build docx module

2020-03-06 Thread 'MH' via Django users
Dear Kasper Before I do something very difficult like this cross compiling I wanted to try to get gcc to run on the synology diskstation. But there is a general pip issue that I do not understand. ./pip3 search gcc clang-fake-gcc (0.2.1) - A GCC-like compiler interface, but runs Clang

Re: Unable to install / build docx module

2020-03-05 Thread 'MH' via Django users
Thanks Kasper, I will think about this. Yes, it is kind of intimidating. But it is also too early for me to give up. And given all the praise for such NAS devices I am really somewhat angry when I see that it seems to be a too difficult challenge just to get small webserver with a few python sc

Re: Unable to install / build docx module

2020-03-05 Thread Kasper Laudrup
Hi MH, On 06/03/2020 06.41, 'MH' via Django users wrote: I will google how I can do this cross compiling. Just recently a friend told me that this could not be done, because it would always have to be done on the same machine. I guess there is no way around that. Your friend is wrong. If yo

Re: Unable to install / build docx module

2020-03-05 Thread 'MH' via Django users
Dear Kasper I will google how I can do this cross compiling. Just recently a friend told me that this could not be done, because it would always have to be done on the same machine. I guess there is no way around that. How would an environment help? Best regards MH -- You received this messa

Re: Unable to install / build docx module

2020-03-05 Thread Kasper Laudrup
Hi MH, On 05/03/2020 23.48, 'MH' via Django users wrote: So, even as someone who has not so much experience in these things I would say that I lack three things: libxml2, libxslt, and usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc About the first two: I cannot d

Re: Unable to install / build docx module

2020-03-05 Thread 'MH' via Django users
So, even as someone who has not so much experience in these things I would say that I lack three things: libxml2, libxslt, and usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc About the first two: I cannot do an apt-get. I am working on a synology diskstation.

Re: Unable to install / build docx module

2020-03-05 Thread 'MH' via Django users
I can also not install lxml via pip3. Here is a short part of the output: cc -I/usr/include/libxml2 -c /opt/tmp/xmlXPathInit80x1qqz_.c -o opt/tmp/ xmlXPathInit80x1qqz_.o unable to execute 'cc': No such file or directory