Thanks very much sgrogan , as you have noted on the previous post, I have tried several times run the add-on without success. Some specific issue happens on Window Vista that isn't agible to load any add-on. For my case I need specifically the Assemble2.sgrogan wrote:It's probably easier to just install the add-on manually. Which add-on in particular are you interested in.
Install FreeCAD-addons-master
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Install FreeCAD-addons-master
Re: Install FreeCAD-addons-master
Go here https://github.com/hamish2014/FreeCAD_assembly2 click on the green "Clone or download" and download the .zip. Extract this in your downloads folder. Open the extracted folder. You should have a sub-folder called "FreeCAD_assembly2-master"MMSN wrote: Thanks very much
Next start FreeCAD and from the menu Macro > Macros.. copy the User macros location. Close the macro editor and close FreeCAD.
Open MyComputer and paste the copied file path into the address bar and hit enter.
Copy the "FreeCAD_assembly2-master" sub-folder to this directory.
Start FreeCAD you should have assembly2 available in the workbench selector.
"fight the good fight"
Re: Install FreeCAD-addons-master
I just recently installed FreeCAD on a Window 7 64bit machine and am getting the same error described in this post. When I run the suggested commands in the Python console window, the import ssl command generates the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.16\bin\lib\ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
It looks like OpenSSL might be missing. Should it have been installed by the FreeCAD .msi file?
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.16\bin\lib\ssl.py", line 60, in <module>
import _ssl # if we can't import it, let the error propagate
It looks like OpenSSL might be missing. Should it have been installed by the FreeCAD .msi file?
Re: Install FreeCAD-addons-master
Welcome to FreeCAD!monsontt wrote:I just recently installed FreeCAD on a Window 7 64bit machine an
Please tell us the exact version and exactly which file you downloaded and from where.
Re: Install FreeCAD-addons-master
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I downloaded the installer (FreeCAD-0.16.6704.oc449d7-WIN-x64_Installer-1.exe) from http://www.freecadweb.org/wiki/?title=Download
I've already manually installed the specific add-on workbench I was interested in, but I'm still curious why the Add-ons Installer macro is failing.
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I downloaded the installer (FreeCAD-0.16.6704.oc449d7-WIN-x64_Installer-1.exe) from http://www.freecadweb.org/wiki/?title=Download
I've already manually installed the specific add-on workbench I was interested in, but I'm still curious why the Add-ons Installer macro is failing.
Re: Install FreeCAD-addons-master
I'm beginning to think it's proxy settingsmonsontt wrote:I've already manually installed the specific add-on workbench I was interested in, but I'm still curious why the Add-ons Installer macro is failing.
On my working system from the installer
Code: Select all
Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import httplib
>>> import socket
>>> import ssl
>>> hasattr(httplib, 'HTTPS')
True
>>> hasattr(socket, 'ssl')
True
"fight the good fight"
Re: Install FreeCAD-addons-master
Hi,
I recently moved from win8 64 to win10 64 and now I cannot run correctly the addons_installer
I checked to download the latest code here
https://github.com/FreeCAD/FreeCAD-addo ... er.FCMacro
but I get these errors
both on FC 0.17 and FC 0.16
Am I missing something?
Maurice
I recently moved from win8 64 to win10 64 and now I cannot run correctly the addons_installer
I checked to download the latest code here
https://github.com/FreeCAD/FreeCAD-addo ... er.FCMacro
but I get these errors
Code: Select all
Traceback (most recent call last):
File "C:/Cad/Progetti_K/3D-FreeCad-tools/addons_installer.FCMacro", line 197, in run
u = urllib2.urlopen("https://github.com/FreeCAD/FreeCAD-addons")
File "C:\FreeCAD\bin\lib\urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "C:\FreeCAD\bin\lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\FreeCAD\bin\lib\urllib2.py", line 427, in _open
'unknown_open', req)
File "C:\FreeCAD\bin\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\FreeCAD\bin\lib\urllib2.py", line 1247, in unknown_open
raise URLError('unknown url type: %s' % type)
urllib2.URLError: <urlopen error unknown url type: https>
Am I missing something?
Maurice
Code: Select all
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8062 (Git)
Build type: Release
Branch: master
Hash: 33bb67edcbd63d17681f7dc89e5a7cdf3f66be14
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Code: Select all
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Re: Install FreeCAD-addons-master
Can you guys (who has problems with the addons_installer) try this from the python console?
mine here returns 2.7
and
it should return True
and
mine gives <module 'ssl' from '/usr/lib/python2.7/ssl.pyc'>
Unfortunately we can't use http because nowadays github automatically redirects http to https...
Code: Select all
import urllib2
print urllib2.__version__
and
Code: Select all
print urllib2._have_ssl
and
Code: Select all
print urllib2.ssl
Unfortunately we can't use http because nowadays github automatically redirects http to https...
Re: Install FreeCAD-addons-master
I will try this tomorrow on my non-working system. The problem is I'm on an almost identical win system where the macro works. I think it has something to do with network proxies but I'm too ignorant to understand. Same FreeCAD, same windows works. For me the only difference is the network. Why upgrading the OS on the same network would matter I don't know.yorik wrote:Can you guys (who has problems with the addons_installer) try this from the python console?
"fight the good fight"
Re: Install FreeCAD-addons-master
Hi @yorik, thanks for support...yorik wrote:Can you guys (who has problems with the addons_installer) try this from the python console?mine here returns 2.7Code: Select all
import urllib2 print urllib2.__version__
andit should return TrueCode: Select all
print urllib2._have_ssl
andmine gives <module 'ssl' from '/usr/lib/python2.7/ssl.pyc'>Code: Select all
print urllib2.ssl
Unfortunately we can't use http because nowadays github automatically redirects http to https...
I tried the commands both on FC 0.17 and FC 0.16 and here the result:
FC0.17
Code: Select all
Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import urllib2
>>> print urllib2.__version__
2.7
>>> print urllib2._have_ssl
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'module' object has no attribute '_have_ssl'
>>> print urllib2.ssl
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ssl'
>>>
Code: Select all
Python 2.7.8 (default, Nov 17 2014, 20:37:05) [MSC v.1800 64 bit (AMD64)] on win32
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> import urllib2
>>> print urllib2.__version__
2.7
>>> print urllib2._have_ssl
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'module' object has no attribute '_have_ssl'
>>> print urllib2.ssl
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ssl'
>>>