Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install addon #12

Closed
iurab opened this issue May 3, 2018 · 12 comments
Closed

Can't install addon #12

iurab opened this issue May 3, 2018 · 12 comments

Comments

@iurab
Copy link

iurab commented May 3, 2018

Is there a way to debug and see what can cause the install to fail?
The needed packages are installed:

➜ python3 -m pip install xlutils
Requirement already satisfied: xlutils in /usr/local/lib/python3.5/dist-packages (2.0.0)
Requirement already satisfied: xlrd>=0.7.2 in /usr/local/lib/python3.5/dist-packages (from xlutils) (1.1.0)
Requirement already satisfied: xlwt>=0.7.4 in /usr/local/lib/python3.5/dist-packages (from xlutils) (1.3.0)
~
➜ python3 -m pip install olefile
Requirement already satisfied: olefile in /usr/local/lib/python3.5/dist-packages (0.45.1)

➜ python2 -m pip install xlutils
Requirement already satisfied: xlutils in /usr/local/lib/python2.7/dist-packages (2.0.0)
Requirement already satisfied: xlwt>=0.7.4 in /usr/local/lib/python2.7/dist-packages (from xlutils) (1.3.0)
Requirement already satisfied: xlrd>=0.7.2 in /usr/local/lib/python2.7/dist-packages (from xlutils) (1.1.0)
~
➜ python2 -m pip install olefile
Requirement already satisfied: olefile in /usr/local/lib/python2.7/dist-packages (0.45.1)
@jmplonka
Copy link
Owner

jmplonka commented Jun 5, 2018

To be honest, I never used pip to install one of these packages.

I downloaded and extracted the available archives (ref. to libs.zip) and run the setup.py in each of the subfolders (e.g.):
.\InventorLoader\libs\olefile> python.exe setup.py install

But be careful with the path environment as FC is using its own python!

@wisniewski94
Copy link

Is there some guide for non-python developers, how to install, run and use this tool? Such mini guide would be very usefull. Thanks and keep it up!

@jmplonka
Copy link
Owner

I updated the readme for the repo.
@wisniewski94 : thank you for your feedback. Is it now better understandable?

@jmplonka
Copy link
Owner

can I close the issue now?

@luzpaz
Copy link
Contributor

luzpaz commented Aug 30, 2018

Just a reference:
FreeCAD/FreeCAD-addons#71
FreeCAD/FreeCAD-addons#75

@luzpaz
Copy link
Contributor

luzpaz commented Jun 4, 2019

Not sure if we should close this yet.

@luzpaz
Copy link
Contributor

luzpaz commented Jun 24, 2019

@iurab still an issue?
Please follow https://forum.freecadweb.org/viewtopic.php?f=22&t=29584

@jmplonka issue can be closed unless OP finds a need to reopen

@iurab
Copy link
Author

iurab commented Jun 24, 2019

No, the issue can be closed.

@luzpaz
Copy link
Contributor

luzpaz commented Aug 7, 2019

@jmplonka please close issue

@jmplonka jmplonka closed this as completed Aug 8, 2019
@jkbgbr
Copy link

jkbgbr commented Nov 4, 2019

I just tried to install the addon through the Addon Manager of 0.18.4 under win10 - did not succeed for the first try as the xls- and ole-related modules were missing. The addon manager just tells to install the missing modules, but no further instructions are given. I wonder if this happens if the freecad install path requires elevated prompt.
So I went to the freecad install directory, found the pip.exe and using this I could install the missing modules. This is IMHO not straightfoward for people less educated in the inner workings of python.

Perhaps more importantly: is this an InventorLoader issue?

@jmplonka
Copy link
Owner

jmplonka commented Nov 5, 2019

I tried several ways to automatise the installation of the missing packages. Until yet I didn't find a suitable and robust way.
Unfortunately I know only litte about the FC's Addon-Manager. Maybe someone is able and willing to support me on this issue.

@luzpaz
Copy link
Contributor

luzpaz commented Nov 5, 2019

@jmplonka feel free to discuss this on https://forum.freecadweb.org/viewtopic.php?f=22&t=29584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants