After initiating a pybuilder project I receive an error that the executable is not functioning and that virtualenv is not compatible

戏子无情 提交于 2021-02-11 14:38:36

问题


I'm following the following helloworld tutuorial for pybuilder: https://pybuilder.io/documentation/tutorial I'm using a mac. I've installed python with brew. I'm able to run the following commands:

$ virtualenv venv
$ source venv/bin/activate
$ pip install pybuilder
$ pyb --start-project

I create the helloworld file and run:

$ pyb

I get the following error:

ERROR: The executable /Users/myusername/projects/learning/pybuilderexample/helloworld/.pybuilder/plugins/cpython-3.9.1.final.0/bin/python is not functioning
ERROR: It thinks sys.prefix is '/usr/local/Cellar/python@3.9/3.9.1_1/Frameworks/Python.framework/Versions/3.9' (should be '/Users/myusername/projects/learning/pybuilder-example/helloworld/.pybuilder/plugins/cpython-3.9.1.final.0')
ERROR: virtualenv is not compatible with this system or executable

Can anyone help me get past this error? I think it has something to do with the way I installed python (brew). However, I'm unsure what to do next.

来源:https://stackoverflow.com/questions/65546955/after-initiating-a-pybuilder-project-i-receive-an-error-that-the-executable-is-n

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!