Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I've downloaded Flask on my pc, then I'm disconnected, now I need to install Flask without internet connection. What else I need to install Flask offline and in which order should I install them?
You need to download all of flask's dependencies:
Werkzeug>=0.7
Jinja2>=2.4, which requires:
MarkupSafe
Babel>=0.8, which requires:
pytz
itsdangerous>=0.21
click >= 2.0
Install them in that order before you install Flask.
You can install the downloaded packages in several ways, the easiest is to use pip, which you then also need to download and install first if you don't already have it. Then you just do
pip install ThePackageFile-0.0.0.tgz
If you don't have pip installed on the target machine, you can expand the archive and then run the setup.py script:
tar xvzf ThePackageFile-0.0.0.tgz
# .. some output
python ThePackageFile/setup.py install
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I created a small Python project using a project template. Now I would like to configure the project to be locally installable.
When I run the command:
$ python3.8 -m pip install fdroid_build_checker
I get the following error:
ERROR: Could not find a version that satisfies the requirement fdroid_build_checker (from versions: none)
ERROR: No matching distribution found for fdroid_build_checker
A future step would be to configure the project to be published as a small command line tool.
Your command is searching for the package in PyPi, which won't work because you haven't published the package there.
To install a local package, you should be able to just run pip install path_containing_fdroid_build_checker/froid_buildchecker
You'll have to make sure that your package contains a setup.py file (1) in order for pip to build a wheel and install it successfully.
See https://stackoverflow.com/a/41537134/2741222
1 - https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm trying to install Flask-SQLAlchemy==2.3.2 with Python 3.5.4 comand: "pip install -r Flask-SQLAlchemy==2.3.2" but the console show me this error:
*DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'Flask-SQLAlchemy==2.3.2'*
Thanks!! :)
You do not have to put “-r" in the command and then it will work perfectly.
By the way try upgrading Python to 3.8 or 3.9 if possible as it is out of support.
Thanks
pip3 install Flask-SQLAlchemy==2.3.2
try this
The -r option you've passed on in the command means 'Install from the given requirements file.'
Since you're not installing packages from a file, remove the -r option and run the command.
pip install Flask-SQLAlchemy==2.3.2
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I do pip install pygame and it says that I have it installed, but for python 2.7 so I do pip3 install pygame and it doesn't work, instead it gives some a bunch of errors. If you have an answer please help!
When installing it I would make sure you are first running python 3 in your terminal or command line before putting in your install command. I know there is a dev version out.
pip install pygame==2.0.0.dev6
If you're on mac you might try pip3 instead of just pip.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Why cannot install by input "pip install xxxx"in cmd,
only can install by input "python -m pip install xxxx"?
//problem solved , but dont know why
example.png
You can use pip install directly after adding C:\Program Files\Python37\Scripts to the environment PATH variable in windows.
Note: The path C:\Program Files\Python37\Scripts is where pip.exe is installed or present on your computer based on Pythong version.
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 8 years ago.
Improve this question
I'm trying to add MoneyField to my Django App using Django-Money.
According to the requirements, I need to install py-moneyed v0.4 or later.
I checked py-moneyed but it doesn't mention how to install py-moneyed?
Can someone help me to install py-moneyed and Django-Money on my environment ?
Is there a pip or easy_install package that will do this?
Try running:
pip install py-moneyed
or
easy_install py-moneyed
If pip and easy_install do not work, download the source for py-moneyed from their GitHub by clicking on the 'Download Zip' button on the right side of the website.
Once you have downloaded the source, run setup.py inside the folder with this command:
python setup.py install
This will install the module. For more information see Python's Docs on Installing Python Modules.