Hi I am using vagrant to run a local linux environment on my windows OS.
The problem is, I am trying to run my python project on it but there are a whole lot of dependencies, including nltk, which takes a long time to download.
Other than manually re-downloading and installing all the dependencies onto the VM, is there a better way to sync my existing python libraries?
Advertisement
Answer
You can download the package on your host machine, share the folder where you have the download and run the install in the VM from the shared directory.
$ pip install mypackage --no-index --find-links file:///vagrant/share/package