the*_*axx 21 python macos virtualbox pycharm vagrant
设置远程解释器并选择Vagrant时,我在PyCharm中收到以下错误:
Can't Get Vagrant Settings: [0;31mThe provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown bellow: Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed. Vagrant uses the `VBoxManage` binary that ships with VirtualBox, and requires this to be available on the PATH. If VirtualBox is installed, please find the `VBoxManage` binary and add it to the PATH environment variable.[0m
Run Code Online (Sandbox Code Playgroud)
现在,从一个终端,一切正常.我可以毫无问题地"启动"并进入虚拟机.转发端口以及本地文件.所以问题只出现在PyCharm中.我已经安装了Java 1.8
路径是:/ usr/local/bin:/ usr/bin:/ bin:/ usr/sbin:/ sbin
其中VBoxManage:/ usr/local/bin/VBoxManage并在终端中工作.
请注意,这是今天早上完成的OS X全新安装.Vagrant版本是1.7.3,VirtualBox是4.3.30,PyCharm是4.5.3
Lui*_*igi 30
另一种解决方法:
sudo ln -s /usr/local/bin/VBoxManage /usr/bin/VBoxManage
Run Code Online (Sandbox Code Playgroud)
编辑:
由于这一切都在前一段时间内起作用,因此必须解决以下问题之一:
无论原因是什么,解决方案是确保BWoxManage位于PyCharm预期的位置.我自己没有编写这个解决方案,只是谷歌搜索它,但因为它是如此美好和干净我决定在这里添加它.
the*_*axx 23
事实证明,这个问题是PyCharm中的一个已知错误.
在他们修复它之前,您可以通过使用该charm命令从终端窗口启动PyCharm来解决问题.
Pycharm 4.5下的Vagrant 1.7.3和VirtualBox 4.3.30:路径问题
| 归档时间: |
|
| 查看次数: |
4190 次 |
| 最近记录: |