You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran pip3 install fann2==1.0.7 --log log.txt in a venv.
I have swig in my path.
This was the log
2020-06-30T22:54:59,799 Created temporary directory: C:\Users\****\AppData\Local\Temp\pip-ephem-wheel-cache-hrb0c97x
2020-06-30T22:54:59,801 Created temporary directory: C:\Users\****\AppData\Local\Temp\pip-req-tracker-hn7a1dm9
2020-06-30T22:54:59,801 Created requirements tracker 'C:\\Users\\****\\AppData\\Local\\Temp\\pip-req-tracker-hn7a1dm9'
2020-06-30T22:54:59,802 Created temporary directory: C:\Users\****\AppData\Local\Temp\pip-install-n01moj40
2020-06-30T22:54:59,813 Collecting fann2==1.0.7
2020-06-30T22:54:59,814 1 location(s) to search for versions of fann2:
2020-06-30T22:54:59,814 * https://pypi.org/simple/fann2/
2020-06-30T22:54:59,815 Getting page https://pypi.org/simple/fann2/
2020-06-30T22:54:59,816 Found index url https://pypi.org/simple
2020-06-30T22:55:00,330 Analyzing links from page https://pypi.org/simple/fann2/
2020-06-30T22:55:00,341 Found link https://files.pythonhosted.org/packages/58/bd/9809dfa6865243fbe8e2d3e10a924327c99467c2d5c8f5bfa1dee8b7dabe/fann2-1.0.0.tar.gz#sha256=4b7e0ba43b1ec797246973b8a1bdc0cd1cbaf8050d1e3981bb43f51b13bebe50 (from https://pypi.org/simple/fann2/), version: 1.0.0
2020-06-30T22:55:00,341 Found link https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz#sha256=53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f (from https://pypi.org/simple/fann2/), version: 1.0.7
2020-06-30T22:55:00,341 Found link https://files.pythonhosted.org/packages/80/a1/fed455d25c34a62d4625254880f052502a49461a5dd1b80854387ae2b25f/fann2-1.1.2.tar.gz#sha256=cdca0a65ad48e08320672affe38c3dd4ea15e27821e5e1db9fa2b34299bdd41e (from https://pypi.org/simple/fann2/), version: 1.1.2
2020-06-30T22:55:00,342 Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
2020-06-30T22:55:00,342 Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
2020-06-30T22:55:00,342 Given no hashes to check 1 links for project 'fann2': discarding no candidates
2020-06-30T22:55:00,342 Using version 1.0.7 (newest of versions: 1.0.7)
2020-06-30T22:55:00,343 Created temporary directory: C:\Users\****\AppData\Local\Temp\pip-unpack-zgrtvyic
2020-06-30T22:55:00,345 Using cached https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz
2020-06-30T22:55:00,346 Downloading from URL https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz#sha256=53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f (from https://pypi.org/simple/fann2/)
2020-06-30T22:55:00,377 Added fann2==1.0.7 from https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz#sha256=53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f to build tracker 'C:\\Users\\****\\AppData\\Local\\Temp\\pip-req-tracker-hn7a1dm9'
2020-06-30T22:55:00,378 Running setup.py (path:C:\Users\****\AppData\Local\Temp\pip-install-n01moj40\fann2\setup.py) egg_info for package fann2
2020-06-30T22:55:00,378 Running command python setup.py egg_info
2020-06-30T22:55:01,349 running swig
2020-06-30T22:55:01,359 running egg_info
2020-06-30T22:55:01,359 creating pip-egg-info\fann2.egg-info
2020-06-30T22:55:01,360 writing pip-egg-info\fann2.egg-info\PKG-INFO
2020-06-30T22:55:01,361 writing dependency_links to pip-egg-info\fann2.egg-info\dependency_links.txt
2020-06-30T22:55:01,364 writing top-level names to pip-egg-info\fann2.egg-info\top_level.txt
2020-06-30T22:55:01,364 writing manifest file 'pip-egg-info\fann2.egg-info\SOURCES.txt'
2020-06-30T22:55:01,392 reading manifest file 'pip-egg-info\fann2.egg-info\SOURCES.txt'
2020-06-30T22:55:01,393 reading manifest template 'MANIFEST.in'
2020-06-30T22:55:01,398 writing manifest file 'pip-egg-info\fann2.egg-info\SOURCES.txt'
2020-06-30T22:55:01,420 Source in c:\users\****\appdata\local\temp\pip-install-n01moj40\fann2 has version 1.0.7, which satisfies requirement fann2==1.0.7 from https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz#sha256=53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f
2020-06-30T22:55:01,420 Removed fann2==1.0.7 from https://files.pythonhosted.org/packages/a9/a3/af368a683a04850aa1bf2e097f17781eb26e7e7c269ddcecfcec5f2e05a3/fann2-1.0.7.tar.gz#sha256=53eca74a2c0a0dfcf2d8e449cf487603886dadeda343adab4c0f1b811734fb9f from build tracker 'C:\\Users\\****\\AppData\\Local\\Temp\\pip-req-tracker-hn7a1dm9'
2020-06-30T22:55:01,499 Installing collected packages: fann2
2020-06-30T22:55:01,500 Created temporary directory: C:\Users\****\AppData\Local\Temp\pip-record-2vzujycc
2020-06-30T22:55:01,500 Running command 'd:\****\mycroft-core\.venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"'; __file__='"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\****\AppData\Local\Temp\pip-record-2vzujycc\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\****\mycroft-core\.venv\include\site\python3.6\fann2'
2020-06-30T22:55:01,760 running swig
2020-06-30T22:55:02,459 running install
2020-06-30T22:55:02,460 running build
2020-06-30T22:55:02,460 running build_py
2020-06-30T22:55:02,481 creating build
2020-06-30T22:55:02,482 creating build\lib.win-amd64-3.6
2020-06-30T22:55:02,482 creating build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,482 copying fann2\__init__.py -> build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,483 copying fann2\libfann.py -> build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,485 running egg_info
2020-06-30T22:55:02,492 writing fann2.egg-info\PKG-INFO
2020-06-30T22:55:02,493 writing dependency_links to fann2.egg-info\dependency_links.txt
2020-06-30T22:55:02,493 writing top-level names to fann2.egg-info\top_level.txt
2020-06-30T22:55:02,497 reading manifest file 'fann2.egg-info\SOURCES.txt'
2020-06-30T22:55:02,500 reading manifest template 'MANIFEST.in'
2020-06-30T22:55:02,503 writing manifest file 'fann2.egg-info\SOURCES.txt'
2020-06-30T22:55:02,504 copying fann2\fann2.i -> build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,505 copying fann2\fann2_wrap.cxx -> build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,507 copying fann2\fann_cpp_subclass.h -> build\lib.win-amd64-3.6\fann2
2020-06-30T22:55:02,510 running build_ext
2020-06-30T22:55:02,511 building 'fann2._libfann' extension
2020-06-30T22:55:04,209 creating build\temp.win-amd64-3.6
2020-06-30T22:55:04,209 creating build\temp.win-amd64-3.6\Release
2020-06-30T22:55:04,209 creating build\temp.win-amd64-3.6\Release\fann2
2020-06-30T22:55:04,210 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -DSWIG_COMPILE -I./include -I../include -Iinclude -Id:\****\mycroft-core\.venv\include -IC:\Users\****\AppData\Local\Programs\Python\Python36\include -IC:\Users\****\AppData\Local\Programs\Python\Python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /EHsc /Tpfann2/fann2_wrap.cxx /Fobuild\temp.win-amd64-3.6\Release\fann2/fann2_wrap.obj
2020-06-30T22:55:04,223 fann2_wrap.cxx
2020-06-30T22:55:04,656 ./include\fann_cpp.h(958): error C2131: expression did not evaluate to a constant
2020-06-30T22:55:04,656 ./include\fann_cpp.h(958): note: failure was caused by a read of a variable outside its lifetime
2020-06-30T22:55:04,657 ./include\fann_cpp.h(958): note: see usage of 'num_layers'
2020-06-30T22:55:04,657 ./include\fann_cpp.h(962): error C3863: array type 'unsigned int [num_layers]' is not assignable
2020-06-30T22:55:04,657 ./include\fann_cpp.h(1011): error C2131: expression did not evaluate to a constant
2020-06-30T22:55:04,657 ./include\fann_cpp.h(1011): note: failure was caused by a read of a variable outside its lifetime
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1011): note: see usage of 'num_layers'
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1015): error C3863: array type 'unsigned int [num_layers]' is not assignable
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1061): error C2131: expression did not evaluate to a constant
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1061): note: failure was caused by a read of a variable outside its lifetime
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1061): note: see usage of 'num_layers'
2020-06-30T22:55:04,658 ./include\fann_cpp.h(1065): error C3863: array type 'unsigned int [num_layers]' is not assignable
2020-06-30T22:55:04,707 fann2/fann2_wrap.cxx(9251): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,707 fann2/fann2_wrap.cxx(9260): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,707 fann2/fann2_wrap.cxx(9310): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,707 fann2/fann2_wrap.cxx(9319): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,709 fann2/fann2_wrap.cxx(9480): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,709 fann2/fann2_wrap.cxx(9552): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,710 fann2/fann2_wrap.cxx(9616): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,711 fann2/fann2_wrap.cxx(9680): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,712 fann2/fann2_wrap.cxx(9759): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,712 fann2/fann2_wrap.cxx(9785): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,713 fann2/fann2_wrap.cxx(9865): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,713 fann2/fann2_wrap.cxx(9891): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,714 fann2/fann2_wrap.cxx(9982): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,714 fann2/fann2_wrap.cxx(10059): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,716 fann2/fann2_wrap.cxx(10231): warning C4244: '=': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
2020-06-30T22:55:04,848 error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
2020-06-30T22:55:04,870 Cleaning up...
2020-06-30T22:55:04,871 Removing source in C:\Users\****\AppData\Local\Temp\pip-install-n01moj40\fann2
2020-06-30T22:55:04,887 Removed build tracker 'C:\\Users\\****\\AppData\\Local\\Temp\\pip-req-tracker-hn7a1dm9'
2020-06-30T22:55:04,888 ERROR: Command errored out with exit status 1: 'd:\****\mycroft-core\.venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"'; __file__='"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\****\AppData\Local\Temp\pip-record-2vzujycc\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\****\mycroft-core\.venv\include\site\python3.6\fann2' Check the logs for full command output.
2020-06-30T22:55:04,892 Exception information:
2020-06-30T22:55:04,892 Traceback (most recent call last):
2020-06-30T22:55:04,892 File "d:\****\mycroft-core\.venv\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in main
2020-06-30T22:55:04,892 status = self.run(options, args)
2020-06-30T22:55:04,892 File "d:\****\mycroft-core\.venv\lib\site-packages\pip\_internal\commands\install.py", line 407, in run
2020-06-30T22:55:04,892 use_user_site=options.use_user_site,
2020-06-30T22:55:04,892 File "d:\****\mycroft-core\.venv\lib\site-packages\pip\_internal\req\__init__.py", line 58, in install_given_reqs
2020-06-30T22:55:04,892 **kwargs
2020-06-30T22:55:04,892 File "d:\****\mycroft-core\.venv\lib\site-packages\pip\_internal\req\req_install.py", line 959, in install
2020-06-30T22:55:04,892 spinner=spinner,
2020-06-30T22:55:04,892 File "d:\****\mycroft-core\.venv\lib\site-packages\pip\_internal\utils\misc.py", line 931, in call_subprocess
2020-06-30T22:55:04,892 raise InstallationError(exc_msg)
2020-06-30T22:55:04,892 pip._internal.exceptions.InstallationError: Command errored out with exit status 1: 'd:\****\mycroft-core\.venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"'; __file__='"'"'C:\\Users\\****\\AppData\\Local\\Temp\\pip-install-n01moj40\\fann2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\****\AppData\Local\Temp\pip-record-2vzujycc\install-record.txt' --single-version-externally-managed --compile --install-headers 'd:\****\mycroft-core\.venv\include\site\python3.6\fann2' Check the logs for full command output.
2020-06-30T22:55:04,980 WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
2020-06-30T22:55:04,980 You should consider upgrading via the 'python -m pip install --upgrade pip' command.
The text was updated successfully, but these errors were encountered:
I ran
pip3 install fann2==1.0.7 --log log.txt
in a venv.I have swig in my path.
This was the log
The text was updated successfully, but these errors were encountered: