Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #189424 > unrolled thread

Pycollada doesn't import, even if it is installed.

Started byCarl Fink <carlf@panix.com>
First post2017-11-30 04:20 +0100
Last post2017-12-08 07:10 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Pycollada doesn't import, even if it is installed. Carl Fink <carlf@panix.com> - 2017-11-30 04:20 +0100
    Re: Pycollada doesn't import, even if it is installed. John Hasler <jhasler@newsguy.com> - 2017-11-30 05:00 +0100
      Re: Pycollada doesn't import, even if it is installed. Carl Fink <carlf@panix.com> - 2017-12-08 07:10 +0100

#189424 — Pycollada doesn't import, even if it is installed.

FromCarl Fink <carlf@panix.com>
Date2017-11-30 04:20 +0100
SubjectPycollada doesn't import, even if it is installed.
Message-ID<uRnyh-1NV-1@gated-at.bofh.it>
So I wanted to use FreeCAD. Debian Testing has no FreeCAD package, so
I downloaded the AppImage from their Git page. It starts up and runs
OK, but to import Collada meshes it requires PyCollada.

So Debian also doesn't have PyCollada. It has "python-collada" but this
doesn't satisfy the FreeCAD requirement. I'm no expert, but I'm assumed
that it is a different way for Python to handle Collada meshes.

So I used pip to install PyCollada.

FreeCAD still says, "PyCollada not found, Collada support is disabled."

I tried switching between Python 2 and Python 3. No difference.

Is FreeCAD incorporating its own Python executable and libraries in the
AppImage? If so, there's no way for me to add the PyCollada library,
right? Or maybe just the wrong pythonpath so it doesn't find the library?

OK, being a resourceful guy I set up apt pinning (hadn't bothered on this
system) and installed the FreeCAD package from Unstable on my Testing
system. As you'd expect it installed dozens of Python packages. (FreeCAD
is a Python program and scripted in Python.) Only the install failed for
dependency reasons, which boiled down when I analyzed it to a missing
configparser, which I was able to trace to the fact that the shell I was
running apt from had a default Python version of 3.6. Switching to 2.7
let the installation complete.

Mind you, FreeCAD still doesn't work. Run from the Xfce menu or a shell,
it complains that, "No module named WebGUI" something. It gets cut off
there on the status bar. Switching between Python2 and Python3 has no
effect.

I can't find a Python module named "WebGUI" at all.

What the?

Any suggestions?

Running Testing on an AMD64 CPU. Add'l information if you can tell me
what would be useful.

Thanks.

-- 
Carl Fink          carl@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com

[toc] | [next] | [standalone]


#189425

FromJohn Hasler <jhasler@newsguy.com>
Date2017-11-30 05:00 +0100
Message-ID<uRoaZ-23U-1@gated-at.bofh.it>
In reply to#189424
Build FreeCad from source.  It's easy.  They provide exact instructions
for building on Debian.  You just copy the commands given in the
instructions and run them.
-- 
John Hasler 
jhasler@newsguy.com
Elmwood, WI USA

[toc] | [prev] | [next] | [standalone]


#189665

FromCarl Fink <carlf@panix.com>
Date2017-12-08 07:10 +0100
Message-ID<uUk1c-ed-5@gated-at.bofh.it>
In reply to#189425
On 11/29/2017 10:55 PM, John Hasler wrote:
> Build FreeCad from source.  It's easy.  They provide exact instructions
> for building on Debian.  You just copy the commands given in the
> instructions and run them.

That's what I ended up doing.

It wasn't difficult but also not as easy as it should be. The current 
package
doesn't work with debuild as the FreeCAD instructions say. However, the
regular cmake/make cycle works just fine and it's very self-contained,
doesn't litter files all over the system.

It even works pretty well. It only froze on me every 30 minutes or so. Now,
Meshlab is really unstable. Certain commands are instant segfault.

Thanks, John.

-- 
Carl Fink          carl@finknetwork.com
Thinking and logic and stuff at Reasonably Literate
http://reasonablyliterate.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web