bsmith89 / StrainFacts

Factorize metagenotypes to infer strains and their abundances
MIT License
11 stars 1 forks source link

Pytorch package not found #1

Closed gavinmdouglas closed 2 years ago

gavinmdouglas commented 2 years ago

When running these commands:

pip install -r requirements.pip
pip install -e .

I ran into this error:

Exception: You tried to install "pytorch". The package named for PyTorch is "torch"

(Similar to here)

I fixed it by changing pytorch to be torch in requirements.pip and setup.py. This was with Python 3.10.4 and using the conda method of installation StrainFacts v0.2.

Cheers,

Gavin

bsmith89 commented 2 years ago

Thanks Gavin! That's fixed in f969566, but was not in v0.2.

I'll probably release v0.3 soon with a bunch of other changes as I keep experimenting with the model and refined fitting procedures.

gavinmdouglas commented 2 years ago

Ah ok - sorry for not checking the more recent commits before posting.

Thanks for making a great tool!

Gavin