numpy packges and ~umpy generate WARNING on install addon #112919

Closed
opened 2023-09-26 20:22:37 +02:00 by Cătălin George Feștilă · 3 comments
  1. System Information

Operating system: Windows 10 Pro
Graphics card: NVIDIA GeForce GTX 950

Blender Version
blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release

Short description of error
I install many add-ons and Blender 3D adds this '~' symbol to the folder, I don't know if this is a blender change, bug, or maybe an addon change ...
I think the Blender 3D team can create a manager for Python packages in Blender to deal with many versions.

C:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages

09/26/2023 08:46 PM <DIR> numpy 09/26/2023 08:46 PM 0 numpy-1.26.0-cp310-cp310-win_amd64.whl 09/26/2023 08:47 PM <DIR> numpy-1.26.0.dist-info 09/26/2023 08:46 PM <DIR> numpy.libs 09/26/2023 08:47 PM <DIR> ~umpy 09/09/2023 04:01 AM <DIR> ~umpy-1.23.5-py3.10.egg-info

Exact steps for others to reproduce the error

I try to install https://github.com/tin2tin/Pallaidium addon and this shows me the error:

WARNING: Ignoring invalid distribution -umpy

see the Windows console log:

... Requirement already satisfied: networkx in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch==2.0.1->torchaudio) (3.0) Requirement already satisfied: jinja2 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch==2.0.1->torchaudio) (3.1.2) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from jinja2->torch==2.0.1->torchaudio) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from sympy->torch==2.0.1->torchaudio) (1.3.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Requirement already satisfied: numpy in c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages (1.26.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Looking in indexes: https://download.pytorch.org/whl/cu118 Requirement already satisfied: torch in c:\users\catafest\appdata\roaming\python\python310\site-packages (2.0.1+cu118) Requirement already satisfied: filelock in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.9.0) Requirement already satisfied: typing-extensions in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (4.4.0) Requirement already satisfied: sympy in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (1.12) Requirement already satisfied: networkx in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.0) Requirement already satisfied: jinja2 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.1.2) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from jinja2->torch) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from sympy->torch) (1.3.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Info: Installation of dependencies is finished. ...

1. **System Information** Operating system: Windows 10 Pro Graphics card: NVIDIA GeForce GTX 950 **Blender Version** blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release **Short description of error** I install many add-ons and Blender 3D adds this '~' symbol to the folder, I don't know if this is a blender change, bug, or maybe an addon change ... I think the Blender 3D team can create a manager for Python packages in Blender to deal with many versions. C:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages `09/26/2023 08:46 PM <DIR> numpy 09/26/2023 08:46 PM 0 numpy-1.26.0-cp310-cp310-win_amd64.whl 09/26/2023 08:47 PM <DIR> numpy-1.26.0.dist-info 09/26/2023 08:46 PM <DIR> numpy.libs 09/26/2023 08:47 PM <DIR> ~umpy 09/09/2023 04:01 AM <DIR> ~umpy-1.23.5-py3.10.egg-info` **Exact steps for others to reproduce the error** I try to install https://github.com/tin2tin/Pallaidium addon and this shows me the error: `WARNING: Ignoring invalid distribution -umpy ` see the Windows console log: `... Requirement already satisfied: networkx in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch==2.0.1->torchaudio) (3.0) Requirement already satisfied: jinja2 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch==2.0.1->torchaudio) (3.1.2) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from jinja2->torch==2.0.1->torchaudio) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from sympy->torch==2.0.1->torchaudio) (1.3.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Requirement already satisfied: numpy in c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages (1.26.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Looking in indexes: https://download.pytorch.org/whl/cu118 Requirement already satisfied: torch in c:\users\catafest\appdata\roaming\python\python310\site-packages (2.0.1+cu118) Requirement already satisfied: filelock in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.9.0) Requirement already satisfied: typing-extensions in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (4.4.0) Requirement already satisfied: sympy in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (1.12) Requirement already satisfied: networkx in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.0) Requirement already satisfied: jinja2 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from torch) (3.1.2) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from jinja2->torch) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\catafest\appdata\roaming\python\python310\site-packages (from sympy->torch) (1.3.0) WARNING: Ignoring invalid distribution -umpy (c:\blender-4.0.0-alpha+main.967d49dba48e-windows.amd64-release\4.0\python\lib\site-packages) Info: Installation of dependencies is finished. ...`
Cătălin George Feștilă added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-09-26 20:22:37 +02:00

I think the Blender 3D team can create a manager for Python packages in Blender to deal with many versions.

AFAIK there is pip included with bundled python. If you mean some GUI manager, I don't think that will happen anytime soon.

I recommend to consult this with @tintwotin, probably best would be on https://blender.chat/channel/vse or via PMs. This tracker is for bugs in blender repository. If you conclude, that this is bug in Blender, please provide steps to reproduce this issue.

> I think the Blender 3D team can create a manager for Python packages in Blender to deal with many versions. AFAIK there is pip included with bundled python. If you mean some GUI manager, I don't think that will happen anytime soon. I recommend to consult this with @tintwotin, probably best would be on https://blender.chat/channel/vse or via PMs. This tracker is for bugs in blender repository. If you conclude, that this is bug in Blender, please provide steps to reproduce this issue.
Richard Antalik added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-09-27 03:38:51 +02:00

When pip "uninstalls" a python module, it just renames the first letter of the folder to ~ and if the module is installed at a later point in time it'll install this folder(by renaming it back) instead of a fresh download.
When the folder is renamed with a ~, it'll start complaining that renamed folder, as you have seen here:
WARNING: Ignoring invalid distribution -umpy

In other words, this is an annoying built-in behavior of pip and unrelated to Blender.

In your case, go to c:\users\catafest\appdata\roaming\python\python310\site-packages and delete any folder starting with ~ with Blender closed and the error will go away.

Please use the GitHub repository to discuss the add-on instead.

@iss This report can be closed.

When pip "uninstalls" a python module, it just renames the first letter of the folder to ~ and if the module is installed at a later point in time it'll install this folder(by renaming it back) instead of a fresh download. When the folder is renamed with a ~, it'll start complaining that renamed folder, as you have seen here: WARNING: Ignoring invalid distribution -umpy In other words, this is an annoying built-in behavior of pip and unrelated to Blender. In your case, go to c:\users\catafest\appdata\roaming\python\python310\site-packages and delete any folder starting with ~ with Blender closed and the error will go away. Please use the GitHub repository to discuss the add-on instead. @iss This report can be closed.

Thanks for info, will close since this is not a bug.

Thanks for info, will close since this is not a bug.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-09-29 02:35:26 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#112919
No description provided.