Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Having problem to install pyramid_tm #2

iheartism opened this Issue · 6 comments

5 participants


HI there,

I am a new user of this framework. Somehow, I am having difficulty to install the package on Windows vista and Windows 7 32 bit machine. Could you please have look at it for me?

The error log are pasted below. Thank you very much.

Kind regards,

Downloading/unpacking pyramid-tm (from -r requirements.txt (line 5))
Getting page
URLs to search for versions for pyramid-tm (from -r requirements.txt (line 5)):

creating pip-egg-info\pyramid_tm.egg-info

writing requirements to pip-egg-info\pyramid_tm.egg-info\requires.txt

writing pip-egg-info\pyramid_tm.egg-info\PKG-INFO

writing top-level names to pip-egg-info\pyramid_tm.egg-info\top_level.txt

writing dependency_links to pip-egg-info\pyramid_tm.egg-info\dependency_links.txt

writing manifest file 'pip-egg-info\pyramid_tm.egg-info\SOURCES.txt'

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

reading manifest file 'pip-egg-info\pyramid_tm.egg-info\SOURCES.txt'

reading manifest template ''

Traceback (most recent call last):

File "", line 14, in

File "C:\Users\hongti\pythondev\Akhet\build\pyramid-tm\", line 55, in


File "C:\Python27\Lib\distutils\", line 152, in setup


File "C:\Python27\Lib\distutils\", line 953, in run_commands


File "C:\Python27\Lib\distutils\", line 972, in run_command

File "", line 12, in replacement_run

File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\", line 252, in find_sources

File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\", line 308, in run

File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\", line 162, in read_template

File "C:\Python27\Lib\distutils\", line 128, in close

self.file.close ()

AttributeError: 'NoneType' object has no attribute 'close'

Command python egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\pip-1.0.2-py2.7.egg\pip\", line 126, in main, args)
File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\pip-1.0.2-py2.7.egg\pip\commands\", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\pip-1.0.2-py2.7.egg\pip\", line 986, in prepare_files
File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\pip-1.0.2-py2.7.egg\pip\", line 222, in run_egg_info
command_desc='python egg_info')
File "C:\Users\hongti\pythondev\Akhet\lib\site-packages\pip-1.0.2-py2.7.egg\", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command python egg_info failed with error code 1


This issue isn't really specific to pyramid_tm. Looks like you're having a generic problem installing packages. I'd highly recommend trying to create a fresh virtualenv and starting again.


Hi Rockyburt,
I had the exact same problem. I have the above error message mentioned by “iheartism” when trying to install khufu or akhet. All had the same problem with pyramid_tm. I even tried to install it without virtualenv, i.e into the c:\Python27, got the exact same error.
Here is my environment:
Windows 7 64 bit, Python27(32bit, used to install 64bit, had lots of trouble with installing packages, switched to 32, all solved)
VS 2008 c++ (added to environment variable too)

I has no problem installing both Django and Pyramid. I.e. manage to get a base template website running fine. But whenever I try to create a Akhet or Khufu, it went to download the pyramid-tm from PyPi, and then got the same problem. I've tried with many new virtualenv, still has the same problem. Can you please give me some direction where the problem is or how can I debug this through? thanks a lot.

BTW, I have no problem installing other packages. I got pinax installed successfully too.



I suspect this commit might have beneficial effect: #3


By the way, have I mentioned I hate MANIFEST files?


Maybe, but there was different error

File "C:\WebServers\usr\local\python\Lib\distutils\", line 105, in _parse_template_line
   dir_pattern = convert_path(words[1])
File "C:\WebServers\usr\local\python\Lib\distutils\", line 203, in convert_path
   raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'env26/' cannot end with '/'

Concerning MANIFEST - yeah, we saw some f* word in comments )


Closing due to age.

@mcdonc mcdonc closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.