The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Python
 Problems with embedded Python after Origin upgrade

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
TorbenS 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
4   L A T E S T    R E P L I E S    (Newest First)
minimax 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.
minimax 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?
TorbenS 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 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?

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000