In our case, we were missing MSVCR100.DLL which belongs to the Microsoft Visual C 2010 SP1 Redistributable Package (圆4). In case importing one of the modules fail due to a DLL error, you can inspect if there are files missing by opening it with Dependency Walker. Visual Studio then gives an option to install the Visual C developer tools. This can be done from within Visual Studio by creating a new Visual C project. After installation of Visual Studio, you should install the Visual C tools. Moreover, it provides a nice IDE which can be used to work on Python projects. Visual Studio ships with a command line interface that can be used for building some of the Python packages. In order to compile some of the dependencies of Tribler, you will need Visual Studio 2015 which can be downloaded from here or here. Information about how to set path variable can be found here. If you forgot to add Python to your PATH during the setup, you need to add the C:\\Python27\\ and C:\\Python27\\Scripts directories to your PATH variable. The third-party libraries are located in C:\\Python27\\Lib\\site-packages. If you did not change the default installation location, Python should be located at C:\\Python27\\. If they are not working, check whether the PATH variables are correctly set. Also check whether pip is working by typing pip in the command line. The option to add Python to the PATH variable is unchecked by default! You can verify whether Python is installed correctly by typing python in the command line. During the setup, remember to install pip/setuptools and to add Python to the PATH variable to access Python from the command line. You should download the Windows x86-64 MSI Installer which is an executable. Python can be downloaded from the official Python website. This outputs whether your current installation is 32 or 64 bit. Python -c "import struct print( 8 * struct.calcsize('P'))"
0 Comments
Leave a Reply. |