AutoCoder icon indicating copy to clipboard operation
AutoCoder copied to clipboard

Impossible to install

Open Network-Sec opened this issue 1 year ago • 3 comments

Hey thanks for the hard work. Unfortunately we couldn't test AutoCoder, cause the conda VENV complains with lots of errors when trying to install the dependencies.

We kept on adjusting requirements and versions to get CUDA, torch, etc. installed on our Windows 10 with RTX 4080. Usually we don't have any problems with such a little dependency forest.

Ultimately we tried to bump to 3.12 but had no luck there either (we tried 3.10, 3.11, 3.12) - could be just randomly intersecting package issues.

miniconda3\python.exe -m pip install --upgrade pip setuptools wheel

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
 Building wheel for numpy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for numpy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      <string>:54: RuntimeWarning: NumPy 1.25.0 may not yet support Python 3.12.

miniconda3\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 567, in <module>
        File "<string>", line 546, in setup_package
        File "<string>", line 328, in generate_cython
      OSError: Cython needs to be installed in Python as a module
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for numpy
Failed to build numpy

We had a million more issues never seen before.

Please kindly provide some additional setup instructions.

Network-Sec avatar Jun 01 '24 22:06 Network-Sec

Thanks for using AutoCoder, could you try to use Linux to install everything? There are some docker dependency inside, it would be better for you to install by using Linux. If there are still problems, please let me know.

bin123apple avatar Jun 01 '24 22:06 bin123apple

I just tried it again on Linux Ubuntu 18.04.6. There should be no problem during the package installation stage.

bin123apple avatar Jun 03 '24 01:06 bin123apple

I updated the requirements.txt. You can try again if you still need, thanks.

bin123apple avatar Aug 11 '24 01:08 bin123apple