Closed 4567Nickam closed 2 months ago
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.
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.
When I rename it still it doesn't show up under macros
On Wed, Jul 3, 2024, 15:00 Syres916 @.***> wrote:
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 https://github.com/user-attachments/files/16083132/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 https://github.com/tomate44 if you've anything to add by all means let me know.
— Reply to this email directly, view it on GitHub https://github.com/tomate44/CurvesWB/issues/124#issuecomment-2205910517, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJHLHNYCXA437YMVV3PP6RDZKPRXBAVCNFSM6AAAAABKH5MB56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVHEYTANJRG4 . You are receiving this because you authored the thread.Message ID: @.***>
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:
Also you do have file extensions being shown in Explorer as per https://support.microsoft.com/en-gb/windows/common-file-name-extensions-in-windows-da4a4430-8e76-89c5-59f7-1cdbbc75cb01 ?
Mine wasn't checked
On Wed, Jul 3, 2024, 16:03 Syres916 @.***> wrote:
Also you do have file extensions being shown in Explorer as per https://support.microsoft.com/en-gb/windows/common-file-name-extensions-in-windows-da4a4430-8e76-89c5-59f7-1cdbbc75cb01 ?
— Reply to this email directly, view it on GitHub https://github.com/tomate44/CurvesWB/issues/124#issuecomment-2206028906, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJHLHNYLDOZRRKOXXHDAYPTZKPZBLAVCNFSM6AAAAABKH5MB56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGAZDQOJQGY . You are receiving this because you authored the thread.Message ID: @.***>
I have checked the box and found that the file wasn't renamed. Now that I checked it's edited.
On Wed, Jul 3, 2024, 16:07 Kamba Nicholas @.***> wrote:
Mine wasn't checked
On Wed, Jul 3, 2024, 16:03 Syres916 @.***> wrote:
Also you do have file extensions being shown in Explorer as per https://support.microsoft.com/en-gb/windows/common-file-name-extensions-in-windows-da4a4430-8e76-89c5-59f7-1cdbbc75cb01 ?
— Reply to this email directly, view it on GitHub https://github.com/tomate44/CurvesWB/issues/124#issuecomment-2206028906, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJHLHNYLDOZRRKOXXHDAYPTZKPZBLAVCNFSM6AAAAABKH5MB56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGAZDQOJQGY . You are receiving this because you authored the thread.Message ID: @.***>
@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.
Everything seems to be working fine. Thanks a lot.....much appreciated
On Wed, Jul 3, 2024, 16:26 Christophe Grellier @.***> wrote:
@tomate44 https://github.com/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.
— Reply to this email directly, view it on GitHub https://github.com/tomate44/CurvesWB/issues/124#issuecomment-2206076209, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJHLHN74RF7ADSN74NVA7HTZKP3ZXAVCNFSM6AAAAABKH5MB56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGA3TMMRQHE . You are receiving this because you authored the thread.Message ID: @.***>
Many tools missing and not working at all [Uploading curves WB errors.txt…]()