Comments (12)
Still puzzling -- Just wanted to let you know I'm still looking into it.
from asv.
Are you using conda by any chance?
from asv.
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.
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.
Great; thanks!
from asv.
See #84.
from asv.
Okay, I cloned the branch referenced by #84, reinstalled asv, and tried again, but I got the same error.
from asv.
What does python2.7 --version
display on your system? That string is used to determine if it is a conda-based python.
from asv.
~/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.
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.
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.
Yes, it's working for me now -- thanks!
from asv.
Related Issues (20)
- BUG: `build` is not always present HOT 7
- DOC: Outdated environment types in docs HOT 4
- QUERY: asv 0.6.2 handles uses lowest supported versions (build requirements in `pyproject.toml` incorrectly) HOT 9
- QUERY: No warnings for change to `main` (asv 0.6.2 fails to install package for no discernable reason) HOT 7
- QUERY: `Unknown environment type 'mamba'` HOT 3
- `asv compare` can create broken markdown tables when a parameter’s repr is multiple lines HOT 1
- Env spec to run `asv compare` on envs currently defined in the config?
- Installing from a git branch is broken
- Creating a conda environment fails due to outdated env command
- Request: Multiple results per commit for track style benchmarks HOT 1
- BUG: Git commands issued from ASV may fail
- [DOCS] Dealing with old numpy dependencies HOT 1
- QUERY: When using environment type mamba, asv attempts to reinstall Python HOT 3
- ENH: Make it possible to measure coverage of benchmarked module HOT 1
- QUERY: Are the benchmarking done sequentially? HOT 5
- The wheel packages include may directories that shouldn't be there
- QUERY: Why doesn't `benchmark_dir` in asv.conf.json accept arrays? HOT 1
- ENH: `asv gh-pages` custom commit message HOT 2
- `asv publish` skips results for non-existing commits
- ENH: Decouple the benchmark runner from viewer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asv.