简体   繁体   中英

Error installing Python module 'cx_freeze'

I am trying to install the cx_freeze module in order to convert my current code into a standalone application. When downloading cx_freeze, I am getting this issue.

running build_ext
building 'cx_Freeze.util' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++
Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

Is there anything I can do to work around installing this? I noticed some posts that say, you could install some wheels, but will that affect my project at all?

if You do not want to build cx_freeze, You may use precompiled binary wheel from this page: http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze . I think about that is easiest way to install cx_freeze on Windows machines.

Please download and install Microsoft Visual Studio C++ here then reboot your computer and try again!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM