Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

requirements.txt is missing (?) #1

Open
StKyr opened this issue Dec 27, 2022 · 0 comments
Open

requirements.txt is missing (?) #1

StKyr opened this issue Dec 27, 2022 · 0 comments

Comments

@StKyr
Copy link

StKyr commented Dec 27, 2022

Hello,

I tried creating the environment to run the code, but when generating the conda environment from the .yml file, pip fails because it tries to install the dependencies from requirements.txt which does not appear to be included in the repo.

May I ask whether this file is added?

For replication purposes, my installation process:

$ git clone https://github.com/DeepSenseChallengeTeam/DeepSense6G_TII.git
...
$
$ cd DeepSense6G_TII
$
$ conda env create -f environment.yml 
Collecting package metadata (repodata.json): done
Solving environment: done

Downloading and Extracting Packages
ca-certificates-2022 | 117 KB    | ########################################################### | 100%
sqlite-3.38.2        | 1.0 MB    | ########################################################### | 100%
zlib-1.2.12          | 106 KB    | ########################################################### | 100%
cudatoolkit-10.2.89  | 365.1 MB  | ########################################################### | 100%
python-3.7.13        | 46.2 MB   | ########################################################### | 100%
setuptools-61.2.0    | 1007 KB   | ########################################################### | 100%
pip-21.2.2           | 1.8 MB    | ########################################################### | 100%
openssl-1.1.1n       | 2.5 MB    | ########################################################### | 100%
certifi-2022.12.7    | 150 KB    | ########################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/noesyslab/anaconda3/envs/tfuse/bin/python', '-m', 'pip', 'install', '-U', '-r', '/MY_PATH/DeepSense6G_TII/condaenv.5qkmmokd.requirements.txt']
Pip subprocess output:

Pip subprocess error:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/MY_PATH/DeepSense6G_TII/requirements.txt'

failed

CondaEnvException: Pip failed

and indeed, the environment.yml file instructs Pip to install everything in there:

$ cat environment.yml 
name: tfuse
channels:
  - defaults
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=4.5=1_gnu
  - ca-certificates=2022.3.29=h06a4308_1
  - ld_impl_linux-64=2.35.1=h7274673_9
  - libffi=3.3=he6710b0_2
  - libgcc-ng=9.3.0=h5101ec6_17
  - libgomp=9.3.0=h5101ec6_17
  - libstdcxx-ng=9.3.0=hd4cf53a_17
  - ncurses=6.3=h7f8727e_2
  - openssl=1.1.1n=h7f8727e_0
  - pip=21.2.2=py37h06a4308_0
  - python=3.7.13=h12debd9_0
  - readline=8.1.2=h7f8727e_1
  - setuptools=61.2.0=py37h06a4308_0
  - sqlite=3.38.2=hc218d9a_0
  - tk=8.6.11=h1ccaba5_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.2.5=h7b6447c_0
  - zlib=1.2.12=h7f8727e_2
  - cudatoolkit=10.2
  - pip:
    - -r requirements.txt                       <----------------------------------------------
    - mmsegmentation==0.25.0
    - mmdet==2.25.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant