我有蟒蛇我的Mac上安装.它已经搞砸了我的pygame模块.
我尝试了这个教程并替换pip3 install pygame为conda install pygame.我试过conda install pip然后pip install pygame我得到以下错误:
Collecting pygame
Could not find any downloads that satisfy the requirement pygame
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external pygame to allow).
No distributions at all found for pygame
Run Code Online (Sandbox Code Playgroud)
(我从这个帖子得到的想法)
在我执行"conda install pip"之前使用"pip install pygame",但是我的默认python现在是anaconda,不再访问pygame.使用which pip给出/Users/jensdonlin/anaconda/bin/pip
有没有人有一些建议,允许anaconda的python3版本访问pygame?
也许答案涉及use --allow-external pygame to allow但我不确定如何使用它.
你能帮我把插件用于macvim或终端vim吗?
到目前为止我尝试过的:
到桌面我git clone https://github.com/scrooloose/nerdtree.git.我试图将文件放入~/.vim,在那里我创建了一个名为bundle的文件夹,并在那里放置了文件nerdtree.
或者,我已将/usr/share/vim/vim73所有文件放在各自的文件夹中.使用此方法适用于终端vim中的NERDTree,但不适用于其他插件.
让这个工作仍然没有运气.感谢帮助.