Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100272 > unrolled thread

python 351x64

Started byJay Hamm <hammj@vmware.com>
First post2015-12-11 16:30 +0000
Last post2015-12-12 04:18 +1100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  python 351x64 Jay Hamm <hammj@vmware.com> - 2015-12-11 16:30 +0000
    Re: python 351x64 Steven D'Aprano <steve@pearwood.info> - 2015-12-12 04:18 +1100

#100272 — python 351x64

FromJay Hamm <hammj@vmware.com>
Date2015-12-11 16:30 +0000
Subjectpython 351x64
Message-ID<mailman.145.1449852210.12405.python-list@python.org>
Hi

I was trying to use your windows version of python 3.5.1 x64.

It has a conflict with a notepad++ plugin NppFTP giving api-ms-win-crt-runtime-I1-1-0.dll error on start up.

This seems pretty well documented on the web. The work around is to delete the plugin and reinstall since it borks the install.

Since about every other admin I've ever known uses notepad++, you might want to fix this.

Also your installer fails to set the permissions correctly:

H:\>py -m pip install requests
Collecting requests
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |################################| 499kB 875kB/s
Installing collected packages: requests
Exception:
Traceback (most recent call last):
  File "C:\Program Files\Python35\lib\site-packages\pip\basecommand.py", line 211, in main    status = self.run(options, args)
  File "C:\Program Files\Python35\lib\site-packages\pip\commands\install.py", line 311, in run    root=options.root_path,
  File "C:\Program Files\Python35\lib\site-packages\pip\req\req_set.py", line 646, in install    **kwargs
  File "C:\Program Files\Python35\lib\site-packages\pip\req\req_install.py", line 803, in install    self.move_wheel_files(self.source_dir, root=root)
  File "C:\Program Files\Python35\lib\site-packages\pip\req\req_install.py", line 998, in move_wheel_files    isolated=self.isolated,
  File "C:\Program Files\Python35\lib\site-packages\pip\wheel.py", line 339, in move_wheel_files    clobber(source, lib_dir, True)
  File "C:\Program Files\Python35\lib\site-packages\pip\wheel.py", line 310, in clobber    ensure_dir(destdir)
  File "C:\Program Files\Python35\lib\site-packages\pip\utils\__init__.py", line 71, in ensure_dir    os.makedirs(path)
  File "C:\Program Files\Python35\lib\os.py", line 241, in makedirs    mkdir(name, mode) PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Python35\\Lib\\site-packages\\requests'

Once I gave myself control it started working.

This is pretty shoddy for released software.
Thanks,
Jacob Hamm (Jay) VCP-DCV, RHCE
Senior Cloud Services Engineer - VMware vCloud Air

380 Interlocken Crescent Blvd - Ste 500, Broomfield CO 80021
Office 303 942 4638 - hammj@vmware.com<mailto:hammj@vmware.com>
Want to learn more about VMware vCloud Air?
Go to http://vcloud.vmware.com/tutorials
[vCloudAir]

[toc] | [next] | [standalone]


#100276

FromSteven D'Aprano <steve@pearwood.info>
Date2015-12-12 04:18 +1100
Message-ID<566b0571$0$1601$c3e8da3$5496439d@news.astraweb.com>
In reply to#100272
Hi Jay, and welcome,!


On Sat, 12 Dec 2015 03:30 am, Jay Hamm wrote:

> Hi
> 
> I was trying to use your windows version of python 3.5.1 x64.
> 
> It has a conflict with a notepad++ plugin NppFTP giving
> api-ms-win-crt-runtime-I1-1-0.dll error on start up.
> 
> This seems pretty well documented on the web. The work around is to delete
> the plugin and reinstall since it borks the install.


I think your definition of "well documented on the web" and mine differs
greatly. I've spent ten minutes searching for various combinations
of "python", "conflict", "nppftp", "api-ms-win-crt-runtime-I1-1-0.dll" etc.
with absolutely no relevant hits. Would you mind telling us where you found
this documentation?

I did find this:

https://notepad-plus-plus.org/community/topic/7282/notepad-system-error-on-startup-api-ms-win-crt-runtime-l1-1-0-dll-is-missing

but there's no indication that this has anything to do with Python.


> Since about every other admin I've ever known uses notepad++, you might
> want to fix this.

I'm not a Windows expert, but I can't imagine how installing Python would
uninstall api-ms-win-crt-runtime-I1-1-0.dll. But if it does, then it
probably shouldn't.



> Also your installer fails to set the permissions correctly:
> 
> H:\>py -m pip install requests

[...]
>   File "C:\Program Files\Python35\lib\os.py", line 241, in makedirs   
>   mkdir(name, mode) PermissionError: [WinError 5] Access is denied:
>   'C:\\Program Files\\Python35\\Lib\\site-packages\\requests'
> 
> Once I gave myself control it started working.

What do you mean, you gave yourself "control?" Do you mean write permission?

I would expect that if you want to install to the system-wide site-packages
directory, you should be running as Administrator or other user with
permission to write to that directory.

If you don't have write permission to a directory when you are trying to
install software, of course the installation will fail. What makes you
think that this is a failure of the installer? I'm not a Windows expert,
but the behaviour looks correct to me.



> This is pretty shoddy for released software.

Well, some of us have used VMware in the past, and we could discuss "pretty
shoddy" bugs all day *cough* ESXi backup bug *cough* vcenter remote
execution exploit *cough* but since we're all friends here, how about
instead of trying to be insulting, let's try to determine exactly what the
alleged bug is so we can create a ticket and get it fixed?



-- 
Steven

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web