Skip to content

Instantly share code, notes, and snippets.

@kristoff-it
Last active June 11, 2019 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoff-it/ca3c9f4de23e9a536f9c6f43e1db4598 to your computer and use it in GitHub Desktop.
Save kristoff-it/ca3c9f4de23e9a536f9c6f43e1db4598 to your computer and use it in GitHub Desktop.
Installing numpy
# Connect to the container. Use `docker container list` to know the container name.
$ docker exec -it CONTAINER_NAME bash
# Attach to the virtual environment. This is probably going to be streamlined in future versions.
$ apt-get update
$ apt-get install python-pip
$ pip install pipenv
$ cd /opt/redislabs/lib/modules/python3/
$ pipenv shell
# Install your packages
$ pip install numpy
$ exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment