On Thu, Jan 22, 2015 at 11:02 AM, Mikael Mortensen
<[email protected]> wrote:
>
>> On 22 Jan 2015, at 10:43, Johannes Ring <[email protected]> wrote:
>>
>> On Thu, Jan 22, 2015 at 9:30 AM, Mikael Mortensen
>> <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> Two issues have come up when installing Fenics through hashdist. They are
>>> not really Fenics issues and installation is fine, but some of the python
>>> packages installed seem to lack functionality, which is unfortunate.
>>>
>>> i) The matplotlib installations does not seem to have a working backend (the
>>> only shared object in site-packages/matplotlib/backends is _backend_agg.so).
>>
>> I also have _tkagg.so.
>>
>>> ii) The ipython complains about missing Tkinter when I try to paste from the
>>> clipboard (In [1]: %paste; ERROR: Getting text from the clipboard on this
>>> platform requires Tkinter.)
>>
>> This is not a problem for me. Maybe because I have python-tk installed
>> and that this is picked up when building matplotlib?
>
> python-tk would probably fix both this and previous. How do you install it? I 
> don’t see a hashdist yaml for it? Host?

Yes, I already had the python-tk on my system (Debian package). There
is no host-tk.yaml package in hashstack and matplotlib.yaml should
probably depend on tk. Feel free to report an issue for hashstack.

>>
>>> I’m on Ubuntu 14.04. Anyone with the same issues? Could they be easily
>>> fixed? If not, can I simply use use_python_host_packages: true to fall back
>>> on host python? (Trying to figure out how hashdist works here.)
>>
>> Yes, you can try to put something like this in your profile:
>>
>> packages:
>>  ...
>>  python:
>>      host: true
>>      use_python_host_packages: true
>>
>> I added a variable FENICS_INSTALL_USE_HOST_PYTHON to fenics-install.sh
>> yesterday that can be set to 1 to use host Python. However, this is
>> not working correctly for me yet.

This is working for me now.

Johannes
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to