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

python setup.py build_ext --inplace errors on windows #699

Closed
rolandrmgservices opened this issue Nov 6, 2023 · 1 comment
Closed

python setup.py build_ext --inplace errors on windows #699

rolandrmgservices opened this issue Nov 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rolandrmgservices
Copy link
Contributor

Describe the bug
Calling python setup.py build_ext --inplace errors on windows.

To Reproduce
Follow windows installation steps and then run the above command. It produces an infinite/recursive loop repeating the same error.

This was installed in a conda environment running within anaconda powershell prompt, where previously the install succeeded.

Expected behavior
Success

Screenshots
image

Environment (please complete the following information):

  • OS: [Windows]
  • Python Version: [3.8]
  • Versions of Major Dependencies (pandas, scikit-learn, cython): [e.g. pandas==0.25, scikit-learn==0.22, cython==0.28]

Additional context
None

@rolandrmgservices rolandrmgservices added the bug Something isn't working label Nov 6, 2023
@barrybinshen
Copy link

Try changing "nthreads=0" in the setup function in the setup.py file. The reason for the error should be: the Linux system uses multiprocessing to load data, but it seems that this is not possible on Windows. So you can set "nthreads" to 0 to avoid enabling multiprocessing.

ras44 pushed a commit to ras44/causalml that referenced this issue Nov 16, 2023
@ras44 ras44 mentioned this issue Nov 16, 2023
10 tasks
ras44 pushed a commit to ras44/causalml that referenced this issue Nov 16, 2023
@ras44 ras44 mentioned this issue Nov 16, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants