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

Impossible to install #9

Open
Network-Sec opened this issue Jun 1, 2024 · 3 comments
Open

Impossible to install #9

Network-Sec opened this issue Jun 1, 2024 · 3 comments

Comments

@Network-Sec
Copy link

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.

@bin123apple
Copy link
Owner

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
Copy link
Owner

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

@bin123apple
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants