Page 1 of 1

Python Libraries

Published: October 29, 2020 - 10:17 PM
by elelay
Hello/Good evening,

Perhaps this wasn't the right forum for me to post this request, but perhaps other people have had the same problem and can help me.

After installing the console on a Windows Server 2019, I started developing the packages.
I installed Python 2.7 and the PyScripter IDE, and after resolving my "missing method calls" problem, I inevitably encountered other issues...

The scripts use libraries, which is perfectly normal.
However, not all of them are natively available with Python, so they need to be downloaded via python-pip.
Some didn't cause any problems, but this one (so far) did: netifaces

When trying to install it, here is part of the error message:

Code: Select all

  ERROR: Command errored out with exit status 1:
   command: 'c:\python27\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\adminely\\appdata\\local\\temp\\2\\pip-install-byhnjj\\netifaces\\setup.py'"'"'; __file__='"'"'c:\\users\\adminely\\appdata\\local\\temp\\2\\pip-install-byhnjj\\netifaces\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'c:\users\adminely\appdata\local\temp\2\pip-wheel-frrats'
       cwd: c:\users\adminely\appdata\local\temp\2\pip-install-byhnjj\netifaces\
  Complete output (5 lines):
  running bdist_wheel
  running build
  running build_ext
  building 'netifaces' extension
  error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
  ----------------------------------------
  ERROR: Failed building wheel for netifaces
The line that might be of interest is the following:

Code: Select all

  error: Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
Naturally, the proposed solution does not solve the problem.

Once again I apologize if this post doesn't belong here, but since wapt is developed primarily in Python, I thought I might be able to find some help.

Sincerely,