Testing enhancement: Test `pip install`
See original GitHub issue@bittner , this is right up your alley so if you’ll feel like doing it, it’ll be cool.
It’ll be nice if after every release, or after every push to master, there will be separate tests that do pip install pysnooper
on all platforms and run the tests. This is to rule out any errors in the installation.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
vutils-testing - PyPI
This package provides a set of tools that help with writing tests. It helps with creating test data and types, mocking objects, patching,...
Read more >pip install - pip documentation v22.3.1
The install command has a --report option that will generate a JSON report of what pip has installed. In combination with the --dry-run...
Read more >Required packages missing when testing a Python project ...
Please run `pip install -r requirements.txt`. If the issue persists try again with --allow-missing. Resolution. First, make sure that you have installed your ......
Read more >test — Regression tests package for Python — Python 3.11.1 ...
The test package contains all regression tests for Python as well as the modules test.support and test.regrtest. test.support is used to enhance your...
Read more >Installation — QuTiP 4.7 Documentation
It is still possible to use pip to install QuTiP while using conda, ... To run the suite of tests scripts you must...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@enadol: This behavior is normal on any GNU/Linux system.
The error says, you - user
pi
- are not allowed to write in areas that require elevated privileges (read: administrator access, i.e. root). Note that this is fine, it makes it more difficult for attackers that manage to enter your Raspberry Pi via an unprivileged account to do harm to your machine.On Windows you may be used to work with an administrator-level user. This allows you to install programs anywhere, which makes your system insecure by default.
TL;DR - How install a Python package?
You have two options to install Python packages on GNU/Linux. As a super-user or in your userspace.
This will prompt you for your user password (and requires the user to be in the
sudo
group). Ifsudo
is not installed usesu
and enter theroot
user’s password:Installing in your userspace requires no special privileges:
It makes packages available in
~/.local/lib/
and scripts in~/.local/bin/
(just in case this is not in yourPATH
by default).@enadol :