OiO.lk Blog python How to create conda env with special proprietary Python from specific location?
python

How to create conda env with special proprietary Python from specific location?


I have some proprietary software from SomeCompany (TM) that allows python scripting, but for that one has to use their own special version of python, which is attached to the rest of proprietary files. Let’s call it "proppython.exe" in the path C:\programs\SomeCompany\software\scripting\proppython.exe.

I want to create a conda environment that would use that proppython instead of any usual python.

I used the following command in the Pycharm’s terminal:

conda create -n "myenv" python=C:\programs\SomeCompany\software\scripting\proppython.exe

But I got SyntaxError.

So how do I replace the usual python with this specific one? My tool of work is Pycharm and conda.

I already have read the F manual, but it doesn’t offer that much help with scripting.



You need to sign in to view this answers

Exit mobile version