Giter Site home page Giter Site logo

Comments (12)

mdboom avatar mdboom commented on September 7, 2024

Still puzzling -- Just wanted to let you know I'm still looking into it.

from asv.

mdboom avatar mdboom commented on September 7, 2024

Are you using conda by any chance?

from asv.

ketch avatar ketch commented on September 7, 2024

Yes, I'm using Conda.

On Tuesday, July 22, 2014, Michael Droettboom [email protected]
wrote:

Are you using conda by any chance?


Reply to this email directly or view it on GitHub
#79 (comment).

from asv.

mdboom avatar mdboom commented on September 7, 2024

This seems to be a case of conda and virtualenv not getting along (admittedly, they aren't supposed to). I'm working on a conda-specific plugin to handle this case... hopefully will have something shortly.

from asv.

ketch avatar ketch commented on September 7, 2024

Great; thanks!

from asv.

mdboom avatar mdboom commented on September 7, 2024

See #84.

from asv.

ketch avatar ketch commented on September 7, 2024

Okay, I cloned the branch referenced by #84, reinstalled asv, and tried again, but I got the same error.

from asv.

mdboom avatar mdboom commented on September 7, 2024

What does python2.7 --version display on your system? That string is used to determine if it is a conda-based python.

from asv.

ketch avatar ketch commented on September 7, 2024
~/pyclaw_asv » python2.7 --version
Python 2.7.7 :: Anaconda 2.0.1 (x86_64)

For some reason it's still using virtualenv, though:

~/pyclaw_asv » asv run
· Fetching recent changes..
· Creating environments
·· Creating virtualenv for py2.7
·· Error running /Users/ketch/anaconda/bin/python2.7 /Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py --no-site-packages env/py2.7
             STDOUT -------->
             New python executable in env/py2.7/bin/python2.7
             Also creating executable in env/py2.7/bin/python
             Installing setuptools, pip...
               Complete output from command /Users/ketch/pyclaw_.../py2.7/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
               Traceback (most recent call last):
               File "<string>", line 1, in <module>
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv_support/pip-1.5.6-py2.py3-none-any.whl/pip/__init__.py", line 9, in <module>
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv_support/pip-1.5.6-py2.py3-none-any.whl/pip/log.py", line 8, in <module>
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv_support/pip-1.5.6-py2.py3-none-any.whl/pip/backwardcompat/__init__.py", line 66, in <module>
               File "/Users/ketch/anaconda/lib/python2.7/urllib2.py", line 94, in <module>
                 import httplib
               File "/Users/ketch/anaconda/lib/python2.7/httplib.py", line 71, in <module>
                 import socket
               File "/Users/ketch/anaconda/lib/python2.7/socket.py", line 47, in <module>
                 import _socket
             ImportError: dlopen(/Users/ketch/pyclaw_asv/env/py2.7/lib/python2.7/lib-dynload/_socket.so, 2): Symbol not found: __PyInt_AsInt
               Referenced from: /Users/ketch/pyclaw_asv/env/py2.7/lib/python2.7/lib-dynload/_socket.so
               Expected in: dynamic lookup

             ----------------------------------------
             ...Installing setuptools, pip...done.
             STDERR -------->
             Traceback (most recent call last):
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py", line 2338, in <module>
                 main()
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py", line 824, in main
                 symlink=options.symlink)
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py", line 992, in create_environment
                 install_wheel(to_install, py_executable, search_dirs)
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py", line 960, in install_wheel
                 'PIP_NO_INDEX': '1'
               File "/Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py", line 902, in call_subprocess
                 % (cmd_desc, proc.returncode))
             OSError: Command /Users/ketch/pyclaw_.../py2.7/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1

·· Failure creating virtualenv for py2.7Traceback (most recent call last):
  File "/Users/ketch/anaconda/bin/asv", line 9, in <module>
    load_entry_point('asv==0.1', 'console_scripts', 'asv')()
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/main.py", line 35, in main
    result = args.func(args)
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/commands/__init__.py", line 43, in run_from_args
    return cls.run_from_conf_args(conf, args)
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/commands/run.py", line 105, in run_from_conf_args
    profile=args.profile, machine_defaults=args.machine_defaults
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/commands/run.py", line 148, in run
    environments = Setup.run(conf=conf, parallel=parallel)
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/commands/setup.py", line 67, in run
    env.setup()
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/plugins/virtualenv.py", line 68, in setup
    self._path])
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/util.py", line 198, in check_call
    display_error=display_error, shell=shell)
  File "/Users/ketch/anaconda/lib/python2.7/site-packages/asv-0.1-py2.7.egg/asv/util.py", line 297, in check_output
    raise ProcessError(args, retcode, stdout, stderr)
asv.util.ProcessError: Command '/Users/ketch/anaconda/bin/python2.7 /Users/ketch/anaconda/lib/python2.7/site-packages/virtualenv-1.11.6-py2.7.egg/virtualenv.py --no-site-packages env/py2.7' returned non-zero exit status 1

from asv.

mdboom avatar mdboom commented on September 7, 2024

That actually makes sense. I'm using miniconda, where the version string contains "Continuum Analytics", and the detection is keyed off of those words. Yours says "Anaconda" -- it seems like we could probably key off of either, though I'm not sure what other differences between Anaconda and miniconda might exist.

from asv.

mdboom avatar mdboom commented on September 7, 2024

I'm going back and bug triaging. I suspect this is fixed by 320ae3a, but feel free to reopen, @ketch, if that's not the case.

from asv.

ketch avatar ketch commented on September 7, 2024

Yes, it's working for me now -- thanks!

from asv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.