會員評分: 0 / 5

不啟用星號不啟用星號不啟用星號不啟用星號不啟用星號

安裝 requests 2.8.1, 然後爬上穩步以下錯誤:

/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest

為了解決這個問題,必須設置 python 2.7.9 或更高. 此外,使用該庫的舊版本 requests:

sudo pip install requests==2.5.3

會員評分: 0 / 5

不啟用星號不啟用星號不啟用星號不啟用星號不啟用星號

我想安裝 gevent 1.0.2MacBookEl Capitan, 但安裝完成以下錯誤:

    libev/ev.c:4675:3: warning: unused variable 'ocur_' [-Wunused-variable]
    
      array_needsize (ev_async *, asyncs, asyncmax, asynccnt, EMPTY2);
    
      ^
    
    libev/ev.c:1758:22: note: expanded from macro 'array_needsize'
    
          int ecb_unused ocur_ = (cur);                                     \
    
                         ^
    
    14 warnings and 1 error generated.
    
    error: command 'cc' failed with exit status 1
    
    ----------------------------------------
    Command "/Users/Documents/workspace/env/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/3_/2czydczx3pj732hprb91b_x40000gp/T/pip-build-fTtcnZ/gevent/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/3_/2czydczx3pj732hprb91b_x40000gp/T/pip-87matg-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Documents/workspace/env/include/site/python2.7" failed with error code 1 in /private/var/folders/3_/2czydczx3pj732hprb91b_x40000gp/T/pip-build-fTtcnZ/gevent

會員評分: 0 / 5

不啟用星號不啟用星號不啟用星號不啟用星號不啟用星號

當您嘗試運行命令 virtualenv env 通過 Jenkins, 我偶然發現了以下問題:

New python executable in env/bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...
  Error [Errno 2] No such file or directory while executing command /home/jenkins/worksp...env/bin/easy_install /usr/share/python-virtualenv/pip-1.1.tar.gz
...Installing pip...done.
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 3, in <module>
    virtualenv.main()
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
    never_download=options.never_download)
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
    install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
    filter_stdout=_filter_setup)
  File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
    cwd=cwd, env=env)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

問題是,我試圖創建一個虛擬環境中的文件夾名為作為 "just for testing". 為了解決這個問題,就足夠了重命名文件夾名稱,以便它不包含任何空格 - "just_for_testing".

會員評分: 0 / 5

不啟用星號不啟用星號不啟用星號不啟用星號不啟用星號

當您嘗試運行命令 pip install selenium 通過 Jenkins, 我偶然發現了以下問題:

Running setup.py install for selenium

... creating build/lib.linux-x86_64-2.7/selenium/webdriver/firefox/x86 copying py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so -> build/lib.linux-x86_64-2.7/selenium/webdriver/firefox/x86 running install_lib creating /usr/local/lib/python2.7/dist-packages/selenium error: could not create '/usr/local/lib/python2.7/dist-packages/selenium': Permission denied

問題是,我試圖安裝在虛擬環境中的模塊命名的文件夾中被 "just for testing". 為了解決這個問題,就足夠了重命名文件夾名稱,以便它不包含任何空格 - "just_for_testing".

會員評分: 0 / 5

不啟用星號不啟用星號不啟用星號不啟用星號不啟用星號

要解決此問題,請按照下列步驟操作::

  1. 打開子文件夾 binjmeter.在我的情況 /apache-jmeter-2.13/bin/
  2. 打開文件 jmeter 用任何文本編輯器
  3. 修正值 HEAP="-Xms512m -Xmx512m"HEAP="-Xms512m -Xmx1024m":

  4. 保存文件
  5. 重新開始 jmeter

目前有 一個訪客 以及 沒有會員 在線上