I tried various methods to solve this error. even downloaded the .whl file and then tried to run the command but every time it's the same error
Any help from anyone would be really helpful
Have a Look !!
The published wheel is broken and will be only installable on MacOS. Install from Git repository instead until the issue is fixed:
$ pip install git+https://github.com/nateshmbhat/pyttsx3#v2.84
Related
I'm trying to run a Django Application in an offline internal network environment.
I have a problem in the process of downloading requirements for this.
Currently, I'm installing Python packages using the 'setup.py install' command.
However, there is no setup.py file in the 'typing_extensions-4.0.1' package, so it's impossible to download the package. I want to ask for advice on how to solve it.
For your information, 'conda', 'pip' conmmands are not available.
In case you weren't aware, it is possible to use pip in an offline install too.
pip install --no-deps --no-index some-package.whl
you'll of course need to download the .whl file in some manner first, e.g.:
pip wheel --wheel-dir /tmp some-package==1.2.3
Hi Welcome to Stackoverflow,
this might be a little of the wall, looking at the repo https://github.com/python/typing/,
clone the repo to your computer git clone git#github.com:python/typing.git
take, `src/typing_extensions.py and copy it into your project
import and see if it works.
If you run into issues let me know and have a play around
I have been stuck on a module not found error of python3.
I have a VM on Microsoft Azure, a Centos 7. Then I installed python3 and pip3, and some packages I needed. But there’s one package that I just couldn’t find after I installed it
sudo pip3 install --user stockstats
But whenever i wanted to run a python script using this package, there’s
ModuleNotFoundError: No module named 'stockstats'
What I tried:
pip3 show stockstats
As I really want to see where it was installed. It shows nothing. What it is supposed to do is like this:
Name: openpyxl
Version: 3.0.7
Summary: A Python library to read/write Excel 2010 xlsx/xlsm files
Home-page: https://openpyxl.readthedocs.io
Author: See AUTHORS
Author-email: charlie.clark#clark-consulting.eu
License: MIT
Location: /usr/local/lib/python3.6/site-packages
…
Then I guess it might be something wrong with the installed path, so I uninstalled the package, and then did
sudo pip3 install stockstats --install-option="--prefix=/usr/local/lib"
(I am just guessing if openpyxl is installed there then stockstats should be there too, as python imported openpyxl successfully)
That didn’t work as well, the error still persists.
*I didn’t use any package manager other than pip3.
** some irregularities occurred when I was trying to use python3(see this post). It was resolved, but I am not sure if the error in this post is related to that.
Any help or hint would be appreciated ;)
Thanks all for the prompt reply.
After Guo Lei’s comment, I tried downloading the tar ball for this package and installing it myself without pip, which eventually told me what exactly happened: a module named int-date, required by stockstats, was not installed in the python library directory. After I installed it in the proper directory, the issue is resolved.
As Danila Vershinin and phd had pointed out, I really shouldn’t run pip as root, and that is the source of issue(curiously, however, that only one particular module required by stockstats is installed in /root/.local/lib/. All others are in the right place, maybe I added the prefix flag without remembering it...?)
Still, I am not sure, I ran pip using sudo because I received permission denied errors repeatedly — so should I use something like sudo --user? Or sth else?
This works for me.
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple stockstats
or
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip install stockstats
You can visit This website for Installing pip in centos 7 Pip Install In Centos 7
for maybe some errors in installing pip.
reinstall python.
check that the module name is correctly typed
install stockstats in pip like "pip install stockstats" (getten from pypi.com)
I'm trying to install TA-Lib module on my 3.6 Python, but i'm facing many problems. First of all, i already made sure that it's the x32 version. I have two versions of python installed, 2.7 and 3.6.
Here is what i tried:
pip install ta-lib
I got the error error: command 'cl.exe' failed: No such file or directory.
After that, i tried downloading it from here, but after running pip install TA_Lib-0.4.15-cp36-cp36m-win32.whl, i got the following error: requirement 'TA_Lib-0.4.15-cp36-cp36m-win32.whl' looks like a filename, but the file does not exist.
Did anyone else experience a similar problem or knows how to solve it? Thanks in advance
Try installing the cp38 wrapper (0.4.19) instead if cp39 doesn't work.
Worked for me.
I am using Anaconda 4.9.2 with Python 3.8.5, 64 bit version.
Download - TA_Lib‑0.4.19‑cp38‑cp38‑win_amd64.whl
Link : https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib
pip install TA_Lib‑0.4.19‑cp38‑cp38‑win_amd64.whl
Clone the GitHub repository and run setup.py.
$> https://github.com/mrjbq7/ta-lib
$> python setup.py install
Found this solution on a githib repo and it worked for me.
Download TA_Lib-0.4.10-cp27-cp27m-win_amd64.whl from http://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib.
And use command
pip install TA_Lib-0.4.10-cp27-cp27m-win_amd64.whl
I was using anaconda with Python 3.6 64 bit version.
Link to github repo : https://github.com/mrjbq7/ta-lib/issues/127
I am trying to install a lxml file but I am getting several errors. Most notable when I enter the command:
python lxml.py install
I get two error messages as shown in image
When I try addressing for that problem and manually type the command
python -m pip install lxml-3.6.0-cp35-cp35m-win32.whl
I am introduced to the error as shown in the image:
Would anyone have advice on how to work with this? I have this 1xm1-3.6. file manually installed but I feel that I am inexperienced on how to use that to be manually installed into the python directory. Any advice would be greatly appreciated.
So, the solution to my problem is as follows:
1- I installed mingw installation manager and downloaded the corresponding packages
2- Afterwards I ran python -m pip install lxml-3.6.0-cp35-cp35m-win32.whl which worked. Thanks to minGW.
3- I then ran python -m pip install pptx
and that was the solution to my problem. I hope this helped anyone who would have the following problems.
I am trying to instal a Python module called libpng. It's not in the Python Package index, so I have downloaded and unpacked the .7z file into the scripts folder and added the complete path to sys.path. I am trying to install with pip but getting the error 'could not find any downloads'. I have searched for a tutorial but can't find anything to help, I am quite new to programming. Could anyone point me in the right direction please.
I assume you OS is Ubuntu, then in terminal(Alt+Ctrl+T) run the following command:
sudo apt-get install libpng-dev