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
 Python=3.6.8 can not import originpro

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
CZH Posted - 12/25/2023 : 11:37:01 PM
Our environment can not change the version of Python, when we use the python3.8 and install originpro package we can import it but we can't import originpro in the version of python3.6.8, when using python 3.6.8 the version of originpro is 0.0.1, and the error occured when import originpro like this:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\CZH\.conda\envs\test\lib\site-packages\originpro\__init__.py", line 1, in <module>
from .project import *
File "C:\Users\CZH\.conda\envs\test\lib\site-packages\originpro\project.py", line 1, in <module>
import PyOrigin
ModuleNotFoundError: No module named 'PyOrigin'
how can i fix it and keep the python and originpro version.
Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
minimax Posted - 12/26/2023 : 02:55:38 AM
Hi CZH,

I think 0.0.1 is too old to support.

You may have to consider upgrading the Python version.

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