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:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
Forum for Python
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
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
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000