flask: command not found - flask 0.12 [closed] - python

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 5 years ago.
Improve this question
I have just installed a fresh copy of Ubuntu 16.04 LTS, and installed flask using pip3 install flask. When I run pip3 list Flask 0.12 appears in the list.
However, when I attempt to run flask, I get the error flask: command not found.
I have also installed using pip and not pip3 but to no avail. Any suggestions?

Fixed by running python3 -m flask.

Windows:
pip install flask
MacOS:
sudo pip install flask
Raspberry Pi:
sudo apt-get install flask

Related

wine not found for python in kali [closed]

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 2 years ago.
Improve this question
When running a python script in Linux its throwing an error,
wine: cannot find '/root/.wine/drive_c/Python27/Scripts/pyinstaller.exe'
And installing wine from also fails.
OS: Kali Linux 2020
Python-version: 3.6
To install wine. We’ll first enable maltiarch, then update the system and finally install wine.
Follow the commands
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine:i386
sudo apt-get install wine-bin:i386
And that's all.
Verify by running wine --version .

How to install python library in VSCode and how to import them? [closed]

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 2 years ago.
Improve this question
How to install python library such as 'dash' which are not installed by default in Visual Studio Code.
Install Python extension provided by Microsoft, then add a python virtual environment as described in VS Code documentation :
python -m venv .venv
Select the virtual env (bottom left corner of VS Code) and open a terminal with VS Code. Make sure the script activate from the virtual env is executed (your terminal should append (.venv) notation) and import your library with pip install :
pip install dash

How to update python 2.7 to 3.5 on a freeNAS os [closed]

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 6 years ago.
Improve this question
I have tried pip, easy_install, pkg update, pkg install, and building from source and all have failed. All I want to do is be able to have python 3.5 run and I am getting desperate at this point.
Is your freeNAS server the kind that is built on Debian?
If so you can try:
sudo apt-get update
sudo apt-get install python3.5
See:
https://askubuntu.com/questions/682869/how-do-i-install-newer-python-versions-using-apt-get
If the above doesn't work, try posting here the output from these commands:
uname -a
cat /etc/issue
cat /proc/version

How do I install pip on arch linux? [closed]

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 8 years ago.
Improve this question
I untarred this: python-pip-1.5.6-2-any.pkg.tar.xz
tar -xf python-pip-1.5.6-2-any.pkg.tar.xz
and it made a usr folder
with subfolders bin, lib, and share
inside bin is pip, pip3, and pip3.4
How the heck am I supposed to run makepkg?
I don't know how to install this.
pacman -S python-pip should also work.
The current version in the repository is 1.5.6-2
NOTE: for python 2.7 you would need to install python2-pip instead of python-pip.
Does the instruction here work for you? https://pip.pypa.io/en/latest/installing.html
so basically:
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py

I am not able to install python purl package? [closed]

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

Categories

Resources