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
 Cannot Import OriginExt

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
Lewi Posted - 02/13/2024 : 7:22:26 PM
Origin Ver: OriginPro 2024 (64-bit) 10.1.0.170 (Learning Edition)
Operating System: Windows 11

Hi, I am trying to install the python package originpro on my external python environment (version 3.12.1). I ran the command:

pip install originpro

Doing this only installed originpro version 0.0.1 and failed to install the other versions as the dependency of OriginExt could not be found. I have tried to directly install OriginExt using:

pip install OriginExt

And I get the error:

ERROR: Could not find a version that satisfies the requirement OriginExt (from versions: none)
ERROR: No matching distribution found for OriginExt

I have verified that OriginExt exists on pypi but for some reason pip can't see it, even though it can see originpro.
It might also be worth noting that I upgraded pip, setuptools, and wheel all to the most up to date versions.

Any help would be greatly appreciated!

*****UPDATE*****
Further investigation leads me to believe that the available wheel files on pypi are not compatible with my machine. I am running a windows 64bit system and the only wheel files compatible with that are amd. If that is referring to hardware, say an amd video card, then I do not have that. Since pypi has no distribution of originpro or OriginExt, I can only see the wheel files. To be honest I am quite new to this and am a little unsure how wheel files and distributions actually work. Is there a distribution out there that would allow me to build a wheel file compatible with my machine or do I need to adjust something on my end to make the files compatible?

The other thing I noticed was that the wheel files are for cp311 and my python version is 3.12. Do I just need to wait for an updated release?

Thanks again!
2   L A T E S T    R E P L I E S    (Newest First)
Lewi Posted - 02/19/2024 : 7:46:13 PM
It works perfectly now!

Thank you so much mimimax!
minimax Posted - 02/18/2024 : 04:56:33 AM
quote:
The other thing I noticed was that the wheel files are for cp311 and my python version is 3.12.


Hi Lewi,

Your finding is correct.

Package OriginExt is version dependent and sorry that we did not provide a version applicable to 3.12 earlier.

We have just published OriginExt 1.2.2 which should have a version for 3.12.

see all applicable versions (from 3.8 to 3.12) on
https://pypi.org/project/OriginExt/#files

Would you mind to try "pip install originpro" again to see if it works? (you may first run "pip uninstall originpro" in case)

PS, amd64 is just another terminology as x64 and compatible with windows 64bit system.


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