WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages)
why do I receive these errors "WARNING: Ignoring invalid distribution -yproj " while installing any python module in cmd
16.1k Views Asked by CLEMENT At
2
There are 2 best solutions below
0
KOLab
On
I had the same problem with matplotlib. It looked like I wanted to install a package from some sort of unauthorized source.
You should delete the folder that caused the problem in site-packages folder. In your case, it is ~yproj (In my case, it was ~atplotlib).
In short :
- Find the site-packages folder -> Type "pip show pyproj" or any other library you want!
- Delete the folder mentioned in the warning :
~yprojin your case
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in GEOPANDAS
- Python Geopandas unable to convert latitude longitude to points
- Need assistance suppressing specific UserWarning in Python code execution
- How to find mean value of k nearest points when some values are NaN?
- Rotate a multipolygon without changing the inner spatial relation
- How can I position a pie chart within another plot according to x, y coordinates?
- Geopandas not returning correct buffer in meters
- TypeError: 'MultiPolygon' object is not iterable (VS Code: Python geopandas)
- Optimizing Python Code for Generating a Large Grid Map with Ocean Nodes Only
- Solving upside plot and projection problems in Geopandas and Altair
- Merging Geodataframe Polygons to Meet Population Threshold in Python
- geofileops gives wrong result in intersection when data is big
- Adding shapely polygon to geopandas
- Center of geopandas.geodataframe.GeoDataFrame
- calculate linestring endpoints from point, perpendicular to a given angle
- Remove white spaces in subplots matplolib
Related Questions in TORCH
- Unable to install nngraph using luarocks
- Debugging Lua script with torch in VScode
- How can I access additional information about my gymnasium environment during a torchrl rollout?
- Indexing a batch of images using PyTorch tensor from an index image
- When importing a 'torch.utils.data.graph_settings' package, it shows that the package does not exist
- Slice array along axis with list of different indices
- PyTorch Lightning DDP Error with SLURM: GPU MisconfigurationException and Devices Mismatch
- Torch forgets the variable with respect to differentiate
- PyInstaller Issue: torchvision\io\image.py:13 UserWarning and Continuous Reloading
- Coding logistic SGD manually in a for loop in Python -- am I interpreting this correctly?
- Kernel dies after converting numpy array to torch.FloatTensor
- Textual Inversion, AttributeError: module 'main' has no attribute 'LearningRateMonitor'
- How should I reshape my data to feed for torch LSTM model?
- pytorch min by columns with nan
- OpenMP runtime error during the training of AI model, multiple copies of the OpenMP runtime
Related Questions in FIONA
- Error using osmnx:Failed to create field name 'osmid'
- import fiona result in ImportError: DLL load failed... in conda env, while a virtualenv works
- Is there a way to programmatically detect if a roof is sloped given raster mask?
- Matching correctly two polygons that come from different shapefiles
- How to get lat/lon from shape files?
- Does geopandas to_crs() method access the internet for ESRI Information?
- 'InvalidVersion' error returned when writting an ESRI shp file geopandas.GeoDataFrame.to_file
- Kwarg argument initialized as "NoneType"
- How to get output from Fiona instead of fiona.model object
- AttributeError: partially initialized module 'fiona' has no attribute '_loading' (most likely due to a circular import)
- Converting contours in an image to lines in shapefile using python
- Reading GML file with GeoPandas raises CPLE_AppDefinedError
- How to import GDAL embedded in new Fiona wheels
- Reading MultiGeometry KML file using Geopandas
- Received geo data of Riyadh traffic from HERE api as shape points, how to load them into geopandas?
Related Questions in OSGEO
- Conversion problem: Large TIFF File to XYZ Format
- No module named 'osgeo._gdal_array' - Docker image with Python and GDAL
- GDAL Installation on Mac (Ventura) with Python 3.11 via Homebrew Fails: 'Python.h' File Not Found
- I am getting incorrect north and east values after carthographic projection using PROJ library in c++
- how to stack bands of satellite images located in a folder without the need to name them using gdal in OSGeo 4W Shell
- ERROR: Failed building wheel for osgeo, Failed to build osgeo
- How to convert raster map to shapefile (raster map boundaries to vector center line shapefile)
- GDAL Warp produces a black image
- proj.db not found in gdal-3.2.1 runing in Amazon Linux 2
- Install GDAL on LINUX Ubuntu 20.04.4LTS for python
- I keep getting blank images while trying to Georeference an image with GDAL
- why do I receive these errors "WARNING: Ignoring invalid distribution -yproj " while installing any python module in cmd
- How to check if the environment variable "PROJ_LIB" is defined and how to unset it ? (PyQGIS Standalone Script Executer)
- Solution to installing GDAL/PROJ/GEOS in windows 10 for Django/Geodjango
- GDAL and Fiona conflicting versions but downgrading Fiona leads to a legacy-install-failure error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was getting a similar message that turned out be caused by a previous failed pip upgrade. I had attempted to upgrade pip from a user account that didn't have the proper rights. There was a temp directory left behind in site-packages that began with ~ip which was causing pip to complain every time it ran. I removed the directory and was able to re-upgrade pip using an account that had proper permissions. No more warnings from pip.
Did you have a problem installing something like pyproj by any chance? The temp directory seems to be named by replacing the first letter of the library with a ~.