-
Notifications
You must be signed in to change notification settings - Fork 95
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 can I install this pack on conda environment?? #169
Comments
Is your environment Windows OS? |
On Linux, you can install Tutel from source using conda's |
@Lurnco We merged a PR that work for Windows environment. Can you let us know whether it works for you? |
Yeah,my system is win10.if I insatll it in Windows ,its default path is Windows system python without ERROR
|
Have you try using |
using: ### python3.exe -m pip install --user --upgrade git+https://github.com/microsoft/tutel@main Another way Is CUDA environment necessary?I haven't CUDA environment,which maybe causes of the problem. |
@Lurnco CUDA environment is not needed, but it will only install CPU version. For the second way, I think the error is not from Tutel, but from an old Pytorch version which only allows CUDA_HOME to be set when installing extensions. Can you try setting a CUDA_HOME variable with dummy values (e.g. C:) to avoid that? |
I also haven't CUDA environment |
If you don't have CUDA environment, can you install Tutel successfully and run application using |
i have GPU environment now ,i try using python3.exe -m pip install --user --upgrade git+https://github.com/microsoft/tutel@main on Windows,there is complete log. E:\Swin3Project\Swin3) E:\Swin3Project\Swin3>python.exe -m pip install --user --upgrade git+https://github.com/microsoft/tutel@main × python setup.py bdist_wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Running setup.py install for tutel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while trying to install package. note: This is an issue with the package mentioned above, not pip. |
Seems like it is an issue of Visual Studio for conda, you may refer this: pytorch/pytorch#30379 |
how can I install this pack on conda environment??
It jumped ERROR: Microsoft Visual C++ 14.0 or greater is required.
but I had tied: " conda install libpython m2w64-toolchain -c msys2 " and isntalled "Microsoft Visual C++ Build Tools" as some blogs answer to solve it.
what should I do???
The text was updated successfully, but these errors were encountered: