Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Information about Python interpreter and environment
import sys
import os
import pkg_resources
from pprint import pprint
pprint({
'sys.version_info': sys.version_info,
'sys.prefix': sys.prefix,
'sys.path': sys.path,
'pkg_resources.working_set': list(pkg_resources.working_set),
'PATH': os.environ['PATH'].split(os.pathsep),
})
@east825

This comment has been minimized.

Copy link

@east825 east825 commented Oct 16, 2017

A version with all environment variables included:

import sys
import os
import pkg_resources
from pprint import pprint


pprint({
    'sys.version_info': sys.version_info,
    'sys.prefix': sys.prefix,
    'sys.path': sys.path,
    'pkg_resources.working_set': list(pkg_resources.working_set),
    'os.environ': {
        name: value.split(os.pathsep) if 'PATH' in name else value
        for name, value in os.environ.items()
    },
})
@mees123

This comment has been minimized.

Copy link

@mees123 mees123 commented Jun 10, 2019

Pylib15
Pylib14

None of those scripts nor the "Invalidate Caches & Restart" made external library modules available.
Any other recommendations/fix suggestions?

@chaserit123

This comment has been minimized.

Copy link

@chaserit123 chaserit123 commented Oct 17, 2019

Can someone please help me with the same issue.

Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll.

