Содержание
- cannot install because Fatal Python error: initfsencoding: Unable to get the locale encoding #12571
- Comments
- Bug report
- ModuleNotFoundError: No module named ‘encodings’ #516
- Comments
- How i fixed it on Manjaro:
- Unable to embed python interpreter on *nix for python >3.7.3 #11439
- Comments
- Footer
- py3compile error — Unable to get the locale encoding
- 3 Answers 3
- 5.1: ImportError: No module named ‘encodings’ #324
- Comments
cannot install because Fatal Python error: initfsencoding: Unable to get the locale encoding #12571
Bug report
Bug summary
matplotlib-3.0.0 # python3 setup.py build
Fatal Python error: initfsencoding: Unable to get the locale encoding
File «/usr/lib/python2.7/encodings/init.py», line 123
raise CodecRegistryError,
^
SyntaxError: invalid syntax
Current thread 0x00007fbd592bd700 (most recent call first):
Aborted
Note: it’s not my fault it is trying to use python2. Even
alias python=python3; python3 setup.py build
fails in the same way.
The only reason I am even trying to install in python 3 is that you no longer support P2, and
matplotlib 2.2 is broken:
python histogram_demo.py
/usr/lib/python2.7/site-packages/matplotlib/axes/_axes.py:6462: UserWarning: The ‘normed’ kwarg is deprecated, and has been replaced by the ‘density’ kwarg.
warnings.warn(«The ‘normed’ kwarg is deprecated, and has been »
Traceback (most recent call last):
File «histogram_demo.py», line 10, in
n, bins, patches = plt.hist(x, 50, normed=1, facecolor=’green’, alpha=0.75)
File «/usr/lib/python2.7/site-packages/matplotlib/pyplot.py», line 3132, in hist
stacked=stacked, normed=normed, data=data, **kwargs)
File «/usr/lib/python2.7/site-packages/matplotlib/init.py», line 1855, in inner
return func(ax, *args, **kwargs)
File «/usr/lib/python2.7/site-packages/matplotlib/axes/_axes.py», line 6606, in hist
color=c, **)
File «/usr/lib/python2.7/site-packages/matplotlib/init.py», line 1855, in inner
return func(ax, *args, **kwargs)
File «/usr/lib/python2.7/site-packages/matplotlib/axes/_axes.py», line 2233, in bar
np.atleast_1d(x), height, width, y, linewidth)
File «/usr/lib/python2.7/site-packages/numpy/lib/stride_tricks.py», line 119, in broadcast_arrays
zip(args, shapes, strides)]
File «/usr/lib/python2.7/site-packages/numpy/lib/stride_tricks.py», line 32, in as_strided
array.dtype = x.dtype
TypeError: Cannot change data-type for object array.
Code for reproduction
Actual outcome
Expected outcome
Matplotlib version
- Operating system:
linux - Matplotlib version:
3.0.0 - Matplotlib backend ( print(matplotlib.get_backend()) ):
- Python version:
3.7.0 - Jupyter version (if applicable):
- Other libraries:
The text was updated successfully, but these errors were encountered:
Источник
ModuleNotFoundError: No module named ‘encodings’ #516
I keep getting: ModuleNotFoundError: No module named ‘encodings’ in the unit error logs when trying to add new configuration.
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named ‘encodings’
sudo curl -X PUT —data-binary @unit.config —unix-socket /var/run/control.unit.sock http://localhost/config
unit.config
The text was updated successfully, but these errors were encountered:
Issue is present in python 3.7, not in python 3.6
Hello,
Please check your venv has modules for python3.7. Most likely it was created for python3.6:
I also hav the same issue and I do not understand how to run unit with django. Python 3.9. unit 1.25.0
oops. it’s my mistake.
There was no access from unit process to the path of venv.conf
But the log is very unformative and it is not clear what you need .
@RiderALT could you please share the details. It is very common error and would be good to let other people to know more about the reason and the way how to avoid it.
this code in src/python/nxt_python.c:nxt_python_start() check access to venv.conf
if there is no access, then pep405 mode is not enabled.
if pep405 is false, unit exports PYTHONHOME environment variable and python3.9 fall with the ‘encodings’ error.
If you add an entry to the log that there is no access to venv.conf file in home path and pep405 is not activated — it would be much easier and faster to find out the causes of fall.
@RiderALT Thanks for the explanation.
@RiderALT, can You please explain more detailed according to described situation in post? What do You need to do with PYTHONHOME to avoid Unit error? Maybe something else? I’m facing the same problem, but can do nothing with it unfortunately even having solution 🙁
@comradeFreeman use gdb to find. I am moved from unit to another solution for a reasons not related to errors in unit.
@comradeFreeman No need to set PYTHONHOME environment variable, instead setup virtual environment path via home option in your application configuration.
@RiderALT If your reasons are related to some functionality missing in Unit or something is better in some other product, then it would be nice if you can share these reasons. Thanks.
@VBart configuration scheme without files in /etc and not obvious rpm packaging scheme for applications — first reason. #501 — another one.
And really, i spent a ton of time to search for the reason not to start the Python application — logs are not very informative in my case with python.
But unit is built for ALT Linux https://packages.altlinux.org/en/sisyphus/srpms/unit/ and I look at its development.
Do you have any updates on that issue ? I am facing the exact same problem
@vgiannokostas
Please share the details of your environment:
- Exact OS, Unit version, installation method
- How to you start Unit?
- If you start it manually, please share the env output in same shell session.
- Application configuration.
- Exact error message(s), unit.log content
In short, you need to verify the Python version configured for application and used in virtual environment (should be the same), check the presence and access right for pyvenv.cfg file at the root of virtual environment, avoid Python-related environment variables when starting Unit.
How i fixed it on Manjaro:
I edited my systemd unit.service script and manually specified —user and —group parameters since I couldn’t get it working with the default values specified by unitd -h (in my case it asked for ‘nobody’ as user and user’s primary group as group).
Then I did the correct chown -R user:group . in my app folder
@mar0x Thank you for your reply. I hope my answers below can help you understand more
Unit installation method
I followed these instructions here
Источник
Unable to embed python interpreter on *nix for python >3.7.3 #11439
Program that I am trying to compile (copied unmodified from python.org):
Test this on a system with no existing systemwide installation of python3 at standard locations, e.g: vanilla CentOS6
The text was updated successfully, but these errors were encountered:
I have tried compiling directly from source (tag: v3.7.5) and that installation doesn’t face this problem.
If I move Py_Initialize() before Py_DecodeLocale() , then it works, but according to the documentation, it is not recommended.
I found that the conda forge builds didn’t suffer from this issue. Turns out it is a single line in the recipe which is creating this problem. Looks like the prefix detection in binary files was turned off by accident:
AnacondaRecipes/python-feedstock@54df219#diff-e178b687b10a71a3348107ae3154e44cR75
Has this been fixed yet? I am running into the python embed problem shown in some of the linked issues using the current anaconda distribution.
It looks like this might affect Windows too. (PyO3/pyo3#1554)
I see that the line linked in #11439 (comment) has changed for the 3.9 branch of the feedstock repository, however testing with a 3.9 virtualenv I experience the same problem.
I’m running into the same issue on Windows as well. I’ve found that in some cases, setting the PYTHONHOME environment variable before using PyO3 to embed Python works, but this does not seem to be reliable:
© 2023 GitHub, Inc.
You can’t perform that action at this time.
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.
Источник
py3compile error — Unable to get the locale encoding
After reinstalled the python3.2, I got the error as below when call py3compile :
I know it may be the problem of missing environment variable. But I have no idea of how to fix it. I checked the env output and didn’t find any PYTHONXXX variables.
3 Answers 3
Mind that this is a late response, since someone has offered a bounty on this question. Also note that without reproducing this problem I can’t verify if any solution works. I will just suggest a solution here, not provide one.
I think you have to set two variables as outlined here, because py3compile needs to know where certain resources are. It looks them up via these PYTHONXXX variables.
should do the trick.
Try following (replace opkg with your favorite package manager)
Here on voidlinux fixed this error by in addition to setting PYTHONHOME and PYTHONPATH relinking the symbolic link for the default python in /usr/bin from python3.5 to python2.7 for which I knew it was the one I set the paths for and which the program that requires python requires.
Note that setting the paths for 3.5 did not fix the python3.5 Py_Initialize error here. Who said maintaining systems is easy.
Which is why we have 0install. If only it could be adopted by our open source world folks more. Currently we are struggling getting it to compile on voidlinux due to a libcurl OCaml issue. Most distributions have it in their package management repositories.
0install solves all these problems by fully encapsulating a program to have it run with the dependencies it requires without conflicting other version installed on the system or using 0install and saves package maintainers time because it eliminates those links inbetween the user system and the developers because the developers provide one 0install package for all systems directly (zero install is a cross platform package management system ).
Источник
5.1: ImportError: No module named ‘encodings’ #324
Linux Debian 9.2 (Stretch) and Alpine 5.6.2
Previous versions are running fine, but cx_Freeze v5.1 doesn’t work for me. The freeze phase looks good, but when starting the binary, it aborts with
Here the most simple example, it works fine in cx_Freeze v5.0.2:
# python3 -V Python 3.5.3 root@debian:
# pip3 install cx_Freeze==5.1 Collecting cx_Freeze==5.1 Installing collected packages: cx-Freeze Successfully installed cx-Freeze-5.1 root@debian:
# cxfreeze —silent hello.py Missing modules: ? __main__ imported from bdb, pdb ? _dummy_threading imported from dummy_threading ? _frozen_importlib imported from importlib, importlib.abc ? _frozen_importlib_external imported from importlib, importlib._bootstrap, importlib.abc ? _winapi imported from subprocess ? _winreg imported from platform ? ce imported from os ? java.lang imported from platform ? msvcrt imported from subprocess ? nt imported from ntpath, os, shutil ? org.python.core imported from copy ? os.path imported from os, pkgutil, py_compile, unittest, unittest.util ? vms_lib imported from platform ? winreg imported from mimetypes, platform This is not necessarily a problem — the modules may not be needed on this platform. Copying data from package collections. Copying data from package email. Copying data from package encodings. Copying data from package html. Copying data from package http. Copying data from package importlib. Copying data from package logging. Copying data from package pydoc_data. Copying data from package unittest. Copying data from package urllib. Copying data from package xml. root@debian:
# dist/hello Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named ‘encodings’ Current thread 0x00007fafa406cb40 (most recent call first): Aborted root@debian:
The text was updated successfully, but these errors were encountered:
Источник
Сообщение от _sg2
Блин… вот зачем выпимши за комп садиться-то?…
uWSGI running as root, you can use —uid/—gid/—chroot options
А если запускать с такими флагами, то:
unable to load configuration from project.sock
Добавлено через 1 час 20 минут
По хорошему тему бы перенести в раздел WSGI
Добавлено через 30 минут
Настройки конфигурации nginx:
Bash | ||
|
settings.py
Python | ||
|
Настройки uwsgi (я, правда, не знаю где хранить точно этот конфиг):
etc/uwsgi/apps-available/my_project.ini
Bash | ||
|
После команды:
Bash | ||
|
Когда перехожу по url с портом 8085 вижу 502 Bad Request. Uwsgi установлен в ВО, как у автора. На файл конфигурации nginx не ругается. Может, я что-то пропустил.
Да, он мне пытается сказать, чтобы я не запускал с правами root:
Bash | ||
|
Но с такими флагами он не запускается вообще.
Добавлено через 1 час 8 минут
etc/uwsgi/apps-available/my_project.ini
Bash | ||
|
Но эффекта вообще нет:
Bash | ||
|
output:
Bash | ||
|
с флагом —gid www-data:
output:
Bash | ||
|
When I was using Anaconda Python, this is the numpy error that I got (just fyi. I switched to PSF Python because I thought it would be simpler to solve the problem — boy was i wrong about that…):
Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] During handling of the above exception, another exception occurred:r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] Traceback (most recent call last):r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] File «C:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2/index/directory/WebAPI.wsgi», line 16, in r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] from WebAPI import app as applicationr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] File «c:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2WebAPI.py», line 10, in r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] from src.interactive_conditional_samples import interact_model #run_generation import generate_textr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] File «c:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2srcinteractive_conditional_samples.py», line 6, in r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] import numpy as npr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpyinit.py», line 140, in r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] from . import corer
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpycoreinit.py», line 48, in r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] raise ImportError(msg)r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] ImportError: r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] Importing the numpy C-extensions failed. This error can happen forr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] many reasons, often due to issues with your setup or how NumPy wasr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] installed.r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] We have compiled some common reasons and troubleshooting tips at:r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] https://numpy.org/devdocs/user/troubleshooting-importerror.htmlr
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] Please note and check the following:r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] * The Python version is: Python3.7 from «C:Apache24binhttpd.exe»r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] * The NumPy version is: «1.19.1»r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] and make sure that they are the versions you expect.r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] Please carefully study the documentation linked above for further help.r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.695613 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] Original error was: DLL load failed: The specified module could not be found.r
[Fri Jul 24 13:01:08.696611 2020] [wsgi:error] [pid 12672:tid 1376] [client 127.0.0.1:59089] r
[Fri Jul 24 13:01:08.718611 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] mod_wsgi (pid=12672): Failed to exec Python script file ‘C:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2/index/directory/WebAPI.wsgi’., referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.718611 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] mod_wsgi (pid=12672): Exception occurred processing WSGI script ‘C:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2/index/directory/WebAPI.wsgi’., referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Traceback (most recent call last):r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpycoreinit.py», line 22, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from . import multiarrayr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpycoremultiarray.py», line 12, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from . import overridesr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpycoreoverrides.py», line 7, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from numpy.core._multiarray_umath import (r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] ImportError: DLL load failed: The specified module could not be found.r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] During handling of the above exception, another exception occurred:r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Traceback (most recent call last):r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «C:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2/index/directory/WebAPI.wsgi», line 16, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from WebAPI import app as applicationr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2WebAPI.py», line 10, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from src.interactive_conditional_samples import interact_model #run_generation import generate_textr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:/Users/irfan/Python_coding_folder/ChatBots/GPT2Local/gpt-2srcinteractive_conditional_samples.py», line 6, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] import numpy as npr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpyinit.py», line 140, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] from . import corer, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] File «c:usersirfananaconda3envsgpt2apilibsite-packagesnumpycoreinit.py», line 48, in r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] raise ImportError(msg)r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] ImportError: r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Importing the numpy C-extensions failed. This error can happen forr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] many reasons, often due to issues with your setup or how NumPy wasr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] installed.r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] We have compiled some common reasons and troubleshooting tips at:r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] https://numpy.org/devdocs/user/troubleshooting-importerror.htmlr, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Please note and check the following:r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] * The Python version is: Python3.7 from «C:Apache24binhttpd.exe»r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] * The NumPy version is: «1.19.1»r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] and make sure that they are the versions you expect.r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Please carefully study the documentation linked above for further help.r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] Original error was: DLL load failed: The specified module could not be found.r, referer: http://127.0.0.1:5000/
[Fri Jul 24 13:01:08.719612 2020] [wsgi:error] [pid 12672:tid 1380] [client 127.0.0.1:59090] r, referer: http://127.0.0.1:5000/