I am having trouble with installing pysqlite3-binary with pip. I have a django simple app (project under a virtual environment) that makes an API connection and I had it deployed on Azure. I really had to move the project from the path it was on, so I did it, maybe not the way I should have, just manually moved it to the new directory. I do not really know if that would really be a possible cause (the new path is in the same user as before, I am using windows), but I think it’s important to mention.
Any help would be greatly appreciated
Expected to work just as before. Originally I didn’t get any error. Also, a coworker tried to made the installation and it worked for him.
In order to deploy it, apparently the Linux server of Azure needs that I import pysqlite3-binary, but when I try to run pip install pysqlite3-binary I get an error that I did not have before. it says:
ERROR: Could not find a version that satisfies the requirement pysqlite3-binary (from versions: none)
ERROR: No matching distribution found for pysqlite3-binary
Also, when I try to run only pip install pysqlite3 I get:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pysqlite3
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
After I ran pip install –upgrade setuptools wheel I get
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pysqlite3
Running setup.py clean for pysqlite3
Failed to build pysqlite3