can't copy 'simplejson.egg-info\native_libs.t

Help
2008-09-03
2012-12-15
  • Brian Brooks
    Brian Brooks
    2008-09-03

    The next problem on win32 is that simplejson / setuptools wants a compiler on the system. See details at bottom of thread.

    http://code.google.com/p/simplejson/issues/detail?id=14
    http://bugs.python.org/setuptools/issue9

    The setuptools issue appears to have been resolved, so the issue appears to be that simplejson needs to fix it's egg with the latest setuptools release.

    Alternatively, it looks like someone is providing a binary version of simplejson that may also work around the issue.
    http://code.google.com/p/simplejson/issues/detail?id=17

    Brian

    --- BEGIN DETAILS ---
    Installed c:\python25\lib\site-packages\nose-0.10.3-py2.5.egg
    Processing dependencies for nose
    Finished processing dependencies for nose

    C:\jcr-0.6.4>easy_install -f . jcr[sqlite]
    Searching for jcr[sqlite]
    Best match: jcr 0.6.4
    Processing jcr-0.6.4.egg
    removing 'c:\python25\lib\site-packages\jcr-0.6.4.egg' (and everything under it)

    creating c:\python25\lib\site-packages\jcr-0.6.4.egg
    Extracting jcr-0.6.4.egg to c:\python25\lib\site-packages
    jcr 0.6.4 is already the active version in easy-install.pth

    Installed c:\python25\lib\site-packages\jcr-0.6.4.egg
    Processing dependencies for jcr[sqlite]
    Searching for simplejson>=1.7.1
    Reading http://pypi.python.org/simple/simplejson/
    Reading http://undefined.org/python/#simplejson
    Best match: simplejson 1.9.2
    Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-1.9.2
    .tar.gz#md5=9fe5d9a98da5ffc347bfee2ccf386fcb
    Processing simplejson-1.9.2.tar.gz
    Running simplejson-1.9.2\setup.py -q bdist_egg --dist-dir c:\users\bbrooks\appda
    ta\local\temp\easy_install-aerdzs\simplejson-1.9.2\egg-dist-tmp-x-rumb
    ***************************************************************************
    WARNING: The C extension could not be compiled, speedups are not enabled.
    Failure information, if any, is above.
    I'm retrying the build without the C extension now.
    ***************************************************************************
    error: Setup script exited with error: can't copy 'simplejson.egg-info\native_libs.txt': doesn't exist or not a regular file

    C:\jcr-0.6.4>

     
    • John Dickson
      John Dickson
      2008-09-03

      Hi Brian

      I'd come across discussion of this same simplejson issue on other platforms (without C compilers) before, and someone had mentioned being able to install it manually.  It may be worth googling to see if you can find the thread, rather than having to wait for a new build now that easy_install has been patched.

      Cheers ............................ JD