본문 바로가기

엉터리 개발 이야기/Superset

[Superset] Install 시 에러 발생 처리 ( 0.23.3 버전 )

반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
  Running setup.py install for python-geohash ...     Running command e:\workspace\superset-install\venv\scripts\python.exe --
"import setuptools, tokenize;__file__='c:\\users\\jh999.lim\\appdata\\local\\temp\\pip-build-wmleww\\python-geohash\\setup.py';
f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))"
 install --record c:\users\jh999.lim\appdata\local\temp\pip-hkkalx-record\install-record.txt --single-version-externally-managed
--compile --install-headers e:\workspace\superset-install\venv\include\site\python2.7\python-geohash
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-2.7
    copying geohash.py -> build\lib.win-amd64-2.7
    copying quadtree.py -> build\lib.win-amd64-2.7
    copying jpgrid.py -> build\lib.win-amd64-2.7
    copying jpiarea.py -> build\lib.win-amd64-2.7
    running build_ext
    building '_geohash' extension
    error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
cs

http://akams/vcpython27 접속하여 download 후 설치해준다.



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Collecting pydruid==0.4.1 (from superset)
  Downloading pydruid-0.4.1.tar.gz (2.6MB)
    100|################################| 2.6MB 2.2MB/s
    Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/pytest-runner/: timed out -- Some packages may not be found!
    Couldn't find index page for 'pytest-runner' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: timed out -- Some packages may not be found!
    No local packages or working download links found for pytest-runner
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "c:\users\jh999.lim\appdata\local\temp\pip-build-skbf5u\pydruid\setup.py", line 44, in <module>
        include_package_data=True,
      File "c:\program files\python2.7.14\Lib\distutils\core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "e:\workspace\test\ttt\lib\site-packages\setuptools\dist.py", line 315, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "e:\workspace\test\ttt\lib\site-packages\setuptools\dist.py", line 361, in fetch_build_eggs
        replace_conflicting=True,
      File "e:\workspace\test\ttt\lib\site-packages\pkg_resources\__init__.py", line 850, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "e:\workspace\test\ttt\lib\site-packages\pkg_resources\__init__.py", line 1122, in best_match
        return self.obtain(req, installer)
      File "e:\workspace\test\ttt\lib\site-packages\pkg_resources\__init__.py", line 1134, in obtain
        return installer(requirement)
      File "e:\workspace\test\ttt\lib\site-packages\setuptools\dist.py", line 429, in fetch_build_egg
        return cmd.easy_install(req)
      File "e:\workspace\test\ttt\lib\site-packages\setuptools\command\easy_install.py", line 659, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\jh999.lim\appdata\local\temp\pip-build-skbf5u\pydruid\
cs

pytest-runner 를 설치해준다. pydruid 가 업데이트 되면서 필요해진 패키지 같다.?

Couldn't find index page for 'pytest-runner' (maybe misspelled?)

> pip install pytest-runner


반응형