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?
您可以在主机上下载软件包,共享下载文件夹,并从共享目录在VM中运行安装。
$ pip install mypackage --no-index --find-links file:///vagrant/share/package
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.