Netflix / flamescope

FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.
Apache License 2.0
3k stars 168 forks source link

Could not find a version that satisfies the requirement click==6.7 (from -r requirements.txt (line 1)) #27

Closed i0na-k closed 6 years ago

i0na-k commented 6 years ago

When running pip install -r requirements.txt then I get the below error message:

Could not find a version that satisfies the requirement click==6.7 (from -r requirements.txt (line 1)) (from versions: ) No matching distribution found for click==6.7 (from -r requirements.txt (line 1)) I am using Python 3.6.5. Also, when I then try to run python run.py then I get a error saying: ImportError: No module named flask.

Thanks

spiermar commented 6 years ago

Can't reproduce the issue here.

$ python --version
Python 3.6.5 :: Anaconda, Inc.
$ pip --version
pip 9.0.3 from /Users/mspier/Workspace/python/virtualenv/flamescope3/lib/python3.6/site-packages (python 3.6)
$ pip install -r requirements.txt
Collecting click==6.7 (from -r requirements.txt (line 1))
  Using cached click-6.7-py2.py3-none-any.whl
Collecting Flask==0.12.2 (from -r requirements.txt (line 2))
  Using cached Flask-0.12.2-py2.py3-none-any.whl
Collecting itsdangerous==0.24 (from -r requirements.txt (line 3))
Collecting Jinja2==2.10 (from -r requirements.txt (line 4))
  Using cached Jinja2-2.10-py2.py3-none-any.whl
Collecting MarkupSafe==1.0 (from -r requirements.txt (line 5))
  Using cached MarkupSafe-1.0.tar.gz
Collecting Werkzeug==0.14.1 (from -r requirements.txt (line 6))
  Using cached Werkzeug-0.14.1-py2.py3-none-any.whl
Building wheels for collected packages: MarkupSafe
  Running setup.py bdist_wheel for MarkupSafe ... error
  Complete output from command /Users/mspier/Workspace/python/virtualenv/flamescope3/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/9v/8nbfyjcx22512xg7vrz853800000gn/T/pip-build-gedw391n/MarkupSafe/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/9v/8nbfyjcx22512xg7vrz853800000gn/T/tmph5m5wa_bpip-wheel- --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  creating build/lib.macosx-10.7-x86_64-3.6/markupsafe
  copying markupsafe/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/markupsafe
  copying markupsafe/_compat.py -> build/lib.macosx-10.7-x86_64-3.6/markupsafe
  copying markupsafe/_constants.py -> build/lib.macosx-10.7-x86_64-3.6/markupsafe
  copying markupsafe/_native.py -> build/lib.macosx-10.7-x86_64-3.6/markupsafe
  running egg_info
  writing MarkupSafe.egg-info/PKG-INFO
  writing dependency_links to MarkupSafe.egg-info/dependency_links.txt
  writing top-level names to MarkupSafe.egg-info/top_level.txt
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'MarkupSafe.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'MarkupSafe.egg-info/SOURCES.txt'
  copying markupsafe/_speedups.c -> build/lib.macosx-10.7-x86_64-3.6/markupsafe
  running build_ext
  building 'markupsafe._speedups' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  creating build/temp.macosx-10.7-x86_64-3.6/markupsafe
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/include/python3.6m -c markupsafe/_speedups.c -o build/temp.macosx-10.7-x86_64-3.6/markupsafe/_speedups.o
  gcc -bundle -undefined dynamic_lookup -L/anaconda3/lib -arch x86_64 -L/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/markupsafe/_speedups.o -o build/lib.macosx-10.7-x86_64-3.6/markupsafe/_speedups.cpython-36m-darwin.so
  installing to build/bdist.macosx-10.7-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.macosx-10.7-x86_64
  creating build/bdist.macosx-10.7-x86_64/wheel
  creating build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/__init__.py -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/_compat.py -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/_constants.py -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/_native.py -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/_speedups.c -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  copying build/lib.macosx-10.7-x86_64-3.6/markupsafe/_speedups.cpython-36m-darwin.so -> build/bdist.macosx-10.7-x86_64/wheel/markupsafe
  running install_egg_info
  Copying MarkupSafe.egg-info to build/bdist.macosx-10.7-x86_64/wheel/MarkupSafe-1.0-py3.6.egg-info
Installing collected packages: click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, Flask
  Running setup.py install for MarkupSafe ... done
Successfully installed Flask-0.12.2 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 click-6.7 itsdangerous-0.24

Can you try installing it on a clean virtualenv?

spiermar commented 6 years ago

@ionakathryn assuming this is no longer an issue. Closing.

arthurchipdean commented 6 years ago

@spiermar I can confirm that this error occurs when using python 2.7. Maybe python 3 should be listed as a requirement in the README.md? image

spiermar commented 6 years ago

Should work with 2.7, that's my default environment. Wonder if this is Windows specific.

dderusha commented 6 years ago

@spiermar the screen shot from above shows your using python 3 using a different version of pip than the user that is having a issue. @arthurchipdean @ionakathryn python 2.7 will work, but pip needs to be upgraded to version 10.0.1.