-
Notifications
You must be signed in to change notification settings - Fork 330
Error in conda package installation #198
Comments
I also tried on another server, and it's still failing on the same step
|
Same step and same issue on my Ubuntu 18.04 server. |
thank you for reporting this @pclucas14 and @962086838. I am able to reproduce this too myself now which is strange as we haven't updated VISSL packages recently the uploaded packages worked seamlessly few days ago. If you are immediately blocked, you can install vissl in conda from source https://github.com/facebookresearch/vissl/blob/master/INSTALL.md#Install-from-source-in-Conda-environment which works semalessly Assigning to @bottler to take a look at our conda packages. It seems like apex installs fine and something is not right with the vissl package only. Looking a bit to identify what package is causing this issue:
seems like the error is coming from torchvision which is strange as well. |
This is an opencv weirdness. First observation: The command works fine if I replace There are several packages which exist in more than one place on anaconda cloud. I have separated out all the dependencies. The following goes straight through, with the last line only pulling in apex and vissl. When I say "straight through", I mean the conda solver doesn't seem to need to work hard.
There are some background things to be aware of, but none are the primary problem here:
When I try the same recipe with python 3.8, it chokes at the conda-forge stage. Just Basically opencv is a bit "special". It would be better to not explicitly depend on opencv, and tell the user to install it via pip. Similar to how our pip packages work. Or even, could we use PIL for the functionality we currently use in opencv, and therefore not need it at all. |
thank you @bottler ! It seems like our immediate fix is to just recommend For our next release, I agree with all the suggestions. I think opencv is a dependency but we can make it optional as we only have 0.1% of the code that requires opencv and otherwise we use PIL. |
Hi, I tried the following commands with python 3.7
And still I'm getting
|
thank you @pclucas14 , we are working on building new packages with the dependencies reduced! In the meantime, if you are blocked, I recommend 2 options:
|
I think the InvalidVersionSpecError comes from using an old version of conda itself. I am using the 2020.11 anaconda module on devfair, which is conda 4.9.2, and which I think is the recommended one. |
ok willdo, thanks Priya! |
OK let me try with a better conda version then |
Ok after working with a more recent conda it worked (with python =3.7). Thanks for the support and closing the issue |
Summary: Now opencv and tensorboard are not official dependencies, make sure they are available for the conda tests. This is part of the followup to #198 (conda not installing nicely), specifically PRs #202 and #205 which removed them as deps. Pull Request resolved: #208 Reviewed By: prigoyal Differential Revision: D26736846 Pulled By: bottler fbshipit-source-id: 0a0b8af1d05067d82f2cd946faa0faeec0be094d
@pclucas14 , just an update here: @bottler uploaded new v0.1.5 conda packages that should now also work with python=3.8. |
I updated conda version with just |
Hi,
I'm trying to install the package following the instructions
However the last step seems to be failing : I'm getting
I'm not sure where the error is coming from, there may be some version conflict.
Thanks,
Lucas
The text was updated successfully, but these errors were encountered: