screeps-starter-python icon indicating copy to clipboard operation
screeps-starter-python copied to clipboard

Build fail

Open DrSnail opened this issue 7 years ago • 2 comments

The path python3.5 (from --python=python3.5) does not exist Traceback (most recent call last): File "build.py", line 345, in <module> main() File "build.py", line 334, in main install_env(config) File "build.py", line 290, in install_env .format(ret, "' '".join(args), config.base_dir)) Exception: virtualenv failed. exit code: 3. command line 'D:\Programs\Anaconda\python.exe' '-m' 'virtualenv' '-p' 'python3.5' '--system-site-packages' 'd:\Programs\Anaconda\envs\screeps\screeps-starter-python-update-transcrypt\env'. working dir: 'd:\Programs\Anaconda\envs\screeps\screeps-starter-python-update-transcrypt'. How to fix it?

DrSnail avatar Nov 11 '18 18:11 DrSnail

One of two possibilities: you're using an older python we don't support (python2.7) or a newer one we don't support (python3.7, 3.8).

Could you try and find your python version and see what it is? Unfortunately this project currently only supports python 3.5 and python 3.6.

daboross avatar Nov 12 '18 02:11 daboross

@DrSnail, try providing the full path to the python switch: e.g. --python=D:\Programs\Anaconda\python.exe assuming the above is the path to your default python interpreter

jim-hart avatar Nov 12 '18 10:11 jim-hart