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

How to install this package on Windows? #50

Open
shz224 opened this issue Jul 12, 2020 · 1 comment
Open

How to install this package on Windows? #50

shz224 opened this issue Jul 12, 2020 · 1 comment

Comments

@shz224
Copy link

shz224 commented Jul 12, 2020

Could anyone tell me how to install this package on windows? I used conda install and pip install but failed. Thanks in advance.

@shz224
Copy link
Author

shz224 commented Jul 12, 2020

I have found a method to install this package and it seems right.
First, install clfftw via conda: conda install -c conda-forge clfft;
Second, clone the gpyfft package to anaconda package folder, for me, it's D:\professional\Anaconda_install\Lib\site-packages
Then, modify the setup.py:
... elif 'Windows' in system: CLFFT_DIR = r'D:\professional\Anaconda_install\pkgs\clfft-2.12.2-h037026a_1\Library' CLFFT_LIB_DIRS = [os.path.join(CLFFT_DIR, 'lib\import')] ...
At last, enter the folder containing setup.py via Anaconda prompt and use python setup.py install to install the package.

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