Re: permission denied using python 3.8

2019-11-05 Thread Eryk Sun
On 11/5/19, robin deatherage wrote: > > MS Windows uses a UAC User Control. So it is best to not add a package > to an Admin user on Windows. The OP would have to install Python in a location that that's inaccessible to standard users and add this directory to the system PATH. It's dysfunctional

Re: permission denied using python 3.8

2019-11-05 Thread Eryk Sun
On 11/5/19, robin deatherage wrote: > > MS Windows uses a UAC User Control. So it is best to not add a package > to an Admin user on Windows. The OP would have to install Python in a location that that's inaccessible to standard users and add this directory to the system PATH. It's dysfunctional

Re: permission denied using python 3.8

2019-11-05 Thread Terry Reedy
On 11/5/2019 12:26 PM, robin deatherage wrote: Also there is no limit to how many different versions of Python you use on Windows---As long as you have a different UAC Control user logged in Windows for each one you add. I have 2.75, 3.5, 3.6, 3.7.0 and now 3.8 on my Windows now and all work

Re: permission denied using python 3.8

2019-11-05 Thread robin deatherage
On Tuesday, November 5, 2019 at 10:06:49 AM UTC+8, Francois van Lieshout wrote: > Hi, i installed python 3.8 the latest version but it doesn’t work, i get > “permission denied” when trying to acces python in the CLI and also i can’t > run my code from my python files in the command-line nor in ID

Re: permission denied when installing tensorflow on centos 7

2018-04-30 Thread dieter
joseph pareti writes: > here are details on my attempt: > ... > [joepareti54@xxx tensorflow_tmpdir]$ pip3 install --upgrade virtualenv >> > step3.txt 2>&1 > [joepareti54@xxx tensorflow_tmpdir]$ cat step3.txt > Collecting virtualenv > Downloading > https://files.pythonhosted.org/packages/ed/ea/e2

Re: Permission denied error in download nltk_data...

