-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unable to build vmprof on Windows with Python 3.5.2 #92
Comments
vmprof is not working on win64 (as a 64bit application, it works fine under 32bit python). It might be a very shallow problem, but it was never ported nor tested, we should make it more clear on the website somewhere |
When do you plan to port vmprof to x86-64 arch in your roadmap? :) |
vmprof support has been added to the latest release of PyCharm 2016.2.1 and there are likely a lot of other PyCharm users on Windows who are having exactly this problem. |
I'm not a windows expert, but I would think by having a 32bit python you would do that |
If I understand you correctly, you are saying:
It seems likely that the Python devs. have gone to the trouble of offering a special version for Intel 64 architecture because they think there is some advantage in having this separate version. Your proposed solution asks the user to throw this advantage away. May I respectfully suggest that the people who want the faster 64 bit version of Python are interested in execution speed and so would be very interested in an installable code profiler. Is this related to #85? |
Yes, your understanding is correct. As far as python-dev is concerned, it's legit to install both versions. The difference is very simple - the x86_64 architecture lets you address more memory (so your programs can have a heap bigger than 4G) at a cost of larger pointers (which means your memory usage grows by a factor of up to 2, depending on your use case). Generally speaking, x86_64 should be faster with new registers and whatnot but in practice it never is because of the cache impact of larger pointers and clever tricks that let the processor optimize 32bit programs. |
I was able to install 32 bit version of python on my Windows computer without affecting the 64 bit version. Sadly, your solution did not work and the installation of vmprof in the 32 bit environment failed with exactly the same error as before. A complete log follows. It is worth looking at the paths employed during the installation process. Sometimes it is working in the 32 bit program folder (e.g.
|
Any improvements? |
@debnet. There is a |
Hello people.
Linkage failed when building vmprof on Windows with Python 3.5.2 x86-64 and Visual Studio Community 2015 with Python support.
Here the log:
Thank you. ;)
The text was updated successfully, but these errors were encountered: