What to do if you can't install with pip in babun environment

This is a personal note. I'm not sure why it heals. Please tell me.

environment

error contents

$ pip install platformio
....
child_info_fork::abort: address space needed by 'cygbz2-1.dll' (0x410000) is already occupied
Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_info Exception
....
OSError: [Errno 11] Resource temporarily unavailable

Workaround

(Please set the installation destination of babun according to the environment)
C:\>\Users\hoge\.babun\cygwin\bin\ash
$/bin/rebaseall -v

When you're done with something, close cmd and launch babun. Then

$ pip install platformio
Collecting platformio
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: 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/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Using cached platformio-2.6.3.tar.gz
Collecting bottle (from platformio)
  Using cached bottle-0.12.9.tar.gz
Collecting click<6,>=3.2 (from platformio)
  Downloading click-5.1-py2.py3-none-any.whl (65kB)
    100% |████████████████████████████████| 65kB 1.5MB/s
Collecting lockfile>=0.9.1 (from platformio)
  Downloading lockfile-0.12.2-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): pyserial in /usr/lib/python2.7/site-packages/pyserial-2.7-py2.7.egg (from platformio)
Collecting requests>=2.4.0 (from platformio)
  Downloading requests-2.9.1-py2.py3-none-any.whl (501kB)
    100% |████████████████████████████████| 503kB 702kB/s
Building wheels for collected packages: platformio, bottle
  Running setup.py bdist_wheel for platformio
  Complete output from command /usr/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-y8Et2d/platformio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpIvIooPpip-wheel-:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for platformio
  Running setup.py bdist_wheel for bottle
  Complete output from command /usr/bin/python2.7 -c "import setuptools;__file__='/tmp/pip-build-y8Et2d/bottle/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpuu5NSIpip-wheel-:
  usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: -c --help [cmd1 cmd2 ...]
     or: -c --help-commands
     or: -c cmd --help

  error: invalid command 'bdist_wheel'

  ----------------------------------------
  Failed building wheel for bottle
Failed to build platformio bottle
Installing collected packages: bottle, click, lockfile, requests, platformio
  Running setup.py install for bottle
  Running setup.py install for platformio
Successfully installed bottle-0.12.9 click-5.1 lockfile-0.12.2 platformio-2.6.3 requests-2.9.1

Good

Recommended Posts

What to do if you can't install with pip in babun environment
What to do if you can't install pyaudio with pip #Python
What to do if you can't pip install mysqlclient
What to do if you get a UnicodeDecodeError with pip install
What to do if you can't sort files with subscripts
What to do if you can't log in as root
What to do if you can't build your project with Maven
What to do if you can't use the trash in Lubuntu 18.04.
Note: What to do if pip install fails
What to do if you can't find well with grep's -f option
What to do if you can't find PDO in Laravel or CakePHP
What to do if you can't use scikit grid search in Python
What to do if you get Could not fetch URL 443 with pip
What to do if a UnicodeDecodeError occurs in pip
What to do if pip install fails to install dependent libraries
Until you install TensorFlow-GPU with pip in Windows environment
What to do if pip --user returns an error in a virtual environment created with pyenv
What to do with Magics install
[AWS] What to do when you want to pip with Lambda
What to do if pip gives a DistributionError in Homebrew
Move what you installed with pip to the conda environment
What to do if you get "coverage unknown" in Coveralls
What to do if `pip install matplotlib` fails on Mac
What to do if you can't use WiFi on Linux
What to do if pip install mysqlclient fails on MacOS
How to install and use pyenv, what to do if you can't switch python versions
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you run python in IntelliJ and end with an error
What to do if you get a minus zero in Python
[TensorFlow] If you want to run TensorBoard, install it with pip
What to do if you get an error when running "certbot renew" in CakePHP environment
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if pipreqs results in UnicodeDecodeError
What to do if you couldn't send an email to Yahoo with Python.
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if pyenv install does not proceed with an error
What to do if you get a TypeError with numpy min, max
What to do if pip cannot be installed
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
What to do if you get a "No versions found" error in pipenv
Workaround if you get an error when trying to install PySide with pip
What to do if you get angry with swapon failed: Operation not permitted
What to do when SSL error occurs in pip in Windows10, miniconda, VScode environment
What to do if scrapy doesn't work after installing scrapy with pip on mac
What to do if you get an error when installing python with pyenv
What to do if you get "Python not configured." Using PyDev in Eclipse
No module named What to do if you get'libs.resources'
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
Links to do what you want with Sublime Text
What you can't do with hstack or vstack with dstack
What to do when you can't bind CaboCha to Python
Pip install in proxy environment
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if you get `No kernel for language python found` in Hydrogen
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if you get an Import Error when importing matplotlib with Jupyter
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
[Road to intermediate Python] Install packages in bulk with pip
Can't find the package you installed with pip install --user?