degiro-connector
degiro-connector copied to clipboard
mamba/conda installation of degiro_connector
Dear Chavithra,
With a bit of effort, I managed to obtain the degiro_connector package installed in a conda environment.
Qualitatively, this is what I've done: created a conda version of the onetimepass package with conda skeleton, conda-build -c local commands installed onetimepass installed poetry (not sure if it is 100% needed) prepared for the creation of a conda version of the degiro_connector (very important UNDERSCORE) package with conda skeleton, Modified the meta.yaml addind poetry in all resources sections created the package with conda-build -c local commands
is it interesting to write down these steps in a more quantitative way?
By the way the creation of conda version is done by following this manual entry: Building conda packages with conda skeleton
Dear Chavithra,
With a bit of effort, I managed to obtain the degiro_connector package installed in a conda environment.
Qualitatively, this is what I've done: created a conda version of the onetimepass package with conda skeleton, conda-build -c local commands installed onetimepass installed poetry (not sure if it is 100% needed) prepared for the creation of a conda version of the degiro_connector (very important UNDERSCORE) package with conda skeleton, Modified the meta.yaml addind poetry in all resources sections created the package with conda-build -c local commands
is it interesting to write down these steps in a more quantitative way?
Hello @lucaga ,
POETRY Poetry is not necessary if you handle the dependencies with another mean.
STEPS Maybe some people would be interested in know the steps to do it themselves.
Can you enlighten me on why you need a Conda package version of this library?
Thanks
Dear Chavitra,
Thanks for the quick reply.
About the steps: I'll write it here when I'm able to reproduce it. I was able to create a conda package of degiro_connector 2.x in May, but I'm not succeeding yet with 3.x
About the reason for the need of a conda package: It's a combination of being a newbie, habit and the setup of the environment I'm using. Thinking about the answer to your question, I do realize that I could get all I need from pip. Though I would have to recreate my environment.
Maybe it's a good plan b when I cannot create a package for DeGiro_connector 3.x
Regards Luca
Update: Still not able to create a conda package of degiro_connector 3.x
I resorted to install pip in conda and use pip to solve dependencies for degiro_connector within an environment.
THe easiest way to achieve that was to create an environment from a environment.yml file (see conda manual).
My initial, raw environment.yml was like this: =-=-=-=-
name: AnEnvironment
channels:
- conda-forge
- defaults
prefix: /home/lg/miniforge3/envs/AnEnvironment
dependencies:
- python=3.12.*
- numpy
- pandas
- yfinance
- PyPortfolioOpt
- pip
- pip:
- degiro_connector
=-=-=-=- Hope this helps