-
-
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
import JSON error #3671
Comments
Can you remove the Let's see if I can beat the 15,000 people LOL. |
Can't remove JSON from profile if it doesn't create a pipfile. |
@RohanRadia but I see it list in |
Removed all the dependencies including JSON. Same import json error. |
@RohanRadia Seems your python interpreter's JSON module is broken. |
Can't be. We did a full re-install twice yesterday. Should I test JSON in a normal put on file? |
@RohanRadia May I ask you do the following and see the results
|
C:\Users\rohan>C:\Users\rohan\AppData\Local\Programs\Python\Python37\python.exe -c "import json" C:\Users\rohan> C:\Users\rohan\Desktop\pipenv test>pipenv --rm & pipenv install requests Successfully created virtual environment! C:\Users\rohan\Desktop\pipenv test> Mhm, did it work all of sudden? |
@RohanRadia No, it failed because you had an old virtualenv with a broken JSON module. Remove and create a new fixes the issue. So there isn't any more problem here, close it now. |
Issue description
Getting the error:
Been trying to fix it for hours with staff on the Python Discord server with 15,000 members. After 2 hours they sent me here.
Expected result
To install requests...
Actual result
Steps to replicate
No Pipfile created
Please run
$ pipenv --support
, and paste the results here. Don't put backticks (`
) around it! The output already contains Markdown formatting.C:\Users\rohan\Desktop\pipenv test>pipenv --support
$ pipenv --support
Pipenv version:
'2018.11.26'
Pipenv location:
'c:\\users\\rohan\\appdata\\local\\programs\\python\\python37\\lib\\site-packages\\pipenv'
Python location:
'c:\\users\\rohan\\appdata\\local\\programs\\python\\python37\\python.exe'
Python installations found:
3.7.3
:C:\Users\rohan\AppData\Local\Programs\Python\Python37\python.exe
PEP 508 Information:
System environment variables:
ALLUSERSPROFILE
APPDATA
COMMONPROGRAMFILES
COMMONPROGRAMFILES(X86)
COMMONPROGRAMW6432
COMPUTERNAME
COMSPEC
DRIVERDATA
ETHEREUM_SOCKET
FPS_BROWSER_APP_PROFILE_STRING
FPS_BROWSER_USER_PROFILE_STRING
HOMEDRIVE
HOMEPATH
LOCALAPPDATA
LOGONSERVER
NUMBER_OF_PROCESSORS
ONEDRIVE
ONEDRIVECONSUMER
OS
PATH
PATHEXT
PROCESSOR_ARCHITECTURE
PROCESSOR_IDENTIFIER
PROCESSOR_LEVEL
PROCESSOR_REVISION
PROGRAMDATA
PROGRAMFILES
PROGRAMFILES(X86)
PROGRAMW6432
PROMPT
PSMODULEPATH
PUBLIC
PYCHARM COMMUNITY EDITION
SESSIONNAME
SYSTEMDRIVE
SYSTEMROOT
TEMP
TMP
USERDOMAIN
USERDOMAIN_ROAMINGPROFILE
USERNAME
USERPROFILE
WINDIR
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\rohan\AppData\Local\Microsoft\WindowsApps;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Users\rohan\Desktop;C:\Program Files (x86)\OpenVPN\bin;C:\Users\rohan\AppData\Local\Programs\Python36;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\PuTTY\;C:\ffmpeg-4.1-win64-static\bin;C:\Users\rohan\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\rohan\AppData\Local\Programs\Python\Python37\;C:\Users\rohan\AppData\Local\Microsoft\WindowsApps;C:\Users\rohan\AppData\Local\atom\bin;C:\Program Files\heroku\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.1\bin;
Contents of
Pipfile
('C:\Users\rohan\Pipfile'):C:\Users\rohan\Desktop\pipenv test>
If you're on macOS, run the following:
If you're on Windows, run the following:
If you're on Linux, run the following:
The text was updated successfully, but these errors were encountered: