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

Failed installing to alternate directory (distutils, pip) #1090

Closed
ghost opened this issue Aug 31, 2011 · 1 comment
Closed

Failed installing to alternate directory (distutils, pip) #1090

ghost opened this issue Aug 31, 2011 · 1 comment
Projects

Comments

@ghost
Copy link

@ghost ghost commented Aug 31, 2011

Originally reported by: guest (Bitbucket: guest, GitHub: guest)


SUMMARY:
Couldn't install CherryPy to alternate directory using PIP. It fails at 'intall_data'.

FIX:
I comment line 110 in setup.py: fix_data_files(data_files)

DESCRIPTION OF PROBLEM:
Note: This was using Jython but guess it would be the same with CPython.

Alternate directory: /opt/nhery/lib/jython2.5.2/site-packages
Default directory (don't have permissions): /opt/fddata/jython2.5.2/Lib/site-packages

I have a /opt/fddata/jython2.5.2/Lib/distutils/distutils.cfg that looks like:
[install]
install_lib = /opt/nhery/lib/jython2.5.2/site-packages

Works fine until install_data
Output of 'pip install cherrypy':

......
byte-compiling /opt/nhery/lib/jython2.5.2/site-packages/cherrypy/tutorial/bonus-sqlobject.py to bonus-sqlobject$py.class

byte-compiling /opt/nhery/lib/jython2.5.2/site-packages/cherrypy/tutorial/tut02_expose_methods.py to tut02_expose_methods$py.class

running install_data

creating /opt/fddata/jython2.5.2/Lib/site-packages/cherrypy

error: could not create '/opt/fddata/jython2.5.2/Lib/site-packages/cherrypy': Permission denied


@ghost ghost added major bug CherryPy code labels Apr 30, 2016
jaraco added a commit that referenced this issue Dec 26, 2016
…ncluded with the installation. Abandon hacks in INSTALL_SCHEMES and hacks for wininst. Fixes #1538 and #1090.
@jaraco
Copy link
Member

@jaraco jaraco commented Dec 27, 2016

I'm assuming this is fixed by #1539.

@jaraco jaraco closed this Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bugs
Backlog
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.