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 of Quantiphyse #51

Open
RosieMRI opened this issue Apr 16, 2024 · 1 comment
Open

Installation of Quantiphyse #51

RosieMRI opened this issue Apr 16, 2024 · 1 comment

Comments

@RosieMRI
Copy link

Hi,

I have been trying to install Quantiphyse using read the doc but it isn't working, when I put the first line in to my terminal I get a warning (see below).

conda create -n qp python=3.7
WARNING: A conda environment already exists at '/opt/anaconda3/envs/qp'
Remove existing environment (y/[n])?

I am not too familiar with coding and I have only been using Quantiphyse for about 10 months but I recently got a new computer and have needed to reinstall the software. If anyone could help that would be much appreciated.

Thanks,
Rosie

@RosieMRI
Copy link
Author

Hi,

Problem has been solved!!

It was a bit of a hard fix but here is what I did to get quantiphyse installed.

How I got the install to work on my M2 Mac:

softwareupdate --install-rosetta

CONDA_SUBDIR=osx-64 conda create -n rosetta python=3.7
conda activate rosetta
python -c "import platform;print(platform.machine())”

check that the output from the above line includes 86

conda config --env --set subdir osx-64

pip install quantiphyse
pip install pyobjc
echo "export QT_MAC_WANTS_LAYER=1" >> ~/.zshrc

Then to start quantiphyse it is just necessary to do:

conda activate rosetta
quantiphyse

Hope this helps :)

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

1 participant