-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Windows update breaks pipenv virtual environments creation #2983
Comments
Can you help test if pep514tools works on your machine? |
Yes, pep514tools works on my machine
|
I'm seeing the same problem:
|
These are not the same issue. Please fill out the full issue template. |
I have a very similar issue using a fresh installed python 3.6 and also tried a fresh 3.7 on my windows 10 system:
I have no clue how to fix that. |
- Fixes #2983 Signed-off-by: Dan Ryan <[email protected]>
Anyone still having this problem in 2018.11.26 version? I'm performing the same steps as @alejmolinas |
@Pierek , I was facing almost the same error, It was caused due to reinstall of python (removal of other python versions). I just tweeked it by:
in file
change def getattr to by commenting the last return AttributeError ... def __getattr__(self, attr):
if attr.startswith('_'):
return object.__getattribute__(self, attr)
if attr == 'value':
attr = ''
key = self._attr_to_key(attr)
try:
return self._d[key]
except KeyError:
pass
except Exception:
raise AttributeError(attr)
print("Some error occured, continuing anyway ...", self._d, attr)
# raise AttributeError(attr)
I guess we can revert the code back to original after single installation, since once I installed a pipenv the error was resolved |
Issue description
> pipenv install
and> pipenv --python 3
fails in a desktop folder after windows update.Expected result
Creation of a virtual environment and installing all dependencies declared in Pipfile.lock
Actual result
Steps to replicate
I was working on a project after updating windows and I wanted to test my configuration so I did
> pipenv --rm
to delete my current environment. When I tried to use> pipenv install --dev
I got that error.I have already tried reinstalling pipenv and python and deleting all my site-packages.
It once let me create an environment in
c:\\users\\ale
, but not in other directories. I also tried> pipenv -support
, but it failed at getting the python installations with the same error as always.I again tested removing the environment and performing a
> pipenv install
but this time it failed.After some testing I removed the Pipfile and Pipfile.lock in
c:\\users\\ale
and>pipenv install
worked again but only in that directory as creating an empty folder in the desktop or other directories and executing pipenv install always fails with the same traceback.Windows 10 Home:
'1803 (OS build 17134.345)'
Pip version:
'18.1'
Pipenv version:
'2018.10.9'
Pipenv location:
'c:\\users\\ale\\appdata\\local\\programs\\python\\python36\\lib\\site-packages\\pipenv'
Python location:
'c:\\users\\ale\\appdata\\local\\programs\\python\\python36\\python.exe'
Python installations found:
The text was updated successfully, but these errors were encountered: