Author |
Topic |
|
TorbenS
Germany
12 Posts |
Posted - 08/01/2024 : 10:55:29 AM
|
Hello,
I used to work with the Origin 2022b version and had plenty of embedded python scripts which I used for data analysis. Normally I start them directly in the code builder of origin. Today I upgraded to Origin2024b and all my python script failed to work.
When I run a random script I get the error message: Traceback (most recent call last): File "<string>", line 6, in <module> File "C:\Users\torbensa\Documents\OriginLab\Anwenderdateien\stst_import.py", line 1, in <module> import originpro as op File "C:\ProgramData\OriginLab\101\PyPackage\Py3\originpro\__init__.py", line 9, in <module> from .config import * File "C:\ProgramData\OriginLab\101\PyPackage\Py3\originpro\config.py", line 61, in <module> np.float64: po.DF_DOUBLE, ^^^^^^^^^^ AttributeError: module 'numpy' has no attribute 'float64'
After a short web search I found this website: https://www.originlab.com/doc/Quick-Help/Reinstall-Python-Packages But when I run the command in the script window the output says that there are no a updates needed. Otherwise I cannot find other suggestions for solving the problem. I hope you can help me.
Thanks in advance and kind regards Torben
Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2024 (64-bit) SR1 Operating System: Windows 10 |
|
minimax
348 Posts |
Posted - 08/06/2024 : 01:47:21 AM
|
Hi Torben,
Would you mind to try following:
1.In Windows Explorer, go to folder C:\ProgramData\OriginLab\PyPackage\Py311\64bit
(ProgramData is a hidden folder by default, you may paste above path in Explorer's address bar directly)
2.double click the numpy subfolder. --> can you open it directly? ==> or it pops up msg box asking permission?
|
|
|
TorbenS
Germany
12 Posts |
Posted - 08/07/2024 : 07:54:50 AM
|
Hey Minimax, you are right it asks for permission. So I guess I have to give it for every package I use? Thanks and best regards, Torben |
|
|
minimax
348 Posts |
Posted - 08/08/2024 : 06:12:56 AM
|
Hi Torben,
I sent an email (profile in this forum) to you with some follow up on fixing the issue.
Would you mind to check? |
|
|
minimax
348 Posts |
Posted - 08/08/2024 : 9:38:43 PM
|
We added the issue to the bug database and will fix it in the next version 2025, ID is ORG-29607. |
|
|
|
Topic |
|
|
|