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
 Unable to install OriginExt and originpro on Colab
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rkpara10

United Kingdom
7 Posts

Posted - 12/29/2020 :  04:49:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I was trying to install two Python packages: 'OriginExt' and 'originpro' on Google Colab. But I am getting the following error messages;
--------------------------------------------------------------------
(1) !pip install OriginExt
ERROR: Could not find a version that satisfies the requirement OriginExt (from versions: none)
ERROR: No matching distribution found for OriginExt

(2) !pip install originpro
Collecting originpro
Using cached https://files.pythonhosted.org/packages/14/6c/7c2cd943faf034cd1a4547c68fd16113cd7ad0d581638aeceb70729d9a87/originpro-0.0.2-py3-none-any.whl
ERROR: Could not find a version that satisfies the requirement OriginExt==1.0.9 (from originpro) (from versions: none)
ERROR: No matching distribution found for OriginExt==1.0.9 (from originpro)
--------------------------------------------------------------------

Does anyone know how to install the aforementioned two python packages on Google Colab?

Thanks,
Raees

Origin Ver. and Service Release (Select Help-->About Origin): 2021
Operating System: Windows 10 HOME

Chris D

428 Posts

Posted - 12/29/2020 :  05:27:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

According to this document: https://colab.research.google.com/notebooks/intro.ipynb
"Colab notebooks execute code on Google's cloud servers..."

That being the case, the Google cloud server would have to be Windows based and have Origin installed on it to even install those packages in the first place. Origin HAS to be installed on the same machine on which the code executes.

Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

rkpara10

United Kingdom
7 Posts

Posted - 12/29/2020 :  06:15:10 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks, Chris, for your prompt reply.

Based on your answer above, do you mean, as of now, I cannot use the Google Colab as my python IDE in order to externally interact with Origin/OriginPro software?

Regards,
Raees
Go to Top of Page

Chris D

428 Posts

Posted - 12/29/2020 :  08:37:07 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It matters where the Python interpreter is running. If The google colab IDE is able to run a local interpreter (same computer in which Origin is installed), then it should work. But if the interpreter used for the Colab IDE is, say, on Googles servers, then the IDE won't work.

I personally use Visual Studio Code (https://code.visualstudio.com/) as my IDE though any other IDE that uses the local Python interpreter should work fine. I've even used Jupyter
Notebooks via local Anaconda to run originpro code.

Thanks,
Chris Drozdowski
Originlab Technical Support
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