Skip to content

conda 3.6 installation currently broken due to 3.6.1 ABI breakage #1383

@alexjc

Description

@alexjc

I'm posting here so others with this problem find it. But as I mentioned on Twitter, I don't think this is your bug to fix. Likely 3.6.2 must be pushed out or 3.6.1 marked invalid in conda.

Following these minimal install instructions:

conda create -p pyvenv python=3.6
conda activate ./pyvenv
conda install pytorch torchvision -c soumith

Conda downgrades 3.6.1 to 3.6.0 but it still fails. Then just trying to import torchvision gives this callstack:

Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016, 12:22:00) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torchvision
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/pyvenv/lib/python3.6/site-packages/torchvision-0.1.8-py3.6.egg/torchvision/__init__.py", line 2, in <module>
  File "/tmp/pyvenv/lib/python3.6/site-packages/torchvision-0.1.8-py3.6.egg/torchvision/datasets/__init__.py", line 1, in <module>
  File "/tmp/pyvenv/lib/python3.6/site-packages/torchvision-0.1.8-py3.6.egg/torchvision/datasets/lsun.py", line 2, in <module>
  File "/tmp/pyvenv/lib/python3.6/site-packages/PIL/Image.py", line 56, in <module>
    from . import _imaging as core
ImportError: /tmp/pyvenv/lib/python3.6/site-packages/PIL/_imaging.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_Unpack
>>> quit()

UPDATE: maybe the problem is occurring now because they did mark 3.6.1 as incompatible in conda and you're building against it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions