0x48piraj / rqmts

rqmts - Generate pip requirements.txt file for any project
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

[Question] no working on ubuntu 22.04 bash or zsh #24

Open codebydant opened 1 year ago

codebydant commented 1 year ago

Hi @0x48piraj

I have been trying to run this tool, but I got:

Screenshot from 2023-03-16 08-38-10

0x48piraj commented 1 year ago

The tool doesn't quite works on Python 2.

https://github.com/0x48piraj/rqmts/blob/51b27bfd7863b166963e35f3ae1c41e3d3f798ed/rqmts/__main__.py#L8

Also, here's the hot fix for all the OSX and Linux users,

if any(x in sys.platform.lower() for x in ['linux', 'linux2', 'win32', 'darwin']):

For installing from the source,

$ python3 setup.py install