-
Notifications
You must be signed in to change notification settings - Fork 49
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
Tables and numpy conflicting dependencies #59
Comments
Hey @orpinchasov !! Tables was just updated, so I bet the best thing to do is install tables3.6.1 (roll back), then the required NP version we need is set! |
PR for this - #60 |
I've been trying several combinations in the last couple of days, still didn't get it to work, even when I chose an older pytables version. I'm trying to work with the conda environment now, and then will try @sneakers-the-rat's version. |
Actually, the conda environment doesn't include the package, so there's nothing special there. I'm getting it to work as I'm using PyPI's version. |
to disambiguate between what could be a compilation issue (tensorflow locally compiled against a different version of numpy so then swapping numpy versions would be incompatible even if when compiled again it would work) and an irresolvable version mismatch -- are you making fresh environments here or modifying an existing environment? This combination posted in the PR works, subsetting the packages in question here for both python==3.7.12 and python==3.9.9 on my local machine, and (3.7, 3.8, 3.8) * (windows, mac, ubuntu) on the ci the following work:
poetry should fix the former specifications of just "tables", "opencv-python", and "tensorflow" without version constraints that are causing the problem. |
so try making a virtual environment mkdir ~/.venvs
python -m virtualenv ~/.venvs/dlclive
source ~/.venvs/dlclive/bin/activate and then either try the git clone https://github.com/DeepLabCut/DeepLabCut-live
# or git pull if you've already cloned
cd DeepLabCut-live
git switch poetry
pip install . or here's a |
fixed by #60 |
Doing a clean install of the package (
python setup.py install
) on Windows results in the following conflict:DeepLabCut-live specifically requires numpy < 1.19.0.
Removing this requirements results in the following conflict (not sure though why it didn't install the latest numpy version):
I installed numpy==1.19.3 manually and got the
setup.py
working.Finally, I'm getting the following errors when running dlc-live-test:
Not sure if it's related, but it does look suspicious because of the API version mismatch.
In any case if someone could run
pip freeze
and add its output to here, that'll be useful.Thanks
The text was updated successfully, but these errors were encountered: