CBIR icon indicating copy to clipboard operation
CBIR copied to clipboard

what is the requirements.txt?

Open donaldlee2008 opened this issue 3 years ago • 4 comments

can you exprot the python requirements list to requirements.txt? I try many times, I found that it always has some error

donaldlee2008 avatar Oct 30 '20 13:10 donaldlee2008

The steps I followed to get it to work:

  1. Install anaconda
  2. Create a virtual env with conda
  3. Activate virtual env
  4. Install scipy==1.1.0 (You can also install it while making the conda env in step 2). This exact version is necessary for some functions the author used (e.g imread). An alternative is to replace the imreads with cv2 library. (https://stackoverflow.com/questions/15345790/scipy-misc-module-has-no-attribute-imread)
  5. Install numpy and pandas

SaadBazaz avatar Jun 23 '21 20:06 SaadBazaz

Here's my complete requirements.txt:

certifi==2021.5.30
cycler==0.10.0
decorator==4.4.2
imageio==2.9.0
kiwisolver==1.3.1
matplotlib==3.4.2
mkl-fft==1.3.0
mkl-random==1.1.1
mkl-service==2.3.0
networkx==2.5.1
numpy @ file:///opt/concourse/worker/volumes/live/a1b5ea96-b05c-40ba-5dfb-4542ece1c186/volume/numpy_and_numpy_base_1603491228242/work
pandas==1.2.5
Pillow==8.2.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2021.1
PyWavelets==1.1.1
scikit-image==0.18.1
scipy==1.1.0
six @ file:///tmp/build/80754af9/six_1623709665295/work
tifffile==2021.6.14
torch==1.9.0
torchvision==0.10.0
typing-extensions==3.10.0.0

SaadBazaz avatar Jun 23 '21 20:06 SaadBazaz

Whats your python version?

ishandutta2007 avatar Jul 08 '21 12:07 ishandutta2007

@ishandutta2007 Python 3.8.5

SaadBazaz avatar Jul 11 '21 06:07 SaadBazaz