Author |
Topic |
|
rkpara10
United Kingdom
7 Posts |
Posted - 12/29/2020 : 04:49:23 AM
|
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
|
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
|
|
|
rkpara10
United Kingdom
7 Posts |
Posted - 12/29/2020 : 06:15:10 AM
|
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 |
|
|
Chris D
428 Posts |
Posted - 12/29/2020 : 08:37:07 AM
|
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
|
|
|
|
Topic |
|
|
|