daboross / screeps-starter-python

Starter Python AI for screeps, the JavaScript MMO game
MIT License
159 stars 62 forks source link

Build fail #19

Open DrSnail opened 5 years ago

DrSnail commented 5 years ago

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?

daboross commented 5 years ago

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.

jim-hart commented 5 years ago

@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