All scripts error overnight

Today I went back to coding and they all error.

I have reinstalled pycharm re added the modules same thing.. 

wrote a simple test script to open selenium.. errors

I have another PC I use for scratch building and the file run fine on pycharm on that.

whats happened ?

the driver has full permissions for access.. i just don't understand whats happening

0
2 comments
Avatar
Permanently deleted user

I get this when trying to install importlib ?

ERROR: Command errored out with exit status 1:
command: 'c:\users\cube\pycharmprojects\100urls\venv\scripts\python.exe' -c '
import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Cube\\AppData\\Loc
al\\Temp\\pip-install-iqzvg2ud\\importlib\\setup.py'"'"'; __file__='"'"'C:\\Users\
\Cube\\AppData\\Local\\Temp\\pip-install-iqzvg2ud\\importlib\\setup.py'"'"';f=geta
ttr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"'
, '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
--egg-base 'C:\Users\Cube\AppData\Local\Temp\pip-pip-egg-info-wpxqaolh'
cwd: C:\Users\Cube\AppData\Local\Temp\pip-install-iqzvg2ud\importlib\
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\cube\pycharmprojects\100urls\venv\lib\site-packages\setuptool
s\__init__.py", line 10, in <module>
import distutils.core
File "C:\Users\Cube\AppData\Local\Programs\Python\Python39\lib\distutils\cor
e.py", line 16, in <module>
from distutils.dist import Distribution
File "C:\Users\Cube\AppData\Local\Programs\Python\Python39\lib\distutils\dis
t.py", line 19, in <module>
from distutils.util import check_environ, strtobool, rfc822_escape
File "C:\Users\Cube\AppData\Local\Programs\Python\Python39\lib\distutils\uti
l.py", line 9, in <module>
import importlib.util
ModuleNotFoundError: No module named 'importlib.util'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the
logs for full command output.

 

0

Hi, 

 

Please follow this troubleshooting guide https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240 and provide me with results as described in "Reporting to PyCharm issue tracker" part.

Should you have any questions please let me know.

0

Please sign in to leave a comment.