Coder Social home page Coder Social logo

Comments (3)

DavidDiazGuerra avatar DavidDiazGuerra commented on May 16, 2024

Hi Xiao,

That error is weird, all the DLLs needed should have been generated during the installation. How did you install the library? Did you get any error or warning message while doing it?

Best regards,
David

from gpurir.

yang-china avatar yang-china commented on May 16, 2024

Hi David,
I keep getting this error when I run the code,and not install the library.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\admin\AppData\Local\Temp\pip-req-build-opp33xvm\setup.py", line 86, in
"Operating System :: OS Independent",
File "C:\Users\admin.conda\envs\DeepLearning36\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\admin.conda\envs\DeepLearning36\lib\site-packages\setuptools\command\install.py", line 68, in run
return orig.install.run(self)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\admin\AppData\Local\Temp\pip-req-build-opp33xvm\setup.py", line 37, in run
self.build_extension(ext)
File "C:\Users\admin\AppData\Local\Temp\pip-req-build-opp33xvm\setup.py", line 62, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "C:\Users\admin.conda\envs\DeepLearning36\lib\subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\admin.conda\envs\DeepLearning36\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\admin\AppData\Local\Temp\pip-req-build-opp33xvm\setup.py'"'"'; file='"'"'C:\Users\admin\AppData\Local\Temp\pip-req-build-opp33xvm\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\admin\AppData\Local\Temp\pip-record-a8ikwxpw\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\admin.conda\envs\DeepLearning36\Include\gpuRIR' Check the logs for full command output.

from gpurir.

DavidDiazGuerra avatar DavidDiazGuerra commented on May 16, 2024

Hi Yang,

I think your error is completely different than the original one, so I think it would be better to open a new issue for it.

If I understood correctly, the error occurs when you're trying to install the library, how are you installing it? With pip install https://github.com/DavidDiazGuerra/gpuRIR/zipball/master I guess? It seems like CMake is not being able to compile the C++ and CUDA code, but I can't see what caused the error, do you have more logs? If there's all the information you get when installing the library with pip, maybe you could try to clone the repository and install the library with python setup.py install, I think you might get more logs in this way.

From the logs you reported, I guess you're using Windows. It's been some time since I don't use the library in Windows but I think it should work.

Best regards,
David

from gpurir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.