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 numpy and originpro
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
Hi, I am new to this forum, but I have a problem and maybe one of you could help me :). First, some background information: We run origin on a server and are using the version OriginPro 2023b. We have installed the python packages numpy and originpro via connectivity -> python packages. Now to my problem: I am trying to run a python script with a button: run -pyp data_import.py In the data_import.py I am using the originpro package as well as some other python intern packages. For me the whole program works fine, but when someone else is logged in on the server, it won't work and they get the following error message: Traceback (most recent call last): File "<string>", line 6, in <module> File "C:\Users\[user]\AppData\Local\Temp\7\~otfDLBC\data_import.py", line 1, in <module> import originpro as op File "C:\ProgramData\OriginLab\100b\PyPackage\Py3\originpro\__init__.py", line 9, in <module> from .config import * File "C:\ProgramData\OriginLab\100b\PyPackage\Py3\originpro\config.py", line 60, in <module> np.float64: po.DF_DOUBLE, ^^^^^^^^^^ AttributeError: module 'numpy' has no attribute 'float64' We already tried to restart the server, as well as upgrading numpy to 2.0.1, both did not work. It seems, that originpro itself is importing numpy as a package and also finds it, but has problems with that. Maybe it has something to do with different users and user-specific directory options in origin? Maybe somebody of you have had a similar problem or knows what to do here. Thank you!
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000