2015-09-08 Thread Laura Creighton
In a message of Tue, 08 Sep 2015 18:56:15 +0800, Dwight GoldWinde writes: >import nltk >nltk.download('maxent_treebank_pos_tagger¹) > >Is now giving the error: > >[nltk_data] Error loading maxent_treebank_pos_tagger: [nltk_data] [Errno 57] Socket is not connected> > > >Any suggestions, please.

Re: Permission denied error in download nltk_data...

2015-09-08 Thread Dwight GoldWinde
import nltk nltk.download('maxent_treebank_pos_tagger¹) Is now giving the error: [nltk_data] Error loading maxent_treebank_pos_tagger: Any suggestions, please. BIG SMILE... Always, Dwight -- https://mail.python.org/mailman/listinfo/python-list

Re: Permission denied error in download nltk_data...

2015-09-04 Thread Joel Goldstick
On Fri, Sep 4, 2015 at 8:11 AM, Laura Creighton wrote: > In a message of Fri, 04 Sep 2015 18:50:11 +0800, Dwight GoldWinde writes: >>Please helpŠ(my apologizesŠI got a response to this before, but I CANNOT >>find it now)Š > > https://mail.python.org/pipermail/python-list/2015-August/695546.html >

Re: Permission denied error in download nltk_data...

2015-09-04 Thread Laura Creighton
In a message of Fri, 04 Sep 2015 18:50:11 +0800, Dwight GoldWinde writes: >Please helpŠ(my apologizesŠI got a response to this before, but I CANNOT >find it now)Š https://mail.python.org/pipermail/python-list/2015-August/695546.html Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: Permission denied error in download nltk_data...

2015-08-19 Thread Steven D'Aprano
On Wed, 19 Aug 2015 04:57 pm, Dwight GoldWinde wrote: > Please helpŠ > > Using this code: > > import nltk > nltk.download('maxent_treebank_pos_tagger¹) > > > I get this error: [...] >os.mkdir(download_dir) > > PermissionError: [Errno 13] Permission denied: > '/Users/dwightgoldwindex/nltk_

Re: Permission to Showcase the Python Program

2015-06-10 Thread Terry Reedy
On 6/9/2015 10:19 AM, Leslie Bush wrote: I’m having trouble reaching an actual human at your organization > as my emails get bounced back. If you sent email to p...@python.org it should not have bounced, as according to https://mail.python.org/mailman/listinfo/python-legal-sig that is the 'leg

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Terry Reedy
On 4/5/2015 1:45 PM, Alexey Izbyshev wrote: Hello! I've hit a strange problem that I reduced to the following test case: * Run several python processes in parallel that spin in the following loop: while True: if os.path.isfile(fname): with open(fname, 'rb') as f: f.read()

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Dave Angel
On 04/05/2015 01:45 PM, Alexey Izbyshev wrote: Hello! I've hit a strange problem that I reduced to the following test case: * Run several python processes in parallel that spin in the following loop: while True: if os.path.isfile(fname): with open(fname, 'rb') as f: f.read()

Re: Permission denied when opening a file that was created concurrently by os.rename (Windows)

2015-04-05 Thread Chris Angelico
On Mon, Apr 6, 2015 at 3:45 AM, Alexey Izbyshev wrote: > The test case is attached, the main file is test.bat. Python is expected to > be in PATH. Stderr of readers is redirected to *.log. You may need to run > several times to hit the issue. You have an interesting-looking problem, but the attac

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Terry Reedy
On 12/10/2013 6:35 AM, shankha wrote: I wish to make contribution to Python source code. I have studied the developers guide and made myself familiar with mercurial. I wish to start of with some doc bugs as this will give me insight into how the whole process(review, tests, patches) works. Is it

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Tim Golden
On 10/12/2013 11:35, shankha wrote: > I wish to make contribution to Python source code. I have studied the > developers guide and made myself familiar with mercurial. I wish to > start of with some doc bugs as this will give me insight into > how the whole process(review, tests, patches) works. Is

Re: Permission for contribution: http://bugs.python.org/issue19940

2013-12-10 Thread Tim Golden
On 10/12/2013 11:35, shankha wrote: > I wish to make contribution to Python source code. I have studied the > developers guide and made myself familiar with mercurial. I wish to > start of with some doc bugs as this will give me insight into > how the whole process(review, tests, patches) works. Is

Re: Permission denied and lock issue with multiprocess logging

2011-06-13 Thread kracekumar ramaraju
In case the File System is NFTS you might get this error because of user mapping.There may be some other issues too. -- http://mail.python.org/mailman/listinfo/python-list

Re: Permission denied and lock issue with multiprocess logging

2011-06-12 Thread Vinay Sajip
On Jun 12, 8:49 am, david dani wrote: > When i am running the implementation of multiprocessloggingthrough > queue handler, i get this error. It is the same with sockethandler as > well as with pipe handler if multiprocesses are involved. I am not > getting any hint to solve this problem. Please h

Re: Permission Problem

2010-03-01 Thread Victor Subervi
Never mind. I figured out my error. beno On Mon, Mar 1, 2010 at 10:02 AM, Victor Subervi wrote: > Hi; > I encountered and solved this problem before with the help of the list, but > it's back, and I've reviewed and done everything I was shown to do last > time, so I'm lost. Here's the script: > >

Re: Permission to use Mac OS 'rocketship' dock icon?

2008-02-28 Thread Benjamin
On Feb 28, 3:37 pm, "Anand Patil" <[EMAIL PROTECTED]> wrote: > Hi all, > > The image of a rocket with the Python logo that occasionally shows up > in the dock would make part of a nice logo for PyMC, an open-source > Python Bayesian statistics package. Anyone know who we would have to > ask to get

Re: permission denied in shutil.copyfile

2007-07-13 Thread Steve Holden
Gabriel Genellina wrote: > En Fri, 13 Jul 2007 12:10:20 -0300, Ahmed, Shakir <[EMAIL PROTECTED]> > escribió: > >> Is there any way to copy a file from src to dst if the dst is >> exclusively open by other users. >> >> I am using >> >> src = 'c:\mydata\data\*.mdb' >> dst = 'v:\data\all\*.mdb' >>

Re: permission denied in shutil.copyfile

2007-07-13 Thread Gabriel Genellina
En Fri, 13 Jul 2007 12:10:20 -0300, Ahmed, Shakir <[EMAIL PROTECTED]> escribió: > Is there any way to copy a file from src to dst if the dst is > exclusively open by other users. > > I am using > > src = 'c:\mydata\data\*.mdb' > dst = 'v:\data\all\*.mdb' > > shutil.copyfile(src,dst) > > but get

Re: Permission Denied

2006-08-23 Thread Magnus Lycka
Jorge Godoy wrote: > ;-) And think about security as well. I.e. put '.' in the end of your PATH, never in the beginning! -- http://mail.python.org/mailman/listinfo/python-list

Re: Permission Denied

2006-08-20 Thread Jorgen Grahn
On Sun, 20 Aug 2006 10:35:31 -0300, Jorge Godoy <[EMAIL PROTECTED]> wrote: > Stargaming <[EMAIL PROTECTED]> writes: > >> In the most cases, PATH is preconfigured to include "." (. is the current >> directory as .. is the parent one). > > I most cases on Unix boxes it isn't configured to include "."

Re: Permission Denied

2006-08-20 Thread Jorge Godoy
Stargaming <[EMAIL PROTECTED]> writes: > In the most cases, PATH is preconfigured to include "." (. is the current > directory as .. is the parent one). You can use ./yourpythonscript in this > case. I most cases on Unix boxes it isn't configured to include ".". This is so for safety reasons (so

Re: Permission Denied

2006-08-20 Thread Stargaming
AlbaClause schrieb: > Lawrence D'Oliveiro wrote: > > >>In message <[EMAIL PROTECTED]>, AlbaClause wrote: >> >> >>>Then, to execute the file from from the shell prompt, I had to create a >>>'bin' directory in my home folder, cuz I didn't want to litter >>>my /usr/local/bin folder with useless Pyth

Re: Permission Denied

2006-08-20 Thread AlbaClause
Lawrence D'Oliveiro wrote: > In message <[EMAIL PROTECTED]>, AlbaClause wrote: > >> Then, to execute the file from from the shell prompt, I had to create a >> 'bin' directory in my home folder, cuz I didn't want to litter >> my /usr/local/bin folder with useless Python scripts. > > Executable fi

Re: Permission Denied

2006-08-20 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, AlbaClause wrote: > Then, to execute the file from from the shell prompt, I had to create a > 'bin' directory in my home folder, cuz I didn't want to litter > my /usr/local/bin folder with useless Python scripts. Executable files can be kept anywhere, you don't nee

Re: Permission Denied

2006-08-19 Thread AlbaClause
hiaips wrote: > > Tom Strickland wrote: >> Hopefully this is a simple question. I've started to program in Python >> after an absence of about a year, so I'm very rusty. I wrote a short >> program and tried to run it using Python2.4 in Linux. I keep getting >> "permission denied" messages after e

Re: Permission Denied

2006-08-19 Thread hiaips
Tom Strickland wrote: > Hopefully this is a simple question. I've started to program in Python > after an absence of about a year, so I'm very rusty. I wrote a short > program and tried to run it using Python2.4 in Linux. I keep getting > "permission denied" messages after entering the path to the

Re: permission

2005-04-13 Thread Mike Meyer
Skip Montanaro <[EMAIL PROTECTED]> writes: > James> Is it possible to check if you have permission to access and or > James> change a directory or file? > > Yes, but it's generally much easier to try, then recover from any errors: Especially since the answer to the question may change bet

Re: permission

2005-04-13 Thread Kartic
James said the following on 4/12/2005 11:00 PM: Is it possible to check if you have permission to access and or change a directory or file? James - You can use the access() in the os module. import os print os.access('C:\\', os.R_OK | os.W_OK) # check for read/write access # hopefully print True p

Re: permission

2005-04-12 Thread Skip Montanaro
James> Is it possible to check if you have permission to access and or James> change a directory or file? Yes, but it's generally much easier to try, then recover from any errors: try: f = open(somefile, "a") except IOError, msg: print "can't open", somefile, "for

Re: Permission

2004-12-17 Thread Larry Bates
The function is os.rename(old, new). If you actually tried 'os.raname' (as your post suggests) that is an illegal function. I suspect that you mistyped it in your post, but Peter's replys is correct. Always copy and paste your code and your traceback error message so it will be precise. Permisss

Re: Permission

2004-12-16 Thread Peter Hansen
-g00t©- wrote: I tried Python this weekend. I'm java coder and I was looking for handling names in os. I tried the os.raname('file.ext','nuFile.ext') and I got a Permission denied error. In the docs, it say that it should work only for UNIX, than it shouldn't work on XP (if I understood). I'm on XP