본문 바로가기

엉터리 개발 이야기/Superset

[Superset] upgrade 하기(makedirs 에러 조치)

반응형

> pip install superset --upgrade


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
Installing collected packages: pandas, webencodings, html5lib, bleach, PyHive, superset, cffi, scandir, pure-sasl
  Found existing installation: pandas 0.20.3
    Uninstalling pandas-0.20.3:
      Successfully uninstalled pandas-0.20.3
  Rolling back uninstall of pandas
Exception:
Traceback (most recent call last):
  File "e:\workspace\python1\venv1\lib\site-packages\pip\basecommand.py", line 215in main
    status = self.run(options, args)
  File "e:\workspace\python1\venv1\lib\site-packages\pip\commands\install.py", line 342in run
    prefix=options.prefix_path,
  File "e:\workspace\python1\venv1\lib\site-packages\pip\req\req_set.py", line 784in install
    **kwargs
  File "e:\workspace\python1\venv1\lib\site-packages\pip\req\req_install.py", line 851in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "e:\workspace\python1\venv1\lib\site-packages\pip\req\req_install.py", line 1064in move_wheel_files
    isolated=self.isolated,
  File "e:\workspace\python1\venv1\lib\site-packages\pip\wheel.py", line 345in move_wheel_files
    clobber(source, lib_dir, True)
  File "e:\workspace\python1\venv1\lib\site-packages\pip\wheel.py", line 316in clobber
    ensure_dir(destdir)
  File "e:\workspace\python1\venv1\lib\site-packages\pip\utils\__init__.py", line 83in ensure_dir
    os.makedirs(path)
  File "e:\workspace\python1\venv1\lib\os.py", line 157in makedirs
    mkdir(name, mode)
WindowsError: [Error 5] : 'e:\\workspace\\python1\\venv1\\Lib\\site-packages\\pandas\\tests\\frame'
cs


에러 발생 시 조치


Lib/os.py 파일에서 157 line mkdir(name, mode) 를 mkdir(name) 으로 수정

반응형