Python は初めてで、Robot Framework でテストを自動化しようとしています。経由でライブラリをダウンロードしようとしたときに、pip
いくつかの問題が発生しました。私は、、、を使用しPython 3.5.1
てRobot Framework 3.0
いPyCharm 2016.1(64)
ます
コマンドの出力pip install robotframework-selenium2library
:
Collecting robotframework-selenium2library
Using cached robotframework-selenium2library-1.7.4.tar.gz
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
Extracting in C:\Users\Radek\AppData\Local\Temp\tmpooendh2g
Traceback (most recent call last):
File "c:\users\radek\appdata\local\programs\python\python35\lib\site-packages\ez_setup.py", line 143, in use_setuptools
raise ImportError
ImportError
上記の例外の処理中に、別の例外が発生しました:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Radek\AppData\Local\Temp\pip-build-gh4jw21a\robotframework-selenium2library\setup.py", line 8, in <module>
use_setuptools()
File "c:\users\radek\appdata\local\programs\python\python35\lib\site-packages\ez_setup.py", line 145, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "c:\users\radek\appdata\local\programs\python\python35\lib\site-packages\ez_setup.py", line 125, in _do_download
_build_egg(egg, tarball, to_dir)
File "c:\users\radek\appdata\local\programs\python\python35\lib\site-packages\ez_setup.py", line 99, in _build_egg
_extractall(tar)
File "c:\users\radek\appdata\local\programs\python\python35\lib\site-packages\ez_setup.py", line 467, in _extractall
self.chown(tarinfo, dirpath)
TypeError: chown() missing 1 required positional argument: 'numeric_owner'
----------------------------------------
C:\Users\Radek\AppData\Local\Temp\pip-build-gh4jw21a\robotframework-selenium2library\ でコマンド「python setup.py egg_info」がエラー コード 1 で失敗しました
Setuptools は最新であり、ez_setup も最新です。
C:\Users\Radek>pip install --upgrade setuptools
Requirement already up-to-date: setuptools in c:\users\radek\appdata\local\programs\python\python35\lib\site-packages
C:\Users\Radek>pip install ez_setup
Requirement already satisfied (use --upgrade to upgrade): ez-setup in c:\users\radek\appdata\local\programs\python\python35\lib\site-packages