anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

unable to run collector; not able to install whaaaat (mac os 12.2.1)

Open altafr opened this issue 1 year ago • 4 comments

Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/private/var/folders/f2/k2pm6hv14vdb975wm5msdk540000gn/T/pip-install-8mictb59/whaaaaat_da2d91bcef8244be854586bbc3776280/setup.py", line 10, in long_description = pypandoc.convert('README.md', format='md', to='rst') AttributeError: module 'pypandoc' has no attribute 'convert' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

altafr avatar Jun 10 '23 06:06 altafr

I have the same issue, and I could not solve it even trying to change the venv several times. The package causing it is pypandoc and I also have it installed.

Tuminha avatar Jun 10 '23 07:06 Tuminha

Just going to remove whaaaat - seems to just give everyone issues and has a bunch of random deps. Will just make it a number input command instead of interactive.

timothycarambat avatar Jun 10 '23 09:06 timothycarambat

same on windows 11

allthecodeDev avatar Jun 10 '23 09:06 allthecodeDev

I fixed it by changing the version of the pypandoc package. Pushed a branch. gh pr checkout 23. Alternatively, the whaaaat could try long_description = pypandoc.convert_file('README.md', 'rst') instead. Hope it helps!

hipnologo avatar Jun 10 '23 21:06 hipnologo

resolved by #23

timothycarambat avatar Jun 12 '23 18:06 timothycarambat