tomate44/CurvesWB

Curves addon error

Closed this issue · 8 comments

Many tools missing and not working at all
Uploading curves WB errors.txt…

With FreeCAD closed down, using Windows Explorer navigate to the following folder:

C:\Program Files\FreeCAD 0.21\FreeCAD 0.21\bin\Lib\site-packages

Delete any subfolders that start with:
numpy
scipy

Repeat by navigating to the following two folders and delete any numpy or scipy subfolders:

C:\Users\yourusername\AppData\Roaming\FreeCAD\AdditionalPythonPackages
C:\Users\yourusername\AppData\Roaming\FreeCAD\AdditionalPythonPackages\py38

Download the attached macro into your macros folder, the default location is C:\Users\yourusername\AppData\Roaming\FreeCAD\Macro
Rename the file by removing the .zip off the end so it reads RunPipOnWin.py

Start FreeCAD, don't be alarmed if you get even more errors, that wouldn't be unexpected, it'll only be temporary.

Click the Macro menu > Macros... select RunPipOnWin.py from the list and click Execute
In the dialog box requesting the module name type:
numpy
and click OK, it'll take some time and a message will appear in the Report View after a while such as Successfully installed numpy

Repeat running the macro and in the dialog box requesting the module name type:
scipy
and click OK and wait for the message in the Report View

Restart FreeCAD and hopefully the errors will have been cleared.

RunPipOnWin.py.zip

The only explanation as to how you got in this situation is another Addon you previously installed required a version of numpy that wasn't syncronised with the standard version of scipy included in FreeCAD. Think of the two as stablemates and should be upgraded together. @tomate44 if you've anything to add by all means let me know.

Are you sure you've cleared the dot off the end? Notice how Windows shows it as a PY File in Explorer, here's mine, ignore the folder, I use non-standard location:

Screenshot_Macros

@tomate44 if you've anything to add by all means let me know.

Thanks for your help. I don't use and don't know anything about Windows.