Skip to content

installing most recent stealth change causes PYTHON_EGG_CACHE problem #116

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

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Delete current pyodbc
2. easy_install pyodbc
3. import pyodbc

What is the expected output? What do you see instead?
I get the following error: 
ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Error 5] Access is denied: 'C:\\Users\\jsalvatier\\AppData\\Roaming\\Python-Eggs\\pyodbc-2.1.7-py2.6-win32.egg-tmp\\pyodbc.pyd'

The Python egg cache directory is currently set to:

  C:\Users\jsalvatier\AppData\Roaming\Python-Eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

This bug is just a few hours old. If I swap back for a version of pyodbc that I 
deleted earlier today, it imports fine. 

I want to encourage pyodbc not to do stealth updates, but update the version 
number when the package is changed. That way these kinds of problems are easy 
to work around.

What version of the product are you using? On what operating system?
Windows 7

Please provide any additional information below.
 Python 2.6 32bit

Original issue reported on code.google.com by jsalvat...@gmail.com on 20 Aug 2010 at 9:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant