Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip installation fails with python 3 #16

Closed
awelkie opened this issue Nov 22, 2015 · 1 comment
Closed

pip installation fails with python 3 #16

awelkie opened this issue Nov 22, 2015 · 1 comment

Comments

@awelkie
Copy link

awelkie commented Nov 22, 2015

Here's the output I get when installing into a virtualenv with python 3:

(venv3)allen@localhost:~/scratch
➤ pip install xmodem
Collecting xmodem
  Using cached xmodem-0.4.1.tar.gz
Building wheels for collected packages: xmodem
  Running setup.py bdist_wheel for xmodem
  Complete output from command /home/allen/scratch/venv3/bin/python3 -c "import setuptools;__file__='/tmp/pip-build-rim3dtub/xmodem/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmp5_m7wzkupip-wheel-:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/xmodem
  copying xmodem/__init__.py -> build/lib/xmodem
  running egg_info
  writing dependency_links to xmodem.egg-info/dependency_links.txt
  writing top-level names to xmodem.egg-info/top_level.txt
  writing xmodem.egg-info/PKG-INFO
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'xmodem.egg-info/SOURCES.txt'
  writing manifest file 'xmodem.egg-info/SOURCES.txt'
  installing to build/bdist.linux-x86_64/wheel
  running install
  running install_lib
  creating build/bdist.linux-x86_64
  creating build/bdist.linux-x86_64/wheel
  creating build/bdist.linux-x86_64/wheel/xmodem
  copying build/lib/xmodem/__init__.py -> build/bdist.linux-x86_64/wheel/xmodem
  running install_data
  creating build/bdist.linux-x86_64/wheel/xmodem-0.4.1.data
  creating build/bdist.linux-x86_64/wheel/xmodem-0.4.1.data/data
  creating build/bdist.linux-x86_64/wheel/xmodem-0.4.1.data/data/doc
  error: can't copy 'doc/XMODEM.TXT': doesn't exist or not a regular file

  ----------------------------------------
  Failed building wheel for xmodem
Failed to build xmodem
Installing collected packages: xmodem
  Running setup.py install for xmodem
    Complete output from command /home/allen/scratch/venv3/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-rim3dtub/xmodem/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9flb_zhb-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/allen/scratch/venv3/include/site/python3.5/xmodem:
    running install
    running build
    running build_py
    running egg_info
    writing dependency_links to xmodem.egg-info/dependency_links.txt
    writing top-level names to xmodem.egg-info/top_level.txt
    writing xmodem.egg-info/PKG-INFO
    warning: manifest_maker: standard file '-c' not found

    reading manifest file 'xmodem.egg-info/SOURCES.txt'
    writing manifest file 'xmodem.egg-info/SOURCES.txt'
    running install_lib
    creating /home/allen/scratch/venv3/lib/python3.5/site-packages/xmodem
    copying build/lib/xmodem/__init__.py -> /home/allen/scratch/venv3/lib/python3.5/site-packages/xmodem
    byte-compiling /home/allen/scratch/venv3/lib/python3.5/site-packages/xmodem/__init__.py to __init__.cpython-35.pyc
    running install_data
    creating /home/allen/scratch/venv3/doc
    error: can't copy 'doc/XMODEM.TXT': doesn't exist or not a regular file

    ----------------------------------------
Command "/home/allen/scratch/venv3/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-rim3dtub/xmodem/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-9flb_zhb-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/allen/scratch/venv3/include/site/python3.5/xmodem" failed with error code 1 in /tmp/pip-build-rim3dtub/xmodem

This pulls down the xmodem-0.4.1.tar.gz file from pypi, whereas installing with python2 uses the xmodem-0.4.1-py2-none-any.whl file. The xmodem-0.4.1.tar.gz is missing the doc/ directory.

tehmaze added a commit that referenced this issue Nov 23, 2015
@tehmaze
Copy link
Owner

tehmaze commented Nov 23, 2015

Sorry for the turbulence and thank you for flying with us. A new release with a fixed tarball has been uploaded to PyPi.

@tehmaze tehmaze closed this as completed Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants