![]() ![]() Libpython3-stdlib libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib Libmpdec2 libnetfilter-conntrack3 libnfnetlink0 libnftables0 libnftnl11 libpython3-dev Gir1.2-glib-2.0 iptables libexpat1-dev libgirepository-1.0-1 libip4tc0 libip6tc0 libiptc0 When I enter the container as root and as it to apt remove python3.7, I’m told that The following packages were automatically installed and are no longer required: It’s just that the docker container’s got two versions of python3. I think that’s what I’m doing, by doing everything inside the docker container. Then I use pip3 to install a few things that aren’t packaged for Conda.īuild one virtual environment for your system and ensure that that’s what you use in all situations. When I build the image for that container, I install Conda first, and every package that can be conda-installed. ![]() All my code runs in the Docker container. If you’re building everything on the Conda packages, then you probably want to create your container using that as well. Do you know?Īdding docker to the mix does add another level of complexity. I’ve looked around online and can’t find anything else that says how to tell Apache which Python to use. Which doesn’t even say to look in /usr/bin, the place Apache is finding Python 3.7. In my nf file I’ve got the following line: WSGIDaemonProcess www-data python-path=/mnt/django:/opt/conda/lib/python3.8/site-packages/ Please carefully study the documentation linked above for further help. * The Python version is: Python3.7 from "/usr/bin/python3"Īnd make sure that they are the versions you expect. We have compiled some common reasons and troubleshooting tips at: ![]() Many reasons, often due to issues with your setup or how NumPy was IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! (I never actually tried to import NumPy directly, but I believe Pandas is trying to do so.) numpy: When I try to import it, in Debug Mode, the page shows the following NumPy error. That seems bad on its face, but I would ignore it, if it weren’t for the fact that I think it’s preventing me from importing Pandas. With this template: The Python version is: I know that because when I load this view: def write_python_version ( request ): I know that because when I run python3 manage.py shell, I can do this: In : import sys ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |