FRIDAY icon indicating copy to clipboard operation
FRIDAY copied to clipboard

[BUG]: pip install -r requirements.txt

Open diogodsa opened this issue 1 year ago • 3 comments

The following error is occurring when running the command 'pip install -r requirements.txt'

error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [12 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-310 creating build\lib.win-amd64-cpython-310\pysqlite3 copying pysqlite3\dbapi2.py -> build\lib.win-amd64-cpython-310\pysqlite3 copying pysqlite3_init_.py -> build\lib.win-amd64-cpython-310\pysqlite3 running build_ext Builds a C extension linking against libsqlite3 library building 'pysqlite3._sqlite3' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pysqlite3 Running setup.py clean for pysqlite3 Successfully built document PyPika Failed to build pysqlite3 ERROR: Could not build wheels for pysqlite3, which is required to install pyproject.toml-based projects

diogodsa avatar May 11 '24 17:05 diogodsa

You can try pip install -e . instead.

heroding77 avatar May 12 '24 01:05 heroding77

You can try pip install -e . instead.

I tried. However, it didn't work either.

diogodsa avatar May 12 '24 10:05 diogodsa

You can try pip install -e . instead.

I tried. However, it didn't work either.

It seems there is an issue with your local environment. You can try running the following command first:

pip install --force-reinstall pysqlite3

Then run pip install -e . . hope this method can solve your problem~

heroding77 avatar May 14 '24 08:05 heroding77