Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 days ago.
Improve this question
I am trying to install Python modules as suggested in this web scraping project on GitHub
GitHub-rpscrape
https://github.com/joenano/rpscrape
I've never worked with Python before so don't know what is going on. Initally I though my installation was in the wrong place being in AppData folder (dont ask me why), so reinstalled it to programFiles, but still facing the same issue.
When I try and run the first command in the ReadMe.md file:
~$ pip3 install requests tomli orjson aiohttp lxml
I get the following;
SyntaxError: invalid syntax
>>> ~$ pip3 install requests tomli orjson aiohttp lxml
File "<stdin>", line 1
~$ pip3 install requests tomli orjson aiohttp lxml
^
SyntaxError: invalid syntax
I have ensured I have PIP installed but my lack of Python knowledge leaves me clueless as to why it doesn't like $.
If I try removing ~$ then it doeesn't like 'install'. Invalid Syntax!
And I am assuming I am supposed to run these commands in Python, and not Windows CMD? Although both dont like ~$.
Any help appreciated at this point. Thanks
TIA
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I installed pywhatkit, and it's stored along with other packages in my python3.8 file. However, I am not able to import it to VS code or any other IDEs. I tried installing tkinter. But I facing the same issue again. What should I do ?
Sometimes VS Code does this. You should install a library, after that just restart VS Code and the problem should be solved.
However, if the problem still occurs, it will be due to the Python version.
You are using Python 3, the issue is most likely that when you installed pywhatkit and tkinter you used the pip install library command, which will only install them for Python 2. To install the libraries for Python 3 just use the pip3 install library command in place of pip.
Make sure you have selected the right python interpreter. The Status Bar always shows the current interpreter:
Inspect whether you can find the packages you want to import in this environment.
Inspect where the packages you have installed through pip: pip show xxx.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
Improve this question
I was trying to install a virtual environment by the command:
pip install virtualenv
and I get:
Fatal error in launcher: Unable to create process using '"c:\program files\python37\python.exe" "C:\Program Files\Python37\Scripts\pip.exe" install virtualenv': The system cannot find the file specified.
I would like to hear if someone could help me.
This should work
python -m pip install virtualenv
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 months ago.
Improve this question
I installed Camelot module for python 3.7 on computer without internet connection, installed dependencies (tkinter & ghostscript).
When I try "import camelot" in jupyter notebook I get error "no module named cv2".
I can't find cv2 module link to download it separately.
How can I solve this problem?
This got rid of the error for me.
pip install camelot-py[cv]
I'm using a Mac with Apple Silicon and the camelot-py[cv] method didn't work. I installed opencv separately and everything has been working fine so far.
pip install opencv-python
install comelot-py
python -m pip install camelot-py
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I want to install matplotlib on my new mac but am unable to because six is a "distutils installed project", what does this mean? I typed the following:
sudo -H python -m pip install -U matplotlib
which first throws all the usual jargon of "caching this; downloading that" And then, BOOM there it is; the error:
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
In order to understand the error you have here, you'll need to understand what distutils are; They, in short, are ways to distribute and install Python extensions and packages. You can learn more about them here. six is a way to wrap differences between Python 2 and 3.
That being said you can simply add --ignore-installed to your parameters like the following.
sudo -H python -m pip install -U matplotlib --ignore-installed
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Improve this question
I am using Ubuntu and not able to install purl packages. I use pip and the github unstable version to install, but none works and it says permission denied.
How do I install purl package from Pypi. I need help.
Also, how are the different ways of installing packages like these other than apt-get and pip?
For installing system-wide packages, you need root rights, so try sudo pip install purl. You could also use virtualenv so you don't need to be root:
$ virtualenv venv
$ . venv/bin/activate
(venv)$ pip install purl
There's no purl on Ubuntu official repository, so you can install it by pip, using sudo command:
sudo pip install purl