> Can I use the pip command?

I want to use a library that is not in the libraries available in the evaluation environment.
Can I execute the pip command by using shell in my python script ??

Posted by: bakanaouji @ Oct. 18, 2019, 12:02 p.m.

In general, it introduces some problems if any package is installed into a competitive environment and make the competition unfair.
However, if you are talking about std ML package which you think ought to be installed into RecoGym (in addition to Tensorflow=1.*, PyTorch, and SciKit-Learn), we are ready to consider to install that package.
So, please, provide extra information about the package (name, version).

Posted by: Criteo @ Oct. 19, 2019, 7:51 p.m.

Thank you for reply !!
I want to use the following packages.
```
faiss
gensim
lightgbm
catboost
spaCy
polyglot
Statsmodels
```
I want you to install the latest version of the packages.

Posted by: bakanaouji @ Oct. 21, 2019, 10:41 a.m.

The following packages were installed:

pip show faiss gensim lightgbm catboost spaCy Statsmodels

Name: faiss
Version: 1.5.3
Summary: A library for efficient similarity search and clustering of dense vectors
Home-page: https://github.com/facebookresearch/faiss
Author: Matthijs Douze, Jeff Johnson, Herve Jegou
Author-email: matthijs@fb.com
License: BSD
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: numpy
Required-by:
---
Name: gensim
Version: 3.8.0
Summary: Python framework for fast Vector Space Modelling
Home-page: http://radimrehurek.com/gensim
Author: Radim Rehurek
Author-email: me@radimrehurek.com
License: LGPLv2.1
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: six, numpy, smart-open, scipy
Required-by:
---
Name: lightgbm
Version: 2.2.3
Summary: LightGBM Python Package
Home-page: https://github.com/Microsoft/LightGBM
Author: None
Author-email: None
License: The MIT License (Microsoft)
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: numpy, scipy, scikit-learn
Required-by:
---
Name: catboost
Version: 0.17.5
Summary: Catboost Python Package
Home-page: https://catboost.ai
Author: CatBoost Developers
Author-email: None
License: Apache License, Version 2.0
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: plotly, scipy, numpy, pandas, graphviz, matplotlib, six
Required-by:
---
Name: spacy
Version: 2.0.16
Summary: Industrial-strength Natural Language Processing (NLP) with Python and Cython
Home-page: https://spacy.io
Author: Explosion AI
Author-email: contact@explosion.ai
License: MIT
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: numpy, msgpack-numpy, murmurhash, cymem, preshed, thinc, plac, ujson, dill, regex, requests
Required-by:
---
Name: statsmodels
Version: 0.10.1
Summary: Statistical computations and models for Python
Home-page: https://www.statsmodels.org/
Author: None
Author-email: None
License: BSD License
Location: /home/reco-gym/bin/conda/envs/reco-gym/lib/python3.6/site-packages
Requires: pandas, scipy, patsy, numpy
Required-by:

Posted by: Criteo @ Oct. 21, 2019, 12:48 p.m.

Thank you so much!!

Posted by: bakanaouji @ Oct. 25, 2019, 6:08 a.m.
Post in this thread