installation from pip in virtualenv fails

Issue #515 wontfix
rskolasinski created an issue

dolfin is avialable in PyPi but impossible to install inside virtualenv

using ''' pip install dolfin --allow-external dolfin --allow-unverified dolfin ''' as suggested by pip end in attempt to make global installation

Comments (5)

  1. rskolasinski reporter

    More details:

    Package becomes available (pip starts to download it) when using:

    pip install dolfin --allow-external dolfin --allow-unverified dolfin
    

    but it ends with

    (tst)rskolasinski:~> pip install dolfin --allow-external dolfin --allow-unverified dolfin
    Collecting dolfin
      dolfin is potentially insecure and unverifiable.
    /home/rskolasinski/tst/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
    /home/rskolasinski/tst/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
      InsecurePlatformWarning
      Downloading https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-1.5.0.tar.gz (9.7MB)
        100% |████████████████████████████████| 9.7MB 52kB/s 
        Complete output from command python setup.py egg_info:
        Traceback (most recent call last):
          File "<string>", line 18, in <module>
        IOError: [Errno 2] No such file or directory: '/tmp/pip-build-GY17l_/dolfin/setup.py'
    
        ----------------------------------------
        Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GY17l_/dolfin
    

    Like it would try do it globally even if I run this inside virtualenv.

  2. Johannes Ring

    Yes, DOLFIN is registered on PyPI, but you cannot pip install it. Someone has to write a setup.py file to make it work, but no one is working on that AFAIK.

  3. Log in to comment