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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Python
 Python=3.6.8 can not import originpro
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

CZH

China
3 Posts

Posted - 12/25/2023 :  11:37:01 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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!

minimax

348 Posts

Posted - 12/26/2023 :  02:55:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi CZH,

I think 0.0.1 is too old to support.

You may have to consider upgrading the Python version.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000