Python Forum
Fix Memory Error while installing a library for Qgis
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix Memory Error while installing a library for Qgis
#1
Hi!

I have been trying to install one complement for a GIS software (QGis). The complement is installed by the software, using python. However it does not work. For that reason I tryed to install it manually, but I got a Memory error. Acording to the complete message returned back from python. Is there any solution for this memory error? Or maybe, there is another thing been anoying? How can I fix it? If you can explain easy it would be the best, because i am a beginner user of python (pyton27)

C:\Users\aastorga\.qgis2\python\plugins\flopy-develop\flopy-develop>python -m pi
p install flopy -t C:\Users\aastorga\.qgis2\python\plugins\ --upgrade

Collecting https://github.com/modflowpy/flopy/zipball/master
Downloading https://github.com/modflowpy/flopy/zipball/master (127.7MB)
99% |############################### | 127.6MB 1.1MB/s eta 0:00:01Exception:

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args)
File "C:\Python27\lib\site-packages\pip\commands\install.py", line 335, in run wb.build(autobuilding=True)
File "C:\Python27\lib\site-packages\pip\wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder)
File "C:\Python27\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies))
File "C:\Python27\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes)
File "C:\Python27\lib\site-packages\pip\download.py", line 821, in unpack_url hashes=hashes
File "C:\Python27\lib\site-packages\pip\download.py", line 659, in unpack_http_url hashes)
File "C:\Python27\lib\site-packages\pip\download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes)
File "C:\Python27\lib\site-packages\pip\download.py", line 605, in _download_url consume(downloaded_chunks)
File "C:\Python27\lib\site-packages\pip\utils\__init__.py", line 852, in consume deque(iterator, maxlen=0)
File "C:\Python27\lib\site-packages\pip\download.py", line 571, in written_chunks for chunk in chunks:
File "C:\Python27\lib\site-packages\pip\utils\ui.py", line 139, in iter for x in it:
File "C:\Python27\lib\site-packages\pip\download.py", line 560, in resp_read decode_content=False):
File "C:\Python27\lib\site-packages\pip\_vendor\urllib3\response.py", line 436, in stream data = self.read(amt=amt, decode_content=decode_content)
File "C:\Python27\lib\site-packages\pip\_vendor\urllib3\response.py", line 384, in read data = self._fp.read(amt)
File "C:\Python27\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",line 63, in read self._close()
File "C:\Python27\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",line 50, in _close self.__callback(self.__buf.getvalue())
File "C:\Python27\lib\site-packages\pip\_vendor\cachecontrol\controller.py", line 275, in cache_response self.serializer.dumps(request, response, body=body),
File "C:\Python27\lib\site-packages\pip\_vendor\cachecontrol\serialize.py", line 87, in dumps ).encode("utf8"),
MemoryError


Hope somebody help me help me

Kind Regards
Alejandro Astorga
Reply


Messages In This Thread
Fix Memory Error while installing a library for Qgis - by alexastorga - Apr-13-2018, 04:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ERROR WHILE INSTALLING PLAYSOUND MODULE satwants33 2 1,623 Mar-23-2024, 12:50 PM
Last Post: Ritik2508
  QGIS 3.34 Python Error paskiller 2 787 Nov-13-2023, 06:20 PM
Last Post: buran
  Error in blend_modes library talgreen 6 1,089 Jul-01-2023, 05:32 PM
Last Post: talgreen
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 2,248 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  python requests library .JSON() error mHosseinDS86 6 3,642 Dec-19-2022, 08:28 PM
Last Post: deanhystad
  Memory Error While generating cheksum no mg24 2 1,110 Sep-25-2022, 10:33 PM
Last Post: mg24
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,822 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  Error about parser library and tree builder Led_Zeppelin 8 11,761 Jun-11-2021, 08:53 PM
Last Post: snippsat
  error while installing any library using pip in windows AkashKansal 1 4,460 Sep-24-2020, 07:51 AM
Last Post: buran
  Pip prints huge error when installing p5 hayden2s 1 2,299 Aug-08-2020, 02:30 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020