Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt' Python on Mac
15,634
You should run that only from a clone of the repository, and only if you want to do development of that library.
Author by
esaunde1
Updated on June 05, 2022Comments
-
esaunde1 almost 2 years
I am trying to use this code from github.
The first three commands to get this started are:
pip install bitfinex bitfinex-poll-orderbook pip install -r ./requirements.txt
The first two work perfectly fine and I am able see the orderbook for Bitfinex, a bitcoin trading exchange. When I put the third line I get the following error
Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt'
What can I do to fix this?
-
esaunde1 over 8 yearsthis helped but I still have another error. Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-AUyHaP/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-t_Dx3j-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-AUyHaP/lxml
-
memoselyk over 8 yearsThe file is requiring
lxml==3.3.1
, but it isn't available in the PyPI anymore. You'll need to get it from somewhere else... Or try changing therequirements.txt
file -
esaunde1 over 8 yearsI downloaded that fire and still had an error Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/zl/ny6y70vn3lb22pyz9cxl75j80000gn/T/pip-build-oPRVYA/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /var/folders/zl/ny6y70vn3lb22pyz9cxl75j80000gn/T/pip-O7ugup-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/zl/ny6y70vn3lb22pyz9cxl75j80000gn/T/pip-build-oPRVYA/lxml
-
memoselyk over 8 yearsThis is the repository, but you'll need to find the commit yourself
-
esaunde1 over 8 yearswhere do I place that folder?