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 install fails when called directly with github source #3

Open
satra opened this issue Sep 15, 2011 · 1 comment
Open

pip install fails when called directly with github source #3

satra opened this issue Sep 15, 2011 · 1 comment

Comments

@satra
Copy link

satra commented Sep 15, 2011

pip install -e git+git://github.com/fos/Fos.git#egg=fos

i was able to install it by running python setup.py install from the directory.

output:

Obtaining fos from git+git://github.com/fos/Fos.git#egg=fos
Cloning git://github.com/fos/Fos.git to /software/virtualenvs.EPD/7.1/devpype/src/fos
Running setup.py egg_info for package fos

Installing collected packages: fos
Running setup.py develop for fos

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py", line 39, in <module>
    cmdclass    = cmdclass,
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 27, in run
  File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 88, in install_for_development
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 132, in run
    for ext in self.extensions])):
TypeError: 'NoneType' object is not iterable
Complete output from command /software/virtualenvs.EPD/7.1/devpype/bin/python -c "import setuptools; __file__='/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py'; exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
running develop

running egg_info

writing fos.egg-info/PKG-INFO

writing top-level names to fos.egg-info/top_level.txt

writing dependency_links to fos.egg-info/dependency_links.txt

writing fos.egg-info/PKG-INFO

writing top-level names to fos.egg-info/top_level.txt

writing dependency_links to fos.egg-info/dependency_links.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'fos.egg-info/SOURCES.txt'

writing manifest file 'fos.egg-info/SOURCES.txt'

running build_ext

Traceback (most recent call last):

File "", line 1, in

File "/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py", line 39, in

cmdclass    = cmdclass,

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/core.py", line 152, in setup

dist.run_commands()

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 953, in run_commands

self.run_command(cmd)

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 27, in run

File "build/bdist.linux-i686/egg/setuptools/command/develop.py", line 88, in install_for_development

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/cmd.py", line 326, in run_command

self.distribution.run_command(command)

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/distutils/dist.py", line 972, in run_command

cmd_obj.run()

File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 132, in run

for ext in self.extensions])):

TypeError: 'NoneType' object is not iterable


Command /software/virtualenvs.EPD/7.1/devpype/bin/python -c "import setuptools; file='/software/virtualenvs.EPD/7.1/devpype/src/fos/setup.py'; exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" develop --no-deps failed with error code 1

@Garyfallidis
Copy link
Member

Hello, does it work when you just do
python setup.py build_ext --inplace and then perhaps add it to your PYTHONPATH?

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