Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-20 Thread Chris Green via Python-list
Peter J. Holzer wrote: > [-- text/plain, encoding quoted-printable, charset: us-ascii, 32 lines --] > > On 2025-01-14 11:32:35 +, Chris Green via Python-list wrote: > > Use a virtual environment, what do I have to do then to make using > > my program (that uses tkintertable) 'transpar

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-17 Thread Peter J. Holzer via Python-list
On 2025-01-14 11:32:35 +, Chris Green via Python-list wrote: > Use a virtual environment, what do I have to do then to make using > my program (that uses tkintertable) 'transparent', i.e. I just > want to be able to run the program from the command prompt like > any other progra

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Left Right via Python-list
ual environment using pip or w/e the package wants to be installed with. Investigate and refine the dependencies I need (It's very common in the Python world to incorrectly specify dependencies, to require a lot of unnecessary dependencies, to depend on packages in the wrong way). And after I

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Thomas Passin via Python-list
Xubuntu for many years and acquired a whole lot of python packages installed with pip, as root. For the last couple of years I had to use the --break-system-packages option to get things installed. As far as I'm aware I never hit any dependency problems doing this. It's probably becaus

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Christian Buhtz via Python-list
example. Pipx is not intended to install Python packages that are not applications. Regrads, Christian -- https://mail.python.org/mailman/listinfo/python-list

Re: Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Mats Wichmann via Python-list
for many years and acquired a whole lot of python packages installed with pip, as root. For the last couple of years I had to use the --break-system-packages option to get things installed. As far as I'm aware I never hit any dependency problems doing this. It's probably because things I

Strategies for avoiding having to use --break-system-packages with pip

2025-01-14 Thread Chris Green via Python-list
packages installed with pip, as root. For the last couple of years I had to use the --break-system-packages option to get things installed. As far as I'm aware I never hit any dependency problems doing this. It's probably because things I installed with pip were mostly quite small, s

Re: Using pipx for packages as opposed to applications

2025-01-13 Thread Thomas Passin via Python-list
On 1/12/2025 7:11 AM, Chris Green via Python-list wrote: Stefan Ram wrote: Chris Green wrote or quoted: E.g. I want to install and use pksheet but, as it's not available from the Debian repositories, I'll have to install it from PyPi. I can't dig up any "pksheet" on PyPI. So, you got to

Re: Using pipx for packages as opposed to applications

2025-01-13 Thread Chris Green via Python-list
Stefan Ram wrote: > Chris Green wrote or quoted: > >E.g. I want to install and use pksheet but, as it's not available from > >the Debian repositories, I'll have to install it from PyPi. > > I can't dig up any "pksheet" on PyPI. So, you got to take > my earlier response like a rumor from a ra

Re: Using pipx for packages as opposed to applications

2025-01-12 Thread Left Right via Python-list
What would be the intended use? If this is for other Debian users, then why not make a Debian package? If it's for yourself, why do you need to automate it? To be fair, I don't see a point in tools like pipx. Have never used it, and cannot imagine a scenario where I'd want to. It seems like th

Using pipx for packages as opposed to applications

2025-01-11 Thread Chris Green via Python-list
Can one use pipx to wrap the process of creating an independent environment for a python package as opposed to a runnable application? E.g. I want to install and use pksheet but, as it's not available from the Debian repositories, I'll have to install it from PyPi. So I should put it in its own e

Re: No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-14 Thread Jacob Kruger via Python-list
Yup. Also checked out beeware - which also offers cross-platform compilation of same code - but, one minor issue there first time tried it out was working with additional/external modules, and, packaging resources. Plus, while it includes it's own form of LBC GUI interface - toga - the one

Re: No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-13 Thread Barry via Python-list
> On 13 Nov 2023, at 17:21, Jacob Kruger via Python-list > wrote: > > Had a look at the following bit of introduction to using python and flet to > build cross-platform flutter-based apps using same python code, and, while it > seems to work alright if tell it to run as under GUI here on wi

No current way to just compile flet code into truly native packages for smart phones, etc.?

2023-11-13 Thread Jacob Kruger via Python-list
Had a look at the following bit of introduction to using python and flet to build cross-platform flutter-based apps using same python code, and, while it seems to work alright if tell it to run as under GUI here on windows desktop, and, while can get it to fire up PWA version as well, that's no

Re: Error installing packages or upgrading pip

2023-05-20 Thread Mats Wichmann
ll requests I get this error which I could not find a solution for pip install requests Requirement already satisfied: requests in c:\users\uly\appdata\local\programs\python\python310\lib\site-packages\requests-2.30.0-py3.10.egg (2.30.0) WARNING: Retrying (Retry(total=4, connect=None, read=None,

Error installing packages or upgrading pip

2023-05-18 Thread Test Only
install requests Requirement already satisfied: requests in c:\users\uly\appdata\local\programs\python\python310\lib\site-packages\requests-2.30.0-py3.10.egg (2.30.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'Protocol

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Mike Dewhirst
On 13/04/2023 12:00 pm, Eryk Sun wrote: On 4/12/23, Mike Dewhirst wrote: Collecting psycopg2==2.9.3 x86 and x64 wheels are available for Python 3.11 if you can use Psycopg 2 version 2.9.5 or 2.9.6 instead of 2.9.3: https://pypi.org/project/psycopg2/2.9.5/#files https://pypi.org/project/psycop

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Eryk Sun
On 4/12/23, Mike Dewhirst wrote: > > Collecting psycopg2==2.9.3 x86 and x64 wheels are available for Python 3.11 if you can use Psycopg 2 version 2.9.5 or 2.9.6 instead of 2.9.3: https://pypi.org/project/psycopg2/2.9.5/#files https://pypi.org/project/psycopg2/2.9.6/#files -- https://mail.python

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread MRAB
-- 380.6/380.6 kB 6.0 MB/s eta 0:00:00   Preparing metadata (setup.py) ... done Collecting Pillow==9.1.1   Downloading Pillow-9.1.1.tar.gz (49.8 MB) 49.8/49.8 MB 4.5 MB/s eta 0:00:00   Preparing metadata (setup.py) ... done ... I

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Mike Dewhirst
:00:00   Preparing metadata (setup.py) ... done Collecting Pillow==9.1.1   Downloading Pillow-9.1.1.tar.gz (49.8 MB) 49.8/49.8 MB 4.5 MB/s eta 0:00:00   Preparing metadata (setup.py) ... done ... Installing collected packages: psycopg2, Pillow, ...

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Thomas Passin
On 4/12/2023 8:59 AM, Mike Dewhirst wrote: Sadly Windows is still in the dock. The jury is still out. Turns out the "without a hitch" was based on cached wheels. I'm going to start from scratch with new projects using Pythons 3.8, 3.10 and 3.11 and report back. Sorry for the length to come,

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Mike Dewhirst
ks Python itself is fine, but a lot of third-party packages are hard to obtain. So if you need numpy, for instance, or psycopg2, you might need to find an alternative source. I've noticed a big change in the last few years in that PyPi has many, many amd-64 packages than it used to i

Re: Christoph Gohlke and compiled packages

2023-04-12 Thread Mike Dewhirst
hanks Python itself is fine, but a lot of third-party packages are hard to obtain. So if you need numpy, for instance, or psycopg2, you might need to find an alternative source. I've noticed a big change in the last few years in that PyPi has many, many amd-64 packages than it used to in

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Michael Torrie
Windows compared to Linux, which is what Chris was probably referring to when he said Windows was a nightmare to support. Usually when a full version bump of python hits my distros, all the other packages that need to be rebuilt get rebuilt and install along with the new python package. Or often t

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Mats Wichmann
On 4/11/23 11:48, Oscar Benjamin wrote: On Tue, 11 Apr 2023 at 14:55, Mats Wichmann wrote: On 4/11/23 06:03, Roel Schroeven wrote: Op 11/04/2023 om 12:58 schreef Chris Angelico: Python itself is fine, but a lot of third-party packages are hard to obtain. So if you need numpy, for instance

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Oscar Benjamin
On Tue, 11 Apr 2023 at 14:55, Mats Wichmann wrote: > > On 4/11/23 06:03, Roel Schroeven wrote: > > Op 11/04/2023 om 12:58 schreef Chris Angelico: > > >> Python itself is fine, but a lot of third-party packages are hard to > >> obtain. So if you need numpy, for

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Mats Wichmann
On 4/11/23 06:03, Roel Schroeven wrote: Op 11/04/2023 om 12:58 schreef Chris Angelico: Python itself is fine, but a lot of third-party packages are hard to obtain. So if you need numpy, for instance, or psycopg2, you might need to find an alternative source. These days I use pip to install

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Thomas Passin
On 4/11/2023 6:58 AM, Chris Angelico wrote: On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote: What’s the problem now? Is it with python on windows? I use python on windows so I’d like to know. Thanks Python itself is fine, but a lot of third-party packages are hard to obtain. So if you

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Peter J. Holzer
r Linux For Linux there is a separate package psycopg2-binary on PyPI. That split happened a few years ago and I forgot why it was necessary. For the distributions I use (Debian and Ubuntu) both packages work (but for the source package I need to install the necessary development packages first).

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Chris Angelico
On Tue, 11 Apr 2023 at 21:55, Oscar Benjamin wrote: > > Both numpy and psycopg2 have binary wheels for Windows that can be pip > installed from PyPI. Ah good. It's been a long time since I've needed to care about Windows, so I'm a bit out of the loop. That's good news. While not at all detracting

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Roel Schroeven
Op 11/04/2023 om 12:58 schreef Chris Angelico: On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote: > > What’s the problem now? Is it with python on windows? I use python on windows so I’d like to know. Thanks > Python itself is fine, but a lot of third-party packages are hard to obta

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Oscar Benjamin
On Tue, 11 Apr 2023 at 12:01, Chris Angelico wrote: > > On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote: > > > > What’s the problem now? Is it with python on windows? I use python on > > windows so I’d like to know. Thanks > > > > Python itself is fine, b

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Chris Angelico
On Tue, 11 Apr 2023 at 20:15, Jim Schwartz wrote: > > What’s the problem now? Is it with python on windows? I use python on > windows so I’d like to know. Thanks > Python itself is fine, but a lot of third-party packages are hard to obtain. So if you need numpy, for instance, or p

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Jim Schwartz
What’s the problem now? Is it with python on windows? I use python on windows so I’d like to know. Thanks Sent from my iPhone > On Apr 11, 2023, at 2:24 AM, Chris Angelico wrote: > > On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote: >> >> It seems Christoph Gohlke has been cut adrift and

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Chris Angelico
On Tue, 11 Apr 2023 at 18:22, Mike Dewhirst wrote: > > On 11/04/2023 5:21 pm, Chris Angelico wrote: > >> My personal view? Windows is *really really really* hard to support, >> and ONE PERSON did a stellar job of supporting the platform for an >> incredibly long job. > > > I have to agree - but wh

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Mike Dewhirst
On 11/04/2023 5:21 pm, Chris Angelico wrote: On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote: It seems Christoph Gohlke has been cut adrift and his extremely valuable web page ... https://www.lfd.uci.edu/~gohlke/pythonlibs/ ... turned into an archive getting staler by the day. What does th

Re: Christoph Gohlke and compiled packages

2023-04-11 Thread Chris Angelico
On Tue, 11 Apr 2023 at 14:20, Mike Dewhirst wrote: > > It seems Christoph Gohlke has been cut adrift and his extremely valuable > web page ... > > https://www.lfd.uci.edu/~gohlke/pythonlibs/ > > ... turned into an archive getting staler by the day. > > What does the Python Software Foundation and

Christoph Gohlke and compiled packages

2023-04-10 Thread Mike Dewhirst
It seems Christoph Gohlke has been cut adrift and his extremely valuable web page ... https://www.lfd.uci.edu/~gohlke/pythonlibs/ ... turned into an archive getting staler by the day. What does the Python Software Foundation and the community think about this? Cheers Mike -- https://mail.pyt

Re: Panoptisch - A way to understand your project's dependencies and find malicious packages

2022-12-09 Thread Dan Kolis
I think it needs a built in viewer or at least a human readable output, or nobody will go through the trouble to use it. Other that that, maybe a pretty good idea, sure -- https://mail.python.org/mailman/listinfo/python-list

Re: Panoptisch - A way to understand your project's dependencies and find malicious packages

2022-12-08 Thread Axy via Python-list
On 08/12/2022 17:52, Aarnav Mahavir Bos wrote: Hello all, I would like to share Panoptisch, a FOSS(Free and Open Source Software) tool I've been working on. Hi there, I added your project to my watch list, keep on your work. A couple of points: First, I glanced at the code and in the very f

Panoptisch - A way to understand your project's dependencies and find malicious packages

2022-12-08 Thread Aarnav Mahavir Bos
Hello all, I would like to share Panoptisch, a FOSS(Free and Open Source Software) tool I've been working on. We all may have encountered the issue of not having a clear dependency tree or not being sure of the modules our dependencies and sub-dependencies are using. Some of us may have also hea

Re: What's tkinter doing in \Lib\site-packages\future\moves ?

2022-11-08 Thread DFS
On 11/7/2022 10:48 PM, DFS wrote: 3.9.13 Never mind. User error - I didn't install it in the first place. -- https://mail.python.org/mailman/listinfo/python-list

Re: What's tkinter doing in \Lib\site-packages\future\moves ?

2022-11-07 Thread Chris Angelico
On Tue, 8 Nov 2022 at 15:12, DFS wrote: > > 3.9.13 > My guess? Because you can "import tkinter" in Py3 but "import Tkinter" in Py2. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

What's tkinter doing in \Lib\site-packages\future\moves ?

2022-11-07 Thread DFS
3.9.13 -- https://mail.python.org/mailman/listinfo/python-list

Re: why I cannot to install packages?

2022-09-15 Thread Barry Scott
> On 15 Sep 2022, at 12:31, ⁨נתי שטרן⁩ <⁨nsh...@gmail.com⁩> wrote: > > [image: image.png] Images are stripped; please copy the text of the error you are seeing and post that. Barry > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/p

why I cannot to install packages?

2022-09-15 Thread נתי שטרן
[image: image.png] -- https://mail.python.org/mailman/listinfo/python-list

Re: venv and packages with entry points

2022-09-06 Thread Calvin Spealman
Each virtual environment has its own bin/ directory and when activated its bin/ is in your $PATH On Tue, Sep 6, 2022 at 1:45 PM wrote: > Hello, > > I try to get it onto my head how virtual environments (via venv) works > when I have packages with "entry points". >

venv and packages with entry points

2022-09-06 Thread c . buhtz
Hello, I try to get it onto my head how virtual environments (via venv) works when I have packages with "entry points". I can define such entry points in the setup.cfg like this (full example [1]): [options.entry_points] console_scripts = hyperorg = hyperorg.__main__:ma

Re: Fwd: Do projects exist to audit PyPI-hosted packages?

2022-05-06 Thread Mats Wichmann
On 5/6/22 09:24, Sam Ezeh wrote: > -- Forwarded message - > From: Sam Ezeh > Date: Fri, 6 May 2022, 15:29 > Subject: Re: Do projects exist to audit PyPI-hosted packages? > To: Skip Montanaro > > > I've had similar thoughts in the past. I don't

Re: Do projects exist to audit PyPI-hosted packages?

2022-05-06 Thread Skip Montanaro
to a particular package would be nice as well. Again, considering pynput, I hit Google up for "python packages similar to pynput" which led me here: https://www.libhunt.com/r/pynput I was unaware of its existence before. I have no idea how useful it might be for narrowly focused packages li

Fwd: Do projects exist to audit PyPI-hosted packages?

2022-05-06 Thread Sam Ezeh
-- Forwarded message - From: Sam Ezeh Date: Fri, 6 May 2022, 15:29 Subject: Re: Do projects exist to audit PyPI-hosted packages? To: Skip Montanaro I've had similar thoughts in the past. I don't know of anything but I wonder if repositiories for other languages

Do projects exist to audit PyPI-hosted packages?

2022-05-06 Thread Skip Montanaro
me thinking. If I'm curious about pynput, might other people be as well? What about other packages? I'm actually not worried about Python proper or vulnerabilities which have already been found <https://github.com/pypa/advisory-database>. PyPI currently advertises that it hosts over 373k

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-13 Thread Greg Ewing
On 13/11/21 7:23 pm, Abdur-Rahmaan Janhangeer wrote: os.getcwd is giving the path of site-packages and not the directory from which the command is run from. Something must be changing the working directory before getcwd is called. Once that happens there's no way I know of to find out wh

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-13 Thread Abdur-Rahmaan Janhangeer
Greetings, This is what I am trying to do: How to get the getcwd of the directory of where the command is run and not that of the file where the cli entrypoint is found. Having the user enter the absolute path as a cli argument does not sound nice. Kind Regards, Abdur-Rahmaan Janhangeer about

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-13 Thread Barry
> On 13 Nov 2021, at 06:26, Abdur-Rahmaan Janhangeer > wrote: > > Only thing is that os.getcwd is giving the path of site-packages and not > the directory from > which the command is run from. In which case the code is doing a os.chdir() before the call to os.getwd(). You

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-12 Thread Abdur-Rahmaan Janhangeer
Greetings, Well since sometimes i have this: https://github.com/shopyo/shopyo Old versions worked as we are using it for FlaskCon <https://github.com/flaskcon/traveller>, even newer versions until sometimes ago. shopyo has a copy of the project which is a flask app in site-packages. upon

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-12 Thread Greg Ewing
On 13/11/21 10:51 am, Abdur-Rahmaan Janhangeer wrote: ow do i get the path from which miaw the command is called from? What exactly do you mean by "called from"? If you want the user's working directory, os.getcwd() will give you that. If you want something else, you'll have to give us more d

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-12 Thread dn via Python-list
it prints the files and folders in > site-packages > > This is an analogy for a package i have. > > Well forgetting about the lines above, how do i get the path from > which miaw the command is called from? try: file_path = __file__ print( file_path ) and process

Re: Getting Directory of Command Line Entry Point For Packages

2021-11-12 Thread David L Neil via Python-list
it prints the files and folders in > site-packages > > This is an analogy for a package i have. > > Well forgetting about the lines above, how do i get the path from > which miaw the command is called from? try: file_path = __file__ print( file_path ) and proces

Getting Directory of Command Line Entry Point For Packages

2021-11-12 Thread Abdur-Rahmaan Janhangeer
Greetings list, Let's say i created a package named miaw miaw also has a cli command called miaw miaw prints files and folders in the directory it is called in except that when miaw is used, it prints the files and folders in site-packages This is an analogy for a package i have.

Re: packages discoverer

2021-07-17 Thread Cameron Simpson
On 18Jul2021 00:53, jak wrote: >Sometimes, wandering around the web, I find some example of python code >that uses some class or function that I don't know and that I would like >to try. I copy the code locally and when I try to run it, I find that >the package containing the class/function is not

packages discoverer

2021-07-17 Thread jak
Sometimes, wandering around the web, I find some example of python code that uses some class or function that I don't know and that I would like to try. I copy the code locally and when I try to run it, I find that the package containing the class/function is not installed on my pc, so I go back t

Re: Python language packages isn't working in Visual Studio Code

2021-05-03 Thread Joel Goldstick
On Mon, May 3, 2021 at 2:00 PM inhahe wrote: > > I don't think attaching images works on this kind of list. Maybe send a > link to it.. > > On Mon, May 3, 2021 at 1:51 PM Osmany Guerra > wrote: > > > Hi, I have problem with the python interpreter in the Visual Studio Code. > > It was running ok,

Re: Python language packages isn't working in Visual Studio Code

2021-05-03 Thread inhahe
I don't think attaching images works on this kind of list. Maybe send a link to it.. On Mon, May 3, 2021 at 1:51 PM Osmany Guerra wrote: > Hi, I have problem with the python interpreter in the Visual Studio Code. > It was running ok, but now isn't working. I have downloaded, installed and > unis

Python language packages isn't working in Visual Studio Code

2021-05-03 Thread Osmany Guerra
Hi, I have problem with the python interpreter in the Visual Studio Code. It was running ok, but now isn't working. I have downloaded, installed and unistalled several times without having results. How could I fix that? I'm using windows 10 64-bit, VSCode x64-1.55.2, and Python 3.9.4. I'm sending

Re: Unable to use pip to install packages

2021-04-01 Thread MRAB
On 2021-04-01 19:42, Md Sohail Ansari via Python-list wrote: Hi Team, Thanks for your support. I am having trouble installing any packages using pip in Python 3.x (earlier had Python 3.8.3, so changed to 3.8.8) in Windows 10. Please help me with below issues

Unable to use pip to install packages

2021-04-01 Thread Md Sohail Ansari via Python-list
Hi Team, Thanks for your support. I am having trouble installing any packages using pip in Python 3.x (earlier had Python 3.8.3, so changed to 3.8.8) in Windows 10. Please help me with below issues: ---C:\Users\mohsohai>pip install pytestTraceb

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
Matt Wheeler wrote: > On 29 Dec 2020, 14:48 +, Chris Green , wrote: > > I seem to have quite a lot of old python packages installed over the > > years using pip and would like, if I can. to clear some of them out. > > > > > > Is there any way to tell if a p

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Matt Wheeler
On 29 Dec 2020, 14:48 +, Chris Green , wrote: > I seem to have quite a lot of old python packages installed over the > years using pip and would like, if I can. to clear some of them out. > > > Is there any way to tell if a python package was installed by me > directl

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
Mats Wichmann wrote: > On 12/29/20 7:48 AM, Chris Green wrote: > > > > If there are any tools/utilities one can install to check these things > > out I'd love to know about them. > > There are some tools (on pypi naturally) for fiddling with installed > packa

Re: Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Mats Wichmann
On 12/29/20 7:48 AM, Chris Green wrote: I seem to have quite a lot of old python packages installed over the years using pip and would like, if I can. to clear some of them out. Is there any way to tell if a python package was installed by me directly using pip or was installed from the [x

Is there any way to check/de-cruft/update Python packages installed using pip?

2020-12-29 Thread Chris Green
I seem to have quite a lot of old python packages installed over the years using pip and would like, if I can. to clear some of them out. Is there any way to tell if a python package was installed by me directly using pip or was installed from the [x]ubuntu repositories? 'pip list' jus

unittest test discovery: regular packages vs. namespace packages

2020-07-10 Thread Ralf M.
test discovery, all of the test files must be modules or packages (including namespace packages) importable from the top-level directory of the project (this means that their filenames must be valid identifiers). [...] Note: As a shortcut, python -m unittest is the equivalent of python -m uni

In this episode we write a full-text search engine using bloom filters! What other packages are you aware of that can act as search engines?

2020-06-14 Thread sjkelleyjr
https://youtu.be/MHatF6Hpm1U -- https://mail.python.org/mailman/listinfo/python-list

Re: Error in PIP install packages

2020-06-08 Thread Souvik Dutta
rs. > > Pip upgrading error > > > > Please help me out.. > > > > I want to uninstall complete python all pip and freshly download python and > install various packages. > > > > Suggest me which version I need to download > > And sequence of package

Error in PIP install packages

2020-06-08 Thread Devendra Dhond
R/sir, I am facing too much errors during pip installing. Deserialization error And much more in red errors. Pip upgrading error Please help me out.. I want to uninstall complete python all pip and freshly download python and install various packages. Suggest me which version I need

Re: ModuleNotFoundError, even though I can see module in dist-packages folder, Setuptools / EGG issue?

2020-04-08 Thread John Ladasky
rocess has been working for me for years. But after recent rebuilds, > when I try to import those modules today, I get ModuleNotFoundErrors for each > of them. I tried importing other modules that were installed by pip3. They > work fine. > > I looked in /usr/local/lib/python3.7/dist

ModuleNotFoundError, even though I can see module in dist-packages folder, Setuptools / EGG issue?

2020-04-08 Thread John Ladasky
or each of them. I tried importing other modules that were installed by pip3. They work fine. I looked in /usr/local/lib/python3.7/dist-packages. The one thing that is unique to my two packages is the .egg extension at the end of the file names. Oddly, one of the two modules is a single .e

Re: Complaints on installing packages

2020-01-13 Thread Peter Pearson
On Sun, 12 Jan 2020 15:21:52 +0100, ofomi matthew wrote: > Good day Python Team, > I'm Matt by name and I have been having difficulties in installing packages > on my pycharm.it keeps telling me "error installing package". Please how do > I rectify this issues step by

Complaints on installing packages

2020-01-13 Thread ofomi matthew
Good day Python Team, I'm Matt by name and I have been having difficulties in installing packages on my pycharm.it keeps telling me "error installing package". Please how do I rectify this issues step by step. Looking forward to get a response as soon as possible. Than

Site Packages Folder Red on Clean Install

2019-12-10 Thread Timothy Coca
Hello, I have a new dell XPS, I freshly installed the latest version of Pythong (3.8.0) and pycharm. Pycharm shows the site packages folder as red, and I can not import and modules from inside of it. Pip install works to install some programs like numpy, scipy, but would not install matplotlib

Re: Developers are advised to purge these malicious packages

2019-12-07 Thread David Lowry-Duda
On Wed, Dec 04, 2019 at 07:17:58PM +0100, Christian Heimes wrote: > > At least the first pages are packaging files for Debian, Fedora, and > other Linux distributions. Downstream distributions provide a Python > > > > Attackers abuse the fact and try to typo-squat

Re: Developers are advised to purge these malicious packages

2019-12-05 Thread Pankaj Jangid
t; At least the first pages are packaging files for Debian, Fedora, and > other Linux distributions. Downstream distributions provide a Python > package under multiple names. For example the Fedora's build spec [1] > creates python2-dateutil and python3-dateutil packages from the >

Re: Developers are advised to purge these malicious packages

2019-12-04 Thread Michael Torrie
On 12/4/19 10:59 AM, David Lowry-Duda wrote: > I notice that "python3-dateutil" is in over 4000 github repositories > [1]. That sounds like a disaster. > > [1]: https://github.com/search?q=python3-dateutil&type=Code It's clearly not, as Christian has already said. In fact it would be very diffic

Re: Developers are advised to purge these malicious packages

2019-12-04 Thread Christian Heimes
Debian, Fedora, and other Linux distributions. Downstream distributions provide a Python package under multiple names. For example the Fedora's build spec [1] creates python2-dateutil and python3-dateutil packages from the python-dateutil upstream project. Attackers abuse the fact and try to t

Re: Developers are advised to purge these malicious packages

2019-12-04 Thread David Lowry-Duda
I notice that "python3-dateutil" is in over 4000 github repositories [1]. That sounds like a disaster. [1]: https://github.com/search?q=python3-dateutil&type=Code - DLD -- David Lowry-Duda -- https://mail.python.org/mailman/listinfo/python-list

Developers are advised to purge these malicious packages

2019-12-04 Thread Pankaj Jangid
``` The Python security team removed two trojanized Python libraries from PyPI (Python Package Index) that were caught stealing SSH and GPG keys from the projects of infected developers. The first is "python3-dateutil," which imitated the popular "dateutil" library. The second is "jeIlyfish" (th

Re: How do I purge pip intsall --user packages?

2019-09-17 Thread Manfred Lotz
On 17 Sep 2019 19:10:29 GMT Martin Schöön wrote: > I have installed a bunch of packages using pip install --user and > I went for a non-standard location for the install. Now I regret > this and would like to wipe this and start all over again using > the standard location. Is

How do I purge pip intsall --user packages?

2019-09-17 Thread Martin Schöön
I have installed a bunch of packages using pip install --user and I went for a non-standard location for the install. Now I regret this and would like to wipe this and start all over again using the standard location. Is it enough to delete the folder I specified or am I missing something? Having

``pipenv + pycharm'' refrash/rescan packages index without restart pycharm.

2019-09-15 Thread Hongyi Zhao
Hi, I use pycharm with pipenv for env management. When I do some changes on the packages, say, add/remove some of them. How to let pycharm efrash/ rescan packages index without restart it? -- https://mail.python.org/mailman/listinfo/python-list

failed to install anaconda packages

2019-09-04 Thread Mangwendeza Simbarashe
-- https://mail.python.org/mailman/listinfo/python-list

Re: Installing python3 packages using pip

2019-08-08 Thread Rich Shepard
On Fri, 9 Aug 2019, Chris Angelico wrote: There's one other potential trap you MAY fall into, but only if you have multiple Python 3s installed (eg 3.7, 3.8, and 3.9). ChrisA, Not likely. I'm the only one using these hosts and I keep only a single, current, version of software. So to be abs

Re: Installing python3 packages using pip

2019-08-08 Thread Chris Angelico
ke > > sure that it gets a version that's appropriate to your Python (including > > architecture/word size, version (x.y), etc, etc). > > ChrisA, > > Well! This is the first I've learned of the proper way to install python3 > packages from PyPI. Thank you. > >

Re: Installing python3 packages using pip

2019-08-08 Thread Rich Shepard
On Thu, 8 Aug 2019, MRAB wrote: What's numpy3? Is it different from numpy? I run Slackware and the SlackBuilds.org packages distinguish buiding between python2 and python3. I've used those build scripts for years but they've failed me on this new desktop and one laptop so I us

Re: Installing python3 packages using pip

2019-08-08 Thread Rich Shepard
ecture/word size, version (x.y), etc, etc). ChrisA, Well! This is the first I've learned of the proper way to install python3 packages from PyPI. Thank you. Numpy, scipy, and matplotlib all installed properly. Best regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Installing python3 packages using pip

2019-08-08 Thread MRAB
'pip' for 'pip3' to install or upgrade Pypy packages. Richard, Python3-3.7.x includes pip3. And I upgraded it using 'pip3 install --upgrade pip' so it's at the current release. However, I still cannot install numpy3: # pip3 install numpy3 Collecting nu

Re: Installing python3 packages using pip

2019-08-08 Thread Chris Angelico
usually installed as 'pip3' so substitute 'pip' for 'pip3' > > to install or upgrade Pypy packages. > > Richard, > > Python3-3.7.x includes pip3. And I upgraded it using 'pip3 install --upgrade > pip' so it's at the current relea

Re: Installing python3 packages using pip

2019-08-08 Thread Rich Shepard
27; to install or upgrade Pypy packages. Richard, Python3-3.7.x includes pip3. And I upgraded it using 'pip3 install --upgrade pip' so it's at the current release. However, I still cannot install numpy3: # pip3 install numpy3 Collecting numpy3 ERROR: Could not find a version that sat

Re: Installing python3 packages using pip

2019-08-08 Thread Rich Shepard
On Thu, 8 Aug 2019, Richard Moseley wrote: You will need to have to install python3-pip Richard, Aha! I thought it was just pip3. Hope this helps, Richard Moseley. Yes, it does. Many thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Installing python3 packages using pip

2019-08-08 Thread Richard Moseley
You will need to have to install python3-pip (or equivalent on your repository) to install the version of pip suitable for use with python 3.x. The program is usually installed as 'pip3' so substitute 'pip' for 'pip3' to install or upgrade Pypy packages. Of course, i

  1   2   3   4   5   6   7   8   9   10   >