pyILPer can't load DLL
|
07-13-2017, 04:00 PM
Post: #1
|
|||
|
|||
pyILPer can't load DLL
First, thank you Joachim for pyILPer.
I can't get it to run and I am not familiar enough with Python to deal with the error. I downloaded and installed Anaconda. I updated and I have Python 3.6.1 I installed LIFUtils When I installed Anaconda, it gave me an option to either modify the PATH (Not recommended) or register it (I chose this option). I added the channels for bug400 I installed pyILPer I updated all Here is a version listing and the error I get when I try to run pyILPer. It seems to fail at when loading QT5? Any thoughts? (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer>conda list # packages in environment at C:\ProgramData\Anaconda3: # _license 1.1 py36_1 alabaster 0.7.10 py36_0 anaconda custom py36_0 anaconda-client 1.6.3 py36_0 anaconda-navigator 1.6.3 py36_0 anaconda-project 0.6.0 py36_0 asn1crypto 0.22.0 py36_0 astroid 1.4.9 py36_0 astropy 2.0 np112py36_0 babel 2.4.0 py36_0 backports 1.0 py36_0 beautifulsoup4 4.6.0 py36_0 bitarray 0.8.1 py36_1 bkcharts 0.2 py36_0 blaze 0.10.1 py36_0 bleach 1.5.0 py36_0 bokeh 0.12.6 py36_0 boto 2.47.0 py36_0 bottleneck 1.2.1 np112py36_0 bzip2 1.0.6 vc14_3 [vc14] cffi 1.10.0 py36_0 chardet 3.0.4 py36_0 click 6.7 py36_0 cloudpickle 0.2.2 py36_0 clyent 1.2.2 py36_0 colorama 0.3.9 py36_0 comtypes 1.1.2 py36_0 conda 4.3.22 py36_0 conda-env 2.6.0 0 console_shortcut 0.1.1 py36_1 contextlib2 0.5.5 py36_0 cryptography 1.8.1 py36_0 curl 7.52.1 vc14_0 [vc14] cycler 0.10.0 py36_0 cython 0.25.2 py36_0 cytoolz 0.8.2 py36_0 dask 0.15.0 py36_0 datashape 0.5.4 py36_0 decorator 4.0.11 py36_0 distributed 1.17.1 py36_0 docutils 0.13.1 py36_0 entrypoints 0.2.3 py36_0 et_xmlfile 1.0.1 py36_0 fastcache 1.0.2 py36_1 flask 0.12.2 py36_0 flask-cors 3.0.2 py36_0 freetype 2.5.5 vc14_2 [vc14] get_terminal_size 1.0.0 py36_0 gevent 1.2.2 py36_0 greenlet 0.4.12 py36_0 h5py 2.7.0 np112py36_0 hdf5 1.8.15.1 vc14_4 [vc14] heapdict 1.0.0 py36_1 html5lib 0.999 py36_0 icu 57.1 vc14_0 [vc14] idna 2.5 py36_0 imagesize 0.7.1 py36_0 ipykernel 4.6.1 py36_0 ipython 6.1.0 py36_0 ipython_genutils 0.2.0 py36_0 ipywidgets 6.0.0 py36_0 isort 4.2.15 py36_0 itsdangerous 0.24 py36_0 jdcal 1.3 py36_0 jedi 0.10.2 py36_2 jinja2 2.9.6 py36_0 jpeg 9b vc14_0 [vc14] jsonschema 2.6.0 py36_0 jupyter 1.0.0 py36_3 jupyter_client 5.1.0 py36_0 jupyter_console 5.1.0 py36_0 jupyter_core 4.3.0 py36_0 lazy-object-proxy 1.3.1 py36_0 libpng 1.6.27 vc14_0 [vc14] libtiff 4.0.6 vc14_3 [vc14] llvmlite 0.18.0 py36_0 locket 0.2.0 py36_1 lxml 3.8.0 py36_0 markupsafe 0.23 py36_2 matplotlib 2.0.2 np112py36_0 menuinst 1.4.7 py36_0 mistune 0.7.4 py36_0 mkl 2017.0.3 0 mkl-service 1.1.2 py36_3 mpmath 0.19 py36_1 msgpack-python 0.4.8 py36_0 multipledispatch 0.4.9 py36_0 navigator-updater 0.1.0 py36_0 nbconvert 5.2.1 py36_0 nbformat 4.3.0 py36_0 networkx 1.11 py36_0 nltk 3.2.4 py36_0 nose 1.3.7 py36_1 notebook 5.0.0 py36_0 numba 0.33.0 np112py36_0 numexpr 2.6.2 np112py36_0 numpy 1.12.1 py36_0 numpydoc 0.6.0 py36_0 odo 0.5.0 py36_1 olefile 0.44 py36_0 openpyxl 2.4.7 py36_0 openssl 1.0.2l vc14_0 [vc14] packaging 16.8 py36_0 pandas 0.20.2 np112py36_0 pandocfilters 1.4.1 py36_0 partd 0.3.8 py36_0 path.py 10.3.1 py36_0 pathlib2 2.2.1 py36_0 patsy 0.4.1 py36_0 pep8 1.7.0 py36_0 pickleshare 0.7.4 py36_0 pillow 4.2.1 py36_0 pip 9.0.1 py36_1 ply 3.10 py36_0 prompt_toolkit 1.0.14 py36_0 psutil 5.2.2 py36_0 py 1.4.34 py36_0 pycosat 0.6.2 py36_0 pycparser 2.17 py36_0 pycrypto 2.6.1 py36_6 pycurl 7.43.0 py36_2 pyflakes 1.5.0 py36_0 pygments 2.2.0 py36_0 pyilper 1.5.0 py36_0 bug400 pylint 1.6.4 py36_1 pyodbc 4.0.17 py36_0 pyopenssl 17.0.0 py36_0 pyparsing 2.1.4 py36_0 pyqt 5.6.0 py36_2 pyserial 2.7 py36_0 pytables 3.2.2 np112py36_4 pytest 3.1.2 py36_0 python 3.6.1 2 python-dateutil 2.6.0 py36_0 pytz 2017.2 py36_0 pywavelets 0.5.2 np112py36_0 pywin32 220 py36_2 pyyaml 3.12 py36_0 pyzmq 16.0.2 py36_0 qt 5.6.2 vc14_5 [vc14] qtawesome 0.4.4 py36_0 qtconsole 4.3.0 py36_0 qtpy 1.2.1 py36_0 requests 2.14.2 py36_0 rope 0.9.4 py36_1 ruamel_yaml 0.11.14 py36_1 scikit-image 0.13.0 np112py36_0 scikit-learn 0.18.2 np112py36_0 scipy 0.19.1 np112py36_0 seaborn 0.7.1 py36_0 setuptools 27.2.0 py36_1 simplegeneric 0.8.1 py36_1 singledispatch 3.4.0.3 py36_0 sip 4.18 py36_0 six 1.10.0 py36_0 snowballstemmer 1.2.1 py36_0 sortedcollections 0.5.3 py36_0 sortedcontainers 1.5.7 py36_0 sphinx 1.6.2 py36_0 sphinxcontrib 1.0 py36_0 sphinxcontrib-websupport 1.0.1 py36_0 spyder 3.1.4 py36_0 sqlalchemy 1.1.11 py36_0 statsmodels 0.8.0 np112py36_0 sympy 1.1 py36_0 tblib 1.3.2 py36_0 testpath 0.3.1 py36_0 tk 8.5.18 vc14_0 [vc14] toolz 0.8.2 py36_0 tornado 4.5.1 py36_0 traitlets 4.3.2 py36_0 unicodecsv 0.14.1 py36_0 vs2015_runtime 14.0.25420 0 wcwidth 0.1.7 py36_0 werkzeug 0.12.2 py36_0 wheel 0.29.0 py36_0 widgetsnbextension 2.0.0 py36_0 win_unicode_console 0.5 py36_0 wrapt 1.10.10 py36_0 xlrd 1.0.0 py36_0 xlsxwriter 0.9.6 py36_0 xlwings 0.10.4 py36_0 xlwt 1.2.0 py36_0 zict 0.1.2 py36_0 zlib 1.2.8 vc14_3 [vc14] (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer> (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer> (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer> (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer> (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer>pyilper Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\pyilper-script.py", line 4, in <module> import pyilper File "C:\ProgramData\Anaconda3\lib\site-packages\pyilper\__init__.py", line 1, in <module> from .pyilpermain import main File "C:\ProgramData\Anaconda3\lib\site-packages\pyilper\pyilpermain.py", line 136, in <module> from PyQt5 import QtCore, QtGui, QtWidgets ImportError: DLL load failed: The specified procedure could not be found. David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-13-2017, 04:54 PM
Post: #2
|
|||
|
|||
RE: pyILPer can't load DLL
Did you install Miniconda first?
I see that you have an Anaconda3 folder in ProgramData. I do not, so maybe that's a clue. Dave |
|||
07-13-2017, 05:34 PM
(This post was last modified: 07-13-2017 05:41 PM by dingebre.)
Post: #3
|
|||
|
|||
RE: pyILPer can't load DLL
(07-13-2017 04:54 PM)Dave Frederickson Wrote: Did you install Miniconda first? That is a clue, maybe. I thought that Miniconda is supposed to be just a minimal Anaconda installation to save space, so I just installed the full Anaconda. But, it's certainly something to try. Thanks Dave. David (P.S. Thanks, too for your "HP" parts on Shapeways) David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-13-2017, 08:02 PM
Post: #4
|
|||
|
|||
RE: pyILPer can't load DLL
Please try to run pyilper from the ANACONDA command prompt. You should find this entry in the
Windows start menu. This should set the proper environment to call ANACONDA applications. Regards Joachim |
|||
07-13-2017, 08:11 PM
Post: #5
|
|||
|
|||
RE: pyILPer can't load DLL
(07-13-2017 08:02 PM)jsi Wrote: Please try to run pyilper from the ANACONDA command prompt. You should find this entry in the Thank you Joachim. That's what I did. From the Anaconda command window, I get the following error. It seems to crash when trying to set up the QtGUI and Qtwidgets. (C:\ProgramData\Anaconda3) D:\Users\David\Documents\pyILPer>pyilper Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\pyilper-script.py", line 4, in <module> import pyilper File "C:\ProgramData\Anaconda3\lib\site-packages\pyilper\__init__.py", line 1, in <module> from .pyilpermain import main File "C:\ProgramData\Anaconda3\lib\site-packages\pyilper\pyilpermain.py", line 136, in <module> from PyQt5 import QtCore, QtGui, QtWidgets ImportError: DLL load failed: The specified procedure could not be found. David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-14-2017, 05:26 PM
Post: #6
|
|||
|
|||
RE: pyILPer can't load DLL
So, I've had a go at uninstalling and re-installing Anaconda both for "all" users and just for me, I also did it unchecking and checking the box to allow the installer to modify the system PATH and verified that the library path where the PyQt5 dll's are located is in the PATH.
I verified that PyQt5 is in fact installed (it's in the list) but it still crashes in the pyilpermain.py file at line 136 which is: "from PyQt5 import QtCore, QtGui, QtWidgets" I highly doubt it is the fault of pyILPer, but something in my installation/configuration. I've searched the Anaconda boards but have not found anything that has helped. Anyone have any ideas? David David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-14-2017, 10:58 PM
Post: #7
|
|||
|
|||
RE: pyILPer can't load DLL | |||
07-15-2017, 04:24 AM
Post: #8
|
|||
|
|||
RE: pyILPer can't load DLL
(07-14-2017 10:58 PM)Dave Frederickson Wrote:(07-14-2017 05:26 PM)dingebre Wrote: Anyone have any ideas? Hi Dave, Yes, great suggestion. ILPer is installed and working great. I am more and more convinced that Anaconda/Miniconda have a configuration issue with my particular system, although I have nothing special or odd installed/running. I will pursue this on the Anaconda forums and I have just installed a plain Python package and will try to run pyILPer in that environment. I am simply very intrigued by the HP plotter emulation. Way back when, I had interfaced my HP41 with a Radio Shack 4 pen mini plotter that used a 4 inch wide paper roll. I loved it. I want to explore the plotter stuff now with my 71 and 41. I appreciate your ideas. David David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-15-2017, 05:31 AM
Post: #9
|
|||
|
|||
RE: pyILPer can't load DLL
You can check if it is an Anaconda-only problem with:
- Open an Anaconda prompt - Type "python". This starts the python interpreter. It should say: Python 3.6.1 ... Anaconda custom ... (xx-bit) ... - type: from PyQt5 import QtCore, QtGui, QtWidgets If this throws an error it is an issue of the Anaconda installation. Exit the interpreter with Ctrl-Z It is most likely a problem of missing or incompatible DLLs. Unfortunately not an Windows expert to give an advice how to check dependencies. I did a clean install of Anaconda (Python 3.6, 64bit) and pyILPEER on a Windows 10 64 bit system with no issues. Did you install a 32 bit version of Anaconda on a 64 bit Windows? This could cause trouble. Regards Joachim |
|||
07-15-2017, 03:25 PM
Post: #10
|
|||
|
|||
RE: pyILPer can't load DLL
(07-15-2017 05:31 AM)jsi Wrote: You can check if it is an Anaconda-only problem with: Thank you Joachim. I get the same error, procedure could not be found. It is a 64 bit Anaconda on Windows 10 Professional 64 bit. I noticed in your instructions, when you type "python" your installation information says "... Anaconda custom ..." I did not do a custom installation. What is custom about your installation? Thank you for your help David Here is the error: (C:\ProgramData\Anaconda3) D:\Users\David\Documents>python Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:25:24) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt5 import QtCore, QtGui, QtWidgets Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: DLL load failed: The specified procedure could not be found. >>> David David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
07-17-2017, 08:27 AM
Post: #11
|
|||
|
|||
RE: pyILPer can't load DLL
Hi,
your list of installed software (post #1) is the same as mine. The startup message of my python interpreter is: Code:
On stackoverflow there are recommendations to use the depends.exe utility (please google the link) to check for unresolved dll entries. You should start the utility in the Anaconda prompt and examine the file: (Anaconda path)\lib\site-packages\PyQt5\QtCore.pyd. Note: the message "... missing ... function ... in delay-load dependent module" indicates that this reference to a dll function is resolved at runtime. Most likely the application provides fall backs if the required function could not be found. This can not be checked by depends.exe. Regards Joachim |
|||
07-17-2017, 06:34 PM
Post: #12
|
|||
|
|||
RE: pyILPer can't load DLL
(07-17-2017 08:27 AM)jsi Wrote: Hi, Thank you for all your time and help Joachim. I have some positive progress to report. I did a basic Python 3.6 install without the Anaconda wrapper and I think it was able to install pyILPer and when typing in the line "from PyQt5 ..." that was giving me the error as you suggested I try in Anaconda, it seems to execute in the bare Python environment just fine. This leads me even further to the conclusion this is really an Anaconda configuration/installation error. I'll give that depends.exe a try, too, but I may just stick with what seems to be on a path that will work. I think I managed to "install" pyILPer, but I have not studied Python enough to actually know how to use the environment and use pyILPer, but when I get a little time to study Python, I think I'll be able to run everything there. Anaconda sure makes Python easier, I think, but I'll be happy to just run your excellent application! David David Ingebretsen Collision Forensics & Engineering, Inc. dingebre@CFandE.com http://www.CFandE.com http://Analoguerealities.com |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)