-
Notifications
You must be signed in to change notification settings - Fork 222
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
Cannot import Profile (DLL failed) #48
Comments
Thanks for the report. I can't test on Windows at the moment, but the pyinstrument_cext wheels are tested in CI on windows, so work in some cases, as far as I'm aware. Anything unusual about your machine/setup that might affect this?
…Sent from my phone
On 22 Aug 2018, at 04:14, Tjorriemorrie ***@***.***> wrote:
Getting following stacktrace running python2:
File "C:\xplanbase\version\99.99.999\src\py\xpt\resourceful\api\portfolio\modelling.py", line 571, in __call__
from pyinstrument import Profiler
File "C:\Python27\lib\site-packages\pyinstrument\__init__.py", line 1, in <module>
from pyinstrument.profiler import Profiler
File "C:\Python27\lib\site-packages\pyinstrument\profiler.py", line 8, in <module>
from pyinstrument_cext import setstatprofile
ImportError: DLL load failed: The specified module could not be found.
I have
pyinstrument==2.1.1
pyinstrument-cext==0.2.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
`python setup.py test` should do the trick
…Sent from my phone
On 23 Aug 2018, at 03:27, Tjorriemorrie ***@***.***> wrote:
It's setup for work, so many things going on ;)
I'll have to pull cest and try to debug it locally to find it then.
I don't know c unfortunately, how do I run the tests?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That works fine. I did however uninstall pyinstrument_cext and then ran |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting following stacktrace running python2:
I have
pyinstrument==2.1.1
pyinstrument-cext==0.2.0
The text was updated successfully, but these errors were encountered: