title: ImportError after installing torchtext 0.11.0 with conda
body: <p>I have installed <code>pytorch</code> version 1.10.0 alongside <code>torchtext</code>, <code>torchvision</code> and <code>torchaudio</code> using conda. My PyTorch is cpu-only, and I have experimented with both <code>conda install pytorch-mutex -c pytorch</code> and <code>conda install pytorch cpuonly -c pytorch</code> to install the cpuonly version, both yielding the same eror that I will describe in the following lines.</p>
  <p>I have also installed <code>pytorch-lightning</code> in conda, alongside <code>jsonargparse[summaries</code> via pip in the environment.</p>
  <p>I have written this code to see whether <code>LightningCLI</code> works or not.</p>
  <pre class="lang-py prettyprint-override"><code># script.py
  import torch 
  import pytorch_lightning as pl
  
  class BoringModel(LightningModule):
      def __init__(self):
          super().__init__()
          self.layer = torch.nn.Linear(32, 2)
  
      def forward(self, x):
          return self.layer(x)
  
      def training_step(self, batch, batch_idx):
          loss = self(batch).sum()
          self.log(&quot;train_loss&quot;, loss)
          return {&quot;loss&quot;: loss}
  
      def validation_step(self, batch, batch_idx):
          loss = self(batch).sum()
          self.log(&quot;valid_loss&quot;, loss)
  
      def test_step(self, batch, batch_idx):
          loss = self(batch).sum()
          self.log(&quot;test_loss&quot;, loss)
  
      def configure_optimizers(self):
          return torch.optim.SGD(self.layer.parameters(), lr=0.1)
  
  cli = LightningCLI(BoringModel)
  
  </code></pre>
  <p>But when I run it using <code>python -m script fit --print_config</code>, I get the following error:</p>
  <pre><code>ImportError: /home/farhood/miniconda3/envs/pytorch_dummy_environment/lib/python3.9/site-packages/torchtext/_torchtext.so: undefined symbol: _ZNK5torch3jit6MethodclESt6vectorIN3c106IValueESaIS4_EERKSt13unordered_mapISsS4_St4hashISsESt8equal_toISsESaISt4pairIKSsS4_EEE
  </code></pre>
  <p>Which indicates that there is something broken with my Conda installation, and it's probably related to <code>torchtext</code> somehow.</p>
  <p>This is the versions of the installed torch related packages:</p>
  <pre><code>pytorch                   1.10.0          cpu_py39hc5866cc_0    conda-forge
  pytorch-lightning         1.5.2              pyhd8ed1ab_0    conda-forge
  pytorch-mutex             1.0                        cuda    pytorch
  torchaudio                0.10.0                 py39_cpu    pytorch
  torchmetrics              0.6.0              pyhd8ed1ab_0    conda-forge
  torchtext                 0.11.0                     py39    pytorch
  torchvision               0.11.1                 py39_cpu    pytorch
  </code></pre>