Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install Module dbfread
#1
Hi Guys,

I am new here and don't have much experience with Python. I am looking for help with the installation of the module dbfread.

I use Python27 and tried the following command in cmd
Quote:C:\Python27\ArcGIS10.5\Scripts>pip install dbfread

and received following error message
Error:
Collecting dbfread Using cached dbfread-2.0.7-py2.py3-none-any.whl Installing collected packages: dbfread Exception: Traceback (most recent call last): File "c:\python27\arcgis10.5\lib\site-packages\pip\basecommand.py", line 215, in main status = self.run(options, args) File "c:\python27\arcgis10.5\lib\site-packages\pip\commands\install.py", line 342, in run prefix=options.prefix_path, File "c:\python27\arcgis10.5\lib\site-packages\pip\req\req_set.py", line 784, in install **kwargs File "c:\python27\arcgis10.5\lib\site-packages\pip\req\req_install.py", line 851, in install self.move_wheel_files(self.source_dir, root=root, prefix=prefix) File "c:\python27\arcgis10.5\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files isolated=self.isolated, File "c:\python27\arcgis10.5\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files clobber(source, lib_dir, True) File "c:\python27\arcgis10.5\lib\site-packages\pip\wheel.py", line 316, in clobber ensure_dir(destdir) File "c:\python27\arcgis10.5\lib\site-packages\pip\utils\__init__.py", line 83, in ensure_dir os.makedirs(path) File "c:\python27\arcgis10.5\lib\os.py", line 157, in makedirs mkdir(name, mode) WindowsError: [Error 5] Access is denied: 'c:\\python27\\arcgis10.5\\Lib\\site-packages\\dbfread'
I then downloaded the .whl file from here: https://pypi.python.org/pypi/dbfread and tried the following command
Quote:pip install PathToDownloadedFile.whl

but got the same error message.

Can anyone help please and tell me what this error means and how I can fix it?

Many thanks,
Tegir
Reply
#2
I believe you don't have admin rights.
99 percent of computer problems exists between chair and keyboard.
Reply
#3
Run cmd as admin.
Reply
#4
Thamk you guys, opening cmd as admin solved the issue!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't install nor import delorean module Tek 3 2,798 Oct-27-2021, 03:32 AM
Last Post: Tek
  Unable to install module rrowhe4d 1 2,285 Oct-13-2020, 10:20 AM
Last Post: Larz60+
  trying to pip install stasm module getting error djf123 3 4,502 Jul-26-2020, 05:00 AM
Last Post: millpond
  Install thresding module kalvarix 2 2,183 May-04-2020, 03:25 PM
Last Post: kalvarix
  Install module with pip3 on a non root user matthewpintor2107 1 2,403 Apr-28-2020, 03:16 PM
Last Post: pyzyx3qwerty
  How do I install the dom.minidom module? Johno 3 7,097 Apr-17-2020, 09:46 PM
Last Post: Larz60+
  Install module without "pip" hjk6734 2 10,994 Apr-09-2020, 09:09 AM
Last Post: buran
  how to import a module which is installed to personal folder using pip install --pre? geekgeek 2 2,423 Mar-09-2020, 02:38 PM
Last Post: geekgeek
  Can a module be executed even if the computer running it does not install it? CFYB 5 3,407 Feb-08-2020, 01:56 PM
Last Post: snippsat
  Cannot pip install py-xml module kump 3 6,998 Jul-23-2019, 02:42 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