Closed akshaybabloo closed 7 years ago
I believe you are still likely using a mix of packages from conda-forge
and defaults
, probably due to settings in your %UserProfile%\.condarc
file. Fresh re-installs still pickup existing values in that file and will fetch packages from conda-forge
upon update. We are not yet compatible with conda-forge
but it is our aim to achieve as much compatibility as we can as soon as possible.
How did you launch your application? When you installed Anaconda
did you allow it to modify your PATH
or are you using the Anaconda Prompt
/ Anaconda Navigator
instead?
In your fresh re-install, from the Anaconda Prompt
, can you show the output from:
conda list --show-channel-urls
and also the output from:
echo %PATH%
Thanks.
@mingwandroid I guess you are right. I deleted the .condarc
file, deleted Anaconda folder and reinstalled it but I get the error something like Update 4
This application failed to start because it could not find or load the Qt platform plugin "windows"
in "C:\Users\aksha\Anaconda3\pkgs\qt-5.6.2-vc14h6f8c307_12\Library\plugins\platforms".
Available platform plugins are: minimal (from C:\Users\aksha\Anaconda3\pkgs\qt-5.6.2-vc14h6f8c307_12\Library\plugins\platforms), offscreen (from C:\Users\aksha\Anaconda3\pkgs\qt-5.6.2-vc14h6f8c307_12\Library\plugins\platforms), windows (from C:\Users\aksha\Anaconda3\pkgs\qt-5.6.2-vc14h6f8c307_12\Library\plugins\platforms), minimal, offscreen, windows.
Reinstalling the application may fix this problem.
I am using CMD, added the Anaconda3
, Scripts
and Library\bin
to the path.
conda list --show-channel-urls
:
# packages in environment at C:\Users\aksha\Anaconda3:
#
_ipyw_jlab_nb_ext_conf 0.1.0 py36he6757f0_0 defaults
alabaster 0.7.10 py36hcd07829_0 defaults
anaconda 5.0.0 py36hea9b2fc_0 defaults
anaconda-client 1.6.5 py36hd36550c_0 defaults
anaconda-navigator 1.6.8 py36h4b7dd57_0 defaults
anaconda-project 0.8.0 py36h8b3bf89_0 defaults
asn1crypto 0.22.0 py36h8e79faa_1 defaults
astroid 1.5.3 py36h9d85297_0 defaults
astropy 2.0.2 py36h06391c4_4 defaults
babel 2.5.0 py36h35444c1_0 defaults
backports 1.0 py36h81696a8_1 defaults
backports.shutil_get_terminal_size 1.0.0 py36h79ab834_2 defaults
beautifulsoup4 4.6.0 py36hd4cc5e8_1 defaults
bitarray 0.8.1 py36h6af124b_0 defaults
bkcharts 0.2 py36h7e685f7_0 defaults
blaze 0.11.3 py36h8a29ca5_0 defaults
bleach 2.0.0 py36h0a7e3d6_0 defaults
bokeh 0.12.7 py36h012f572_1 defaults
boto 2.48.0 py36h1a776d2_1 defaults
bottleneck 1.2.1 py36hd119dfa_0 defaults
bzip2 1.0.6 vc14hdec8e7a_1 [vc14] defaults
ca-certificates 2017.08.26 h94faf87_0 defaults
cachecontrol 0.12.3 py36hfe50d7b_0 defaults
certifi 2017.7.27.1 py36h043bc9e_0 defaults
cffi 1.10.0 py36hae3d1b5_1 defaults
chardet 3.0.4 py36h420ce6e_1 defaults
click 6.7 py36hec8c647_0 defaults
cloudpickle 0.4.0 py36h639d8dc_0 defaults
clyent 1.2.2 py36hb10d595_1 defaults
colorama 0.3.9 py36h029ae33_0 defaults
comtypes 1.1.2 py36heb9b3d1_0 defaults
conda 4.3.27 py36hcbae3bd_0 defaults
conda-build 3.0.22 py36hd71664c_0 defaults
conda-env 2.6.0 h36134e3_1 defaults
conda-verify 2.0.0 py36h065de53_0 defaults
console_shortcut 0.1.1 haa4cab3_2 defaults
contextlib2 0.5.5 py36he5d52c0_0 defaults
cryptography 2.0.3 py36h123decb_1 defaults
curl 7.55.1 vc14hdaba4a4_3 [vc14] defaults
cycler 0.10.0 py36h009560c_0 defaults
cython 0.26.1 py36h18049ac_0 defaults
cytoolz 0.8.2 py36h547e66e_0 defaults
dask 0.15.2 py36h25e1b01_0 defaults
dask-core 0.15.2 py36hf9e56b0_0 defaults
datashape 0.5.4 py36h5770b85_0 defaults
decorator 4.1.2 py36he63a57b_0 defaults
distlib 0.2.5 py36h51371be_0 defaults
distributed 1.18.3 py36h5be4c3e_0 defaults
docutils 0.14 py36h6012d8f_0 defaults
entrypoints 0.2.3 py36hfd66bb0_2 defaults
et_xmlfile 1.0.1 py36h3d2d736_0 defaults
fastcache 1.0.2 py36hffdae1b_0 defaults
filelock 2.0.12 py36hd7ddd41_0 defaults
flask 0.12.2 py36h98b5e8f_0 defaults
flask-cors 3.0.3 py36h8a3855d_0 defaults
freetype 2.8 vc14h17c9bdf_0 [vc14] defaults
get_terminal_size 1.0.0 h38e98db_0 defaults
gevent 1.2.2 py36h342a76c_0 defaults
glob2 0.5 py36h11cc1bd_1 defaults
greenlet 0.4.12 py36ha00ad21_0 defaults
h5py 2.7.0 py36hfbe0a52_1 defaults
hdf5 1.10.1 vc14hb361328_0 [vc14] defaults
heapdict 1.0.0 py36h21fa5f4_0 defaults
html5lib 0.999999999 py36ha09b1f3_0 defaults
icc_rt 2017.0.4 h97af966_0 defaults
icu 58.2 vc14hc45fdbb_0 [vc14] defaults
idna 2.6 py36h148d497_1 defaults
imageio 2.2.0 py36had6c2d2_0 defaults
imagesize 0.7.1 py36he29f638_0 defaults
intel-openmp 2018.0.0 hcd89f80_7 defaults
ipykernel 4.6.1 py36hbb77b34_0 defaults
ipython 6.1.0 py36h236ecc8_1 defaults
ipython_genutils 0.2.0 py36h3c5d0ee_0 defaults
ipywidgets 7.0.0 py36h2e74ada_0 defaults
isort 4.2.15 py36h6198cc5_0 defaults
itsdangerous 0.24 py36hb6c5a24_1 defaults
jdcal 1.3 py36h64a5255_0 defaults
jedi 0.10.2 py36hed927a0_0 defaults
jinja2 2.9.6 py36h10aa3a0_1 defaults
jpeg 9b vc14h4d7706e_1 [vc14] defaults
jsonschema 2.6.0 py36h7636477_0 defaults
jupyter 1.0.0 py36h422fd7e_2 defaults
jupyter_client 5.1.0 py36h9902a9a_0 defaults
jupyter_console 5.2.0 py36h6d89b47_1 defaults
jupyter_core 4.3.0 py36h511e818_0 defaults
jupyterlab 0.27.0 py36h34cc53b_2 defaults
jupyterlab_launcher 0.4.0 py36h22c3ccf_0 defaults
lazy-object-proxy 1.3.1 py36hd1c21d2_0 defaults
libiconv 1.15 vc14h29686d3_5 [vc14] defaults
libpng 1.6.32 vc14hce43e6c_2 [vc14] defaults
libssh2 1.8.0 vc14hcf584a9_2 [vc14] defaults
libtiff 4.0.8 vc14h04e2a1e_10 [vc14] defaults
libxml2 2.9.4 vc14h8fd0f11_5 [vc14] defaults
libxslt 1.1.29 vc14hf85b8d4_5 [vc14] defaults
llvmlite 0.20.0 py36_0 defaults
locket 0.2.0 py36hfed976d_1 defaults
lockfile 0.12.2 py36h0468280_0 defaults
lxml 3.8.0 py36h45350b2_0 defaults
markupsafe 1.0 py36h0e26971_1 defaults
matplotlib 2.0.2 py36h58ba717_1 defaults
mccabe 0.6.1 py36hb41005a_1 defaults
menuinst 1.4.8 py36h870ab7d_0 defaults
mistune 0.7.4 py36h4874169_0 defaults
mkl 2018.0.0 h36b65af_4 defaults
mkl-service 1.1.2 py36h57e144c_4 defaults
mpmath 0.19 py36he326802_2 defaults
msgpack-python 0.4.8 py36h58b1e9d_0 defaults
multipledispatch 0.4.9 py36he44c36e_0 defaults
navigator-updater 0.1.0 py36h8a7b86b_0 defaults
nbconvert 5.3.1 py36h8dc0fde_0 defaults
nbformat 4.4.0 py36h3a5bc1b_0 defaults
networkx 1.11 py36hdf4b0f5_0 defaults
nltk 3.2.4 py36hd0e0a39_0 defaults
nose 1.3.7 py36h1c3779e_2 defaults
notebook 5.0.0 py36h27f7975_1 defaults
numba 0.35.0 np113py36_10 defaults
numexpr 2.6.2 py36h7ca04dc_1 defaults
numpy 1.13.1 py36haf1bc54_2 defaults
numpydoc 0.7.0 py36ha25429e_0 defaults
odo 0.5.1 py36h7560279_0 defaults
olefile 0.44 py36h0a7bdd2_0 defaults
openpyxl 2.4.8 py36hf3b77f6_1 defaults
openssl 1.0.2l vc14hcac20b0_2 [vc14] defaults
packaging 16.8 py36ha0986f6_1 defaults
pandas 0.20.3 py36hce827b7_2 defaults
pandoc 1.19.2.1 hb2460c7_1 defaults
pandocfilters 1.4.2 py36h3ef6317_1 defaults
partd 0.3.8 py36hc8e763b_0 defaults
path.py 10.3.1 py36h3dd8b46_0 defaults
pathlib2 2.3.0 py36h7bfb78b_0 defaults
patsy 0.4.1 py36h42cefec_0 defaults
pep8 1.7.0 py36h0f3d67a_0 defaults
pickleshare 0.7.4 py36h9de030f_0 defaults
pillow 4.2.1 py36hdb25ab2_0 defaults
pip 9.0.1 py36hadba87b_3 defaults
pkginfo 1.4.1 py36hb0f9cfa_1 defaults
ply 3.10 py36h1211beb_0 defaults
progress 1.3 py36hbeca8d3_0 defaults
prompt_toolkit 1.0.15 py36h60b8f86_0 defaults
psutil 5.2.2 py36he84b5ac_0 defaults
py 1.4.34 py36ha4aca3a_1 defaults
pycodestyle 2.3.1 py36h7cc55cd_0 defaults
pycosat 0.6.2 py36hf17546d_1 defaults
pycparser 2.18 py36hd053e01_1 defaults
pycrypto 2.6.1 py36he68e6e2_1 defaults
pycurl 7.43.0 py36h086bf4c_3 defaults
pyflakes 1.5.0 py36h56100d8_1 defaults
pygments 2.2.0 py36hb010967_0 defaults
pylint 1.7.2 py36h091ff97_0 defaults
pyodbc 4.0.17 py36h0006bc2_0 defaults
pyopenssl 17.2.0 py36h15ca2fc_0 defaults
pyparsing 2.2.0 py36h785a196_1 defaults
pyqt 5.6.0 py36hb5ed885_5 defaults
pysocks 1.6.7 py36h698d350_1 defaults
pytables 3.4.2 py36h85b5e71_1 defaults
pytest 3.2.1 py36h753b05e_1 defaults
python 3.6.2 h6679aeb_11 defaults
python-dateutil 2.6.1 py36h509ddcb_1 defaults
pytz 2017.2 py36h05d413f_1 defaults
pywavelets 0.5.2 py36hc649158_0 defaults
pywin32 221 py36h9c10281_0 defaults
pyyaml 3.12 py36h1d1928f_1 defaults
pyzmq 16.0.2 py36h38c27d9_2 defaults
qt 5.6.2 vc14h6f8c307_12 [vc14] defaults
qtawesome 0.4.4 py36h5aa48f6_0 defaults
qtconsole 4.3.1 py36h99a29a9_0 defaults
qtpy 1.3.1 py36hb8717c5_0 defaults
requests 2.18.4 py36h4371aae_1 defaults
rope 0.10.5 py36hcaf5641_0 defaults
ruamel_yaml 0.11.14 py36h9b16331_2 defaults
scikit-image 0.13.0 py36h6dffa3f_1 defaults
scikit-learn 0.19.0 py36h294a771_2 defaults
scipy 0.19.1 py36h7565378_3 defaults
seaborn 0.8.0 py36h62cb67c_0 defaults
setuptools 36.5.0 py36h65f9e6e_0 defaults
simplegeneric 0.8.1 py36heab741f_0 defaults
singledispatch 3.4.0.3 py36h17d0c80_0 defaults
sip 4.18.1 py36h9c25514_2 defaults
six 1.10.0 py36h2c0fdd8_1 defaults
snowballstemmer 1.2.1 py36h763602f_0 defaults
sortedcollections 0.5.3 py36hbefa0ab_0 defaults
sortedcontainers 1.5.7 py36ha90ac20_0 defaults
sphinx 1.6.3 py36h9bb690b_0 defaults
sphinxcontrib 1.0 py36hbbac3d2_1 defaults
sphinxcontrib-websupport 1.0.1 py36hb5e5916_1 defaults
spyder 3.2.3 py36h132a2c8_0 defaults
sqlalchemy 1.1.13 py36h5948d12_0 defaults
sqlite 3.20.1 vc14h7ce8c62_1 [vc14] defaults
statsmodels 0.8.0 py36h6189b4c_0 defaults
sympy 1.1.1 py36h96708e0_0 defaults
tblib 1.3.2 py36h30f5020_0 defaults
testpath 0.3.1 py36h2698cfe_0 defaults
tk 8.6.7 vc14hb68737d_1 [vc14] defaults
toolz 0.8.2 py36he152a52_0 defaults
tornado 4.5.2 py36h57f6048_0 defaults
traitlets 4.3.2 py36h096827d_0 defaults
typing 3.6.2 py36hb035bda_0 defaults
unicodecsv 0.14.1 py36h6450c06_0 defaults
urllib3 1.22 py36h276f60a_0 defaults
vc 14 h2379b0c_1 defaults
vs2015_runtime 14.0.25123 hd4c4e62_1 defaults
wcwidth 0.1.7 py36h3d5aa90_0 defaults
webencodings 0.5.1 py36h67c50ae_1 defaults
werkzeug 0.12.2 py36h866a736_0 defaults
wheel 0.29.0 py36h6ce6cde_1 defaults
widgetsnbextension 3.0.2 py36h364476f_1 defaults
win_inet_pton 1.0.1 py36he67d7fd_1 defaults
win_unicode_console 0.5 py36hcdbd4b5_0 defaults
wincertstore 0.2 py36h7fe50ca_0 defaults
wrapt 1.10.11 py36he5f5981_0 defaults
xlrd 1.1.0 py36h1cb58dc_1 defaults
xlsxwriter 0.9.8 py36hdf8fb07_0 defaults
xlwings 0.11.4 py36hd3cf94d_0 defaults
xlwt 1.3.0 py36h1a4751e_0 defaults
yaml 0.1.7 vc14hb31d195_1 [vc14] defaults
zict 0.1.2 py36hbda90c0_0 defaults
zlib 1.2.11 vc14h1cdd9ab_1 [vc14] defaults
and echo %PATH%
:
C:\Users\aksha\Anaconda3;C:\Users\aksha\Anaconda3\Library\mingw-w64\bin;C:\Users\aksha\Anaconda3\Library\usr\bin;C:\Users\aksha\Anaconda3\Library\bin;C:\Users\aksha\Anaconda3\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;C:\Program Files\Oculus\Support\oculus-runtime;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;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 (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Users\aksha\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Google\Hangouts Plugin for Microsoft Outlook\;C:\Program Files\MATLAB\R2016b\runtime\win64;C:\Program Files\MATLAB\R2016b\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files (x86)\Google\Google Apps Sync\;C:\Program Files (x86)\Google\Google Apps Migration\;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\PostgreSQL\pg96\bin;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Common Files\Acronis\VirtualFile\;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\;C:\Program Files (x86)\Common Files\Acronis\FileProtector\;C:\Program Files (x86)\Common Files\Acronis\FileProtector64\;C:\Program Files\nodejs\;C:\Go\bin;C:\Ruby23-x64\bin;C:\Users\aksha\Anaconda3;C:\Users\aksha\Anaconda3\Scripts;C:\Users\aksha\Anaconda3\Library\bin;C:\Users\aksha\AppData\Local\atom\bin;C:\Users\aksha\AppData\Local\Microsoft\WindowsApps;C:\Users\aksha\AppData\Roaming\Composer\vendor\bin;C:\Program Files\Heroku\bin;C:\Program Files\PostgreSQL\9.6\bin;C:\Program Files\Java\jre1.8.0_121\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0;C:\cudnn\bin;C:\Users\aksha\AppData\Local\Pandoc\;C:\libxmlsec-1.2.18.win32\bin;C:\libxmlsec-1.2.18.win32\lib;C:\Users\aksha\AppData\Local\GitHubDesktop\bin;C:\Users\aksha\AppData\Local\Box\Box Edit\;C:\Program Files\Microsoft VS Code\bin;C:\Users\aksha\AppData\Roaming\npm;C:\Users\aksha\Miniconda3;C:\Users\aksha\Miniconda3\Scripts;C:\Users\aksha\Miniconda3\Library\bin;C:\Users\aksha\Anaconda3\Library;
Okay, Qt
is working from Anaconda Prompt
but not from cmd
.
Update 1
If I do activate root
in cmd
its working, if I am not in the Anaconda environment qt
doesn't work. This used to be fine in Anaconda 4
All that means is that your conflicting DLLs that appear in your PATH
before the Anaconda Distribution
's DLLs were more compatible with the DLLs in Anaconda 4
than they are with the ones in Anaconda 5
.
We have no control over those conflicting DLLs since they are provided by other software vendors and therefore we can do nothing about this.
This is exactly why everyone should use either the Anaconda Prompt
or Anaconda Navigator
and should elect not to let software (yes, any, including Anaconda Distribution
) add itself to PATH
on Windows when given such a choice.
@mingwandroid i think his path is good
Why do you think this? That everything works when using the Anaconda Prompt
indicates that the reporter has run into DLL-hell due to other DLLs getting loaded instead of Anaconda Distribution
DLLs.
@mingwandroid oh, sorry, i mixed my condition with him. may create a new issue sometime.
I have upgraded from Anaconda 4.# to Anaconda 5.0 and tried running my PyQt application and I get the following error
And then Python crashes.
This happens to a simple example as well.
conda info
Update 1
Uninstalling
qt
and reinstalling did not do any good. I still get the same error.Update 2
Updating the following packages
didn't change anything.
Update 3
Removed
Anaconda
completely, installedMiniconda
then installedpyqt
fromanaconda
channel. I still get the same error.I don't know what else to do. Reverting back to Anaconda 5.
Update 4
I tried setting
QT_QPA_PLATFORM_PLUGIN_PATH
toAnaconda3\\Library\\plugins\\platforms
viaos.environ
but now I gethttps://github.com/ContinuumIO/anaconda-issues/issues/1270 did not solve the problem.