threestudio-project / threestudio

A unified framework for 3D content generation.
Apache License 2.0
6.32k stars 480 forks source link

required python cuda is not all compliant and suitable #294

Open yuchenlichuck opened 1 year ago

yuchenlichuck commented 1 year ago

Nvidia Driver Version: 510.108.03 CUDA Version: 11.6 Operating System + Version: Ubuntu 20.04.1 LTS Python Version: Python 3.8.17 GCC Version : 9.4.0

This kind of config can't fit to torch 2.0, the bug will show:

error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      /tmp/pip-install-cugvbue0/pywavelets_c24e500de2924b96992bd565e2d1d77b/setup.py:52: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
        import imp
      /home/dubaiprince/miniconda3/envs/new_threestudio/lib/python3.8/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'configuration'
        warnings.warn(msg)
      error: Multiple top-level packages discovered in a flat-layout: ['pywt', 'demo'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]
bennyguo commented 1 year ago

I don't think this is a torch2 problem. Which package were you installing when you encountered the error?