Closed ankitskvmdam closed 2 months ago
Hi,
Many thanks for your interest in REINVENT and welcome to the community!
Does installation from HEAD work? If so, why can't you install from HEAD and the checkout the commit you want?
Many thanks, Hannes.
Hey @halx, thanks for your help!
Yes, it works when I install reinvent from HEAD. The reason I want to install specific version is as follows. I'm working on a tool that relies on reinvent 4. My env.yml
file:
name: envname
channels:
- defaults
dependencies:
- python=3.10
- jupyter
- pip:
- rdkit
- --extra-index-url https://pypi.anaconda.org/OpenEye/simple
- --extra-index-url https://download.pytorch.org/whl/cu113
- git+https://github.com/MolecularAI/REINVENT4.git
This was working fine up to v4.2.8. However in v4.3.0, there is cu121 instead of cu113. Due to this issue, my build was failing. I found a workaround by adding --extra-index-url https://download.pytorch.org/whl/cu121
, but I'm looking for a more future-proof solution. Thinking of installing a specific commit every time instead of relying on the latest release. What do you think?
I think the issue here is that you have decided to do the dependence management yourself which is fine of course but ultimately it is our requirements file that determines that. I just see that the reason why your checkout fails is actually a local change to the repo of yours and git fails to merge.
BTW, may I ask what tool you are developing?
@halx Thanks for your reply.
This is the tool: https://github.com/ersilia-os/eos694w
I have found a work around to deal with this (cloning the repository and then checkout to specific version instead of using pip
).
Yes, the message says that there is some change in the local, however I have nothing in the local, It was failing in an empty directory when I ran pip install.
Attaching link to google collab reproducing the same bug.
I am getting the following error when I try to install specific commit of REINVENT4.
Steps to reproduce
Other information:
OS: Windows 11 Shell: Powershell