D:\Anaconda3\envs\Techmark.ML\python.exe D:/Projects/Python/Teckmark/Techmark.MLv2/app.py
{'PATH': ['D:\anaconda3',
'D:\anaconda3\library\minigw-w64\bin',
'D:\anaconda3\library\usr\bin',
'c:\program files\imagemagick-7.0.8-q16',
'c:\program files\microsoft mpi\bin\',
'c:\program files (x86)\common files\oracle\java\javapath',
'c:\windows\system32',
'c:\windows',
'c:\windows\system32\wbem',
'c:\windows\system32\windowspowershell\v1.0\',
'c:\windows\system32\openssh\',
'c:\program files\dotnet\',
'c:\program files\microsoft sql server\130\tools\binn\',
'c:\program files\git\cmd',
'c:\program files\tortoisegit\bin',
'c:\program files\nodejs\',
'c:\programdata\chocolatey\bin',
'c:\program files\putty\',
'c:\program files\cmake\bin',
'c:\program files\doxygen\bin',
'c:\program files (x86)\gtksharp\2.12\bin',
'c:\program files (x86)\microsoft sql server\140\tools\binn\',
'c:\program files\microsoft sql server\140\tools\binn\',
'c:\program files (x86)\microsoft sql server\140\dts\binn\',
'c:\program files\microsoft sql server\140\dts\binn\',
'c:\program files (x86)\microsoft sql server\client '
'sdk\odbc\130\tools\binn\',
'c:\program files (x86)\microsoft sql '
'server\140\tools\binn\managementstudio\',
'c:\program files\microsoft sql server\client '
'sdk\odbc\130\tools\binn\',
'c:\program files\microsoft vs code\bin',
'd:\program files (x86)\graphviz2.38\bin',
'c:\program files\nvidia corporation\nvidia nvdlisr',
'c:\program files\microsoft sql server\client '
'sdk\odbc\170\tools\binn\',
'c:\program files (x86)\microsoft sql server\90\tools\binn\',
'c:\program files (x86)\windows kits\10\windows performance '
'toolkit\',
'd:\program files (x86)\incredibuild',
'c:\program files\miktex 2.9\miktex\bin\x64\',
'c:\program files\amazon\awscli\bin\',
'C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common',
'C:\Program Files\Point Grey Research\FlyCapture2\bin64',
'C:\Program Files\Point Grey Research\FlyCapture2\bin64\vs2013',
'C:\Program Files\Point Grey Research\FlyCapture2\bin64\vs2015',
'C:\Program Files (x86)\Intel\Intel(R) Management Engine '
'Components\DAL',
'C:\Program Files\Intel\Intel(R) Management Engine '
'Components\DAL',
'C:\Program Files\NVIDIA Corporation\NVIDIA NGX',
'C:\Program Files (x86)\MAVProxy',
'D:\Program Files (x86)\GNU Tools ARM Embedded\6 '
'2017-q2-update\bin',
'C:\Users\charl\AppData\Local\Microsoft\WindowsApps',
'C:\Users\charl\AppData\Roaming\npm',
'C:\Users\charl\.dotnet\tools',
'D:\curl\bin',
'C:\Users\charl\AppData\Local\Programs\Fiddler',
'D:\CPP\OpenCVCUDA\x64\vc15\bin',
'D:\CPP\Nuget\',
'C:\Program Files\Amazon\AWSCLI\bin',
'D:\CPP\OpenCVCUDA\x64\vc15\bin',
'D:\Program Files\JetBrains\PyCharm Professional Edition with '
'Anaconda plugin 2019.1.1\bin',
'',
'C:\Program Files\SDCC\bin',
'D:\anaconda3\library\bin',
'D:\anaconda3\scripts',
''],
'pkg_resources.working_set': [zict 0.1.3 (d:\anaconda3\lib\site-packages),
xlwt 1.3.0 (d:\anaconda3\lib\site-packages),
xlwings 0.15.1 (d:\anaconda3\lib\site-packages),
XlsxWriter 1.1.2 (d:\anaconda3\lib\site-packages),
xlrd 1.2.0 (d:\anaconda3\lib\site-packages),
wrapt 1.10.11 (d:\anaconda3\lib\site-packages),
wincertstore 0.2 (d:\anaconda3\lib\site-packages),
win-unicode-console 0.5 (d:\anaconda3\lib\site-packages),
win-inet-pton 1.0.1 (d:\anaconda3\lib\site-packages),
widgetsnbextension 3.4.2 (d:\anaconda3\lib\site-packages),
wheel 0.32.3 (d:\anaconda3\lib\site-packages),
Werkzeug 0.14.1 (d:\anaconda3\lib\site-packages),
webencodings 0.5.1 (d:\anaconda3\lib\site-packages),
webcolors 1.8.1 (d:\anaconda3\lib\site-packages),
wcwidth 0.1.7 (d:\anaconda3\lib\site-packages),
urllib3 1.22 (d:\anaconda3\lib\site-packages),
unicodecsv 0.14.1 (d:\anaconda3\lib\site-packages),
traitlets 4.3.2 (d:\anaconda3\lib\site-packages),
tqdm 4.28.1 (d:\anaconda3\lib\site-packages),
tornado 5.1.1 (d:\anaconda3\lib\site-packages),
torchvision 0.2.2 (d:\anaconda3\lib\site-packages),
torch 1.0.1 (d:\anaconda3\lib\site-packages),
toolz 0.9.0 (d:\anaconda3\lib\site-packages),
tf-estimator-nightly 1.14.0.dev2019051401 (d:\anaconda3\lib\site-packages),
testpath 0.4.2 (d:\anaconda3\lib\site-packages),
terminado 0.8.1 (d:\anaconda3\lib\site-packages),
termcolor 1.1.0 (d:\anaconda3\lib\site-packages),
tensorflow 1.13.1 (d:\anaconda3\lib\site-packages),
tensorflow-estimator 1.13.0 (d:\anaconda3\lib\site-packages),
tensorboard 1.13.1 (d:\anaconda3\lib\site-packages),
tblib 1.3.2 (d:\anaconda3\lib\site-packages),
tabulate 0.8.3 (d:\anaconda3\lib\site-packages),
tables 3.4.4 (d:\anaconda3\lib\site-packages),
sympy 1.3 (d:\anaconda3\lib\site-packages),
statsmodels 0.9.0 (d:\anaconda3\lib\site-packages),
SQLAlchemy 1.2.15 (d:\anaconda3\lib\site-packages),
spyder 3.3.2 (d:\anaconda3\lib\site-packages),
spyder-kernels 0.3.0 (d:\anaconda3\lib\site-packages),
sphinxcontrib-websupport 1.1.0 (d:\anaconda3\lib\site-packages),
Sphinx 1.8.2 (d:\anaconda3\lib\site-packages),
sortedcontainers 2.1.0 (d:\anaconda3\lib\site-packages),
sortedcollections 1.0.1 (d:\anaconda3\lib\site-packages),
snowballstemmer 1.2.1 (d:\anaconda3\lib\site-packages),
six 1.12.0 (d:\anaconda3\lib\site-packages),
singledispatch 3.4.0.3 (d:\anaconda3\lib\site-packages),
simplegeneric 0.8.1 (d:\anaconda3\lib\site-packages),
SimpleCV 1.3 (d:\anaconda3\lib\site-packages),
setuptools 40.6.3 (d:\anaconda3\lib\site-packages),
Send2Trash 1.5.0 (d:\anaconda3\lib\site-packages),
seaborn 0.9.0 (d:\anaconda3\lib\site-packages),
scipy 1.2.1 (d:\anaconda3\lib\site-packages),
scikit-learn 0.20.1 (d:\anaconda3\lib\site-packages),
scikit-image 0.14.2 (d:\anaconda3\lib\site-packages),
ruamel-yaml 0.15.46 (d:\anaconda3\lib\site-packages),
rope 0.11.0 (d:\anaconda3\lib\site-packages),
requests 2.18.4 (d:\anaconda3\lib\site-packages),
requests-toolbelt 0.9.1 (d:\anaconda3\lib\site-packages),
raven 6.10.0 (d:\anaconda3\lib\site-packages),
QtPy 1.5.2 (d:\anaconda3\lib\site-packages),
qtconsole 4.4.3 (d:\anaconda3\lib\site-packages),
QtAwesome 0.5.3 (d:\anaconda3\lib\site-packages),
pyzmq 17.1.2 (d:\anaconda3\lib\site-packages),
PyYAML 3.13 (d:\anaconda3\lib\site-packages),
pywinpty 0.5.5 (d:\anaconda3\lib\site-packages),
pywin32 223 (d:\anaconda3\lib\site-packages),
PyWavelets 1.0.1 (d:\anaconda3\lib\site-packages),
pytz 2018.7 (d:\anaconda3\lib\site-packages),
python-utils 2.3.0 (d:\anaconda3\lib\site-packages),
python-pygaze 0.6.0a25 (d:\anaconda3\lib\site-packages),
python-dateutil 2.7.5 (d:\anaconda3\lib\site-packages),
pytest 4.0.2 (d:\anaconda3\lib\site-packages),
pytest-remotedata 0.3.1 (d:\anaconda3\lib\site-packages),
pytest-openfiles 0.3.1 (d:\anaconda3\lib\site-packages),
pytest-doctestplus 0.2.0 (d:\anaconda3\lib\site-packages),
pytest-astropy 0.5.0 (d:\anaconda3\lib\site-packages),
pytest-arraydiff 0.3 (d:\anaconda3\lib\site-packages),
PySocks 1.6.8 (d:\anaconda3\lib\site-packages),
PyQt5 5.12.1 (d:\anaconda3\lib\site-packages),
PyQt5-sip 4.19.15 (d:\anaconda3\lib\site-packages),
pyparsing 2.3.0 (d:\anaconda3\lib\site-packages),
pyOpenSSL 18.0.0 (d:\anaconda3\lib\site-packages),
pyodbc 4.0.25 (d:\anaconda3\lib\site-packages),
pylint 2.2.2 (d:\anaconda3\lib\site-packages),
Pygments 2.3.1 (d:\anaconda3\lib\site-packages),
pyflakes 2.0.0 (d:\anaconda3\lib\site-packages),
pydot 1.4.1 (d:\anaconda3\lib\site-packages),
pycurl 7.43.0.2 (d:\anaconda3\lib\site-packages),
pycrypto 2.6.1 (d:\anaconda3\lib\site-packages),
pycparser 2.19 (d:\anaconda3\lib\site-packages),
pycosat 0.6.3 (d:\anaconda3\lib\site-packages),
pycodestyle 2.4.0 (d:\anaconda3\lib\site-packages),
pybind11 2.2.4 (d:\anaconda3\lib\site-packages),
py 1.7.0 (d:\anaconda3\lib\site-packages),
psutil 5.4.8 (d:\anaconda3\lib\site-packages),
protobuf 3.7.1 (d:\anaconda3\lib\site-packages),
prompt-toolkit 2.0.9 (d:\anaconda3\lib\site-packages),
prometheus-client 0.5.0 (d:\anaconda3\lib\site-packages),
progressbar2 3.39.3 (d:\anaconda3\lib\site-packages),
ply 3.11 (d:\anaconda3\lib\site-packages),
pluggy 0.8.0 (d:\anaconda3\lib\site-packages),
pkginfo 1.4.2 (d:\anaconda3\lib\site-packages),
pixiedust 1.1.15 (d:\anaconda3\lib\site-packages),
pip 18.1 (d:\anaconda3\lib\site-packages),
Pillow 5.3.0 (d:\anaconda3\lib\site-packages),
pickleshare 0.7.5 (d:\anaconda3\lib\site-packages),
pep8 1.7.1 (d:\anaconda3\lib\site-packages),
pbr 5.1.3 (d:\anaconda3\lib\site-packages),
patsy 0.5.1 (d:\anaconda3\lib\site-packages),
pathspec 0.5.5 (d:\anaconda3\lib\site-packages),
pathlib2 2.3.3 (d:\anaconda3\lib\site-packages),
path.py 11.5.0 (d:\anaconda3\lib\site-packages),
partd 0.3.9 (d:\anaconda3\lib\site-packages),
parso 0.3.1 (d:\anaconda3\lib\site-packages),
pandocfilters 1.4.2 (d:\anaconda3\lib\site-packages),
pandas 0.23.4 (d:\anaconda3\lib\site-packages),
packaging 18.0 (d:\anaconda3\lib\site-packages),
openpyxl 2.5.12 (d:\anaconda3\lib\site-packages),
opencv-contrib-python 4.1.0.25 (d:\anaconda3\lib\site-packages),
olefile 0.46 (d:\anaconda3\lib\site-packages),
odo 0.5.1 (d:\anaconda3\lib\site-packages),
numpydoc 0.8.0 (d:\anaconda3\lib\site-packages),
numpy 1.16.2 (d:\anaconda3\lib\site-packages),
numexpr 2.6.8 (d:\anaconda3\lib\site-packages),
numba 0.44.1 (d:\anaconda3\lib\site-packages),
notebook 5.7.8 (d:\anaconda3\lib\site-packages),
nose 1.3.7 (d:\anaconda3\lib\site-packages),
nltk 3.4 (d:\anaconda3\lib\site-packages),
networkx 2.2 (d:\anaconda3\lib\site-packages),
nbformat 4.4.0 (d:\anaconda3\lib\site-packages),
nbconvert 5.4.1 (d:\anaconda3\lib\site-packages),
navigator-updater 0.2.1 (d:\anaconda3\lib\site-packages),
mxnet 1.4.1 (d:\anaconda3\lib\site-packages),
multipledispatch 0.6.0 (d:\anaconda3\lib\site-packages),
msgpack 0.5.6 (d:\anaconda3\lib\site-packages),
mpmath 1.1.0 (d:\anaconda3\lib\site-packages),
mpld3 0.3 (d:\anaconda3\lib\site-packages),
more-itertools 4.3.0 (d:\anaconda3\lib\site-packages),
mock 2.0.0 (d:\anaconda3\lib\site-packages),
mkl-random 1.0.2 (d:\anaconda3\lib\site-packages),
mkl-fft 1.0.10 (d:\anaconda3\lib\site-packages),
mistune 0.8.4 (d:\anaconda3\lib\site-packages),
metrics 0.3.3 (d:\anaconda3\lib\site-packages),
menuinst 1.4.14 (d:\anaconda3\lib\site-packages),
mccabe 0.6.1 (d:\anaconda3\lib\site-packages),
matplotlib 3.0.3 (d:\anaconda3\lib\site-packages),
marshmallow 2.19.2 (d:\anaconda3\lib\site-packages),
MarkupSafe 1.1.0 (d:\anaconda3\lib\site-packages),
Markdown 3.1 (d:\anaconda3\lib\site-packages),
lxml 4.2.5 (d:\anaconda3\lib\site-packages),
locket 0.2.0 (d:\anaconda3\lib\site-packages),
llvmlite 0.29.0 (d:\anaconda3\lib\site-packages),
libarchive-c 2.8 (d:\anaconda3\lib\site-packages),
lazy-object-proxy 1.3.1 (d:\anaconda3\lib\site-packages),
kiwisolver 1.0.1 (d:\anaconda3\lib\site-packages),
keyring 17.0.0 (d:\anaconda3\lib\site-packages),
Keras 2.2.4 (d:\anaconda3\lib\site-packages),
keras-retinanet 0.5.0 (d:\anaconda3\lib\site-packages),
keras-resnet 0.1.0 (d:\anaconda3\lib\site-packages),
Keras-Preprocessing 1.0.9 (d:\anaconda3\lib\site-packages),
keras-mxnet 2.2.4.1 (d:\anaconda3\lib\site-packages),
Keras-Applications 1.0.7 (d:\anaconda3\lib\site-packages),
jupyterlab 0.35.4 (d:\anaconda3\lib\site-packages),
jupyterlab-server 0.2.0 (d:\anaconda3\lib\site-packages),
jupyter 1.0.0 (d:\anaconda3\lib\site-packages),
jupyter-http-over-ws 0.0.6 (d:\anaconda3\lib\site-packages),
jupyter-core 4.4.0 (d:\anaconda3\lib\site-packages),
jupyter-console 6.0.0 (d:\anaconda3\lib\site-packages),
jupyter-client 5.2.4 (d:\anaconda3\lib\site-packages),
jsonschema 2.6.0 (d:\anaconda3\lib\site-packages),
Jinja2 2.10 (d:\anaconda3\lib\site-packages),
jedi 0.13.2 (d:\anaconda3\lib\site-packages),
jdcal 1.4 (d:\anaconda3\lib\site-packages),
itsdangerous 1.1.0 (d:\anaconda3\lib\site-packages),
isort 4.3.4 (d:\anaconda3\lib\site-packages),
ipywidgets 7.4.2 (d:\anaconda3\lib\site-packages),
ipython 7.4.0 (d:\anaconda3\lib\site-packages),
ipython-genutils 0.2.0 (d:\anaconda3\lib\site-packages),
ipykernel 5.1.0 (d:\anaconda3\lib\site-packages),
imutils 0.5.2 (d:\anaconda3\lib\site-packages),
importlib-metadata 0.6 (d:\anaconda3\lib\site-packages),
imagetools 1.0.0 (d:\anaconda3\lib\site-packages),
imagesize 1.1.0 (d:\anaconda3\lib\site-packages),
imageio 2.4.1 (d:\anaconda3\lib\site-packages),
idna 2.6 (d:\anaconda3\lib\site-packages),
html5lib 1.0.1 (d:\anaconda3\lib\site-packages),
heapdict 1.0.0 (d:\anaconda3\lib\site-packages),
h5py 2.8.0 (d:\anaconda3\lib\site-packages),
grpcio 1.19.0 (d:\anaconda3\lib\site-packages),
greenlet 0.4.15 (d:\anaconda3\lib\site-packages),
graphviz 0.8.4 (d:\anaconda3\lib\site-packages),
graphqlclient 0.2.4 (d:\anaconda3\lib\site-packages),
GPUtil 1.4.0 (d:\anaconda3\lib\site-packages),
google-pasta 0.1.6 (d:\anaconda3\lib\site-packages),
glob2 0.6 (d:\anaconda3\lib\site-packages),
gevent 1.3.7 (d:\anaconda3\lib\site-packages),
geojson 2.4.1 (d:\anaconda3\lib\site-packages),
gast 0.2.2 (d:\anaconda3\lib\site-packages),
future 0.17.1 (d:\anaconda3\lib\site-packages),
floyd-cli 0.11.17 (d:\anaconda3\lib\site-packages),
Flask 1.0.2 (d:\anaconda3\lib\site-packages),
Flask-Cors 3.0.7 (d:\anaconda3\lib\site-packages),
filelock 3.0.10 (d:\anaconda3\lib\site-packages),
fastcache 1.0.2 (d:\anaconda3\lib\site-packages),
et-xmlfile 1.0.1 (d:\anaconda3\lib\site-packages),
enum34 1.1.6 (d:\anaconda3\lib\site-packages),
entrypoints 0.2.3 (d:\anaconda3\lib\site-packages),
docutils 0.14 (d:\anaconda3\lib\site-packages),
distributed 1.25.1 (d:\anaconda3\lib\site-packages),
defusedxml 0.5.0 (d:\anaconda3\lib\site-packages),
decorator 4.3.0 (d:\anaconda3\lib\site-packages),
datashape 0.5.4 (d:\anaconda3\lib\site-packages),
dask 1.0.0 (d:\anaconda3\lib\site-packages),
cytoolz 0.9.0.1 (d:\anaconda3\lib\site-packages),
Cython 0.29.2 (d:\anaconda3\lib\site-packages),
cycler 0.10.0 (d:\anaconda3\lib\site-packages),
cryptography 2.4.2 (d:\anaconda3\lib\site-packages),
contextlib2 0.5.5 (d:\anaconda3\lib\site-packages),
conda 4.6.14 (d:\anaconda3\lib\site-packages),
conda-verify 3.1.1 (d:\anaconda3\lib\site-packages),
conda-build 3.17.6 (d:\anaconda3\lib\site-packages),
comtypes 1.1.7 (d:\anaconda3\lib\site-packages),
colour 0.1.5 (d:\anaconda3\lib\site-packages),
colorama 0.4.1 (d:\anaconda3\lib\site-packages),
clyent 1.2.2 (d:\anaconda3\lib\site-packages),
cloudpickle 0.6.1 (d:\anaconda3\lib\site-packages),
clint 0.5.1 (d:\anaconda3\lib\site-packages),
click 6.7 (d:\anaconda3\lib\site-packages),
chardet 3.0.4 (d:\anaconda3\lib\site-packages),
cffi 1.11.5 (d:\anaconda3\lib\site-packages),
certifi 2019.3.9 (d:\anaconda3\lib\site-packages),
Bottleneck 1.2.1 (d:\anaconda3\lib\site-packages),
boto 2.49.0 (d:\anaconda3\lib\site-packages),
bokeh 1.0.2 (d:\anaconda3\lib\site-packages),
bleach 3.0.2 (d:\anaconda3\lib\site-packages),
blaze 0.11.3 (d:\anaconda3\lib\site-packages),
bkcharts 0.2 (d:\anaconda3\lib\site-packages),
bitarray 0.8.3 (d:\anaconda3\lib\site-packages),
beautifulsoup4 4.6.3 (d:\anaconda3\lib\site-packages),
backports.shutil-get-terminal-size 1.0.0 (d:\anaconda3\lib\site-packages),
backports.os 0.1.1 (d:\anaconda3\lib\site-packages),
backcall 0.1.0 (d:\anaconda3\lib\site-packages),
Babel 2.6.0 (d:\anaconda3\lib\site-packages),
attrs 18.2.0 (d:\anaconda3\lib\site-packages),
atomicwrites 1.2.1 (d:\anaconda3\lib\site-packages),
astunparse 1.6.2 (d:\anaconda3\lib\site-packages),
astropy 3.1 (d:\anaconda3\lib\site-packages),
astroid 2.1.0 (d:\anaconda3\lib\site-packages),
astor 0.7.1 (d:\anaconda3\lib\site-packages),
asn1crypto 0.24.0 (d:\anaconda3\lib\site-packages),
args 0.1.0 (d:\anaconda3\lib\site-packages),
anaconda-project 0.8.2 (d:\anaconda3\lib\site-packages),
anaconda-navigator 1.9.6 (d:\anaconda3\lib\site-packages),
anaconda-client 1.7.2 (d:\anaconda3\lib\site-packages),
alabaster 0.7.12 (d:\anaconda3\lib\site-packages),
absl-py 0.7.1 (d:\anaconda3\lib\site-packages),
opencv 4.0.0 (d:\anaconda3\lib\site-packages\opencv-4.0.0-py3.7.egg)],
'sys.path': ['D:\Projects\Python\Teckmark\Techmark.MLv2',
'D:\Projects\Python\Teckmark\Techmark.MLv2',
'D:\Projects\Python\Teckmark\Techmark.MLv2\.idea',
'D:\Projects\Python\Teckmark\Techmark.MLv2\keras_frcnn',
'D:\anaconda3',
'D:\Anaconda3\envs\Techmark.ML\python37.zip',
'D:\anaconda3\DLLs',
'D:\anaconda3\lib',
'D:\Anaconda3\envs\Techmark.ML',
'D:\anaconda3\lib\site-packages',
'D:\anaconda3\lib\site-packages\opencv-4.0.0-py3.7.egg',
'D:\anaconda3\lib\site-packages\win32',
'D:\anaconda3\lib\site-packages\win32\lib',
'D:\anaconda3\lib\site-packages\Pythonwin'],
'sys.prefix': 'D:\anaconda3',
'sys.version_info': sys.version_info(major=3, minor=7, micro=3, releaselevel='final', serial=0)}

@hugh52

This comment has been minimized.

Copy link

@hugh52 hugh52 commented Feb 4, 2020

i have no idea if this is what you all are having trouble with, but if you are having trouble importing packages, you can try the following:
in file -> settings -> project: ... -> project interpreter, after changing the project interpreter to your local python installation (mine for example is '/usr/bin/python3.6') then most libs should be importable. furthermore, clicking the "+" to install more gives a "manage repositories" option at the bottom, where it looks like you should be able to add more packages from repositories instead of simply the ones from pypi. again, no idea if this is what you are looking for but hope it helps someone...

@SSZero88

This comment has been minimized.

Copy link

@SSZero88 SSZero88 commented Oct 10, 2020

This issue is happening to me as well. The outputs in both my python shell and in pycharm are identical, but pycharm shows these modules as unresolved. My project interpreter is the same as the interpreter used for my python shell. How is this happening?

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