Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problems #874

Open
EricShmeric opened this issue May 2, 2023 · 1 comment
Open

Installation problems #874

EricShmeric opened this issue May 2, 2023 · 1 comment

Comments

@EricShmeric
Copy link

Hi, this is probably a silly mistake on my part. When running the bootstrap.py file from terminal (using conda flag), I get the following error in the env_config.py file:

RuntimeError: Python version incompatible with this build:
Build directory: "d:\deep_learning\xrays\cctbx\build"
Python version used initially: 2.7
Python version in use now: 3.7
Process failed with return code 1

I tried reinstalling the environment in anaconda with python 2.7, but that just throws compatibility conflicts with the newer dependencies. Any guidance would be much appreciated, thanks!

@bkpoon
Copy link
Member

bkpoon commented May 2, 2023

Are you trying to update to using a newer version of Python? There is an existing build directory (d:\deep_learning\xrays\cctbx\build) that is built with Python 2.7 and bootstrap.py is trying to build with Python 3.7. I would recommend that you rename your build directory to something else and let bootstrap.py do a new build with Python 3.7 (or later).

It also looks like you are on Windows. For Python 3 builds, Visual Studio C++ 2017 and later is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants