[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

Ok I have downloaded an installed via the Windows installer and the test I run 
works as expected. I also tried the embedded package without the ._pth and it 
also works according to the embedded documentation. Sorry for the confusion as 
I did not specify the embedded package from what I can tell. Thank you all for 
working with me on resolving this.

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

Steve Dower, I understand the purpose of the embedded package. The test was 
also tried by calling the python executable without modifying the path and the 
same thing happens.

i.e. %~dp0\Python_Embedded_Windows_32bit_v3.6.2\python main.py

in the zip package I provided.

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

I run the test.bat file and get the import error.

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

I have tried from 3 computers now and have been able to reproduce the issue 
with the same set of files described in my stackoverflow post. Here is a .zip 
package with all of the files I used in all 3 tests. The python package is the 
Windows 32bit embedded zip package downloaded from the Python site.

https://drive.google.com/file/d/0B0tT3_X-iMNzY2VMTkQ4X04zNWM/view?usp=sharing

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

I understand your comments. I will be at computer that has not ever had Python 
installed in about an hour and will try it there to see if I can produce an 
example showing the issue. I just found it weird that Python 3.5.2 worked just 
fine in the same environment using exactly the same steps with only the system 
path environment variable changed. That is why I filed this issue.

I will report back.

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Joey DiGiorgio

Joey DiGiorgio added the comment:

I will mark the question appropriately as python3. I don't fully understand 
your comment about venv. If you mean virtual environment or something, that is 
not the case.

I am running an a standard Windows 7 install with Python3 as the only Python 
install on my path (I used the embedded zip package).

I did print sys.path and got the value of "WorkingDir" which is what I 
expected. I am running Python 3 from within "WorkingDir" and only trying to 
import a module that is within "WorkingDir".

--

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-27 Thread Joey DiGiorgio

New submission from Joey DiGiorgio:

I am running Windows 7 and Python 3.6.2 trying to import module A from withing 
module B where both Module A and B are located in the same directory. I get the 
ModuleNotFoundError. I try the exact same setup with Python 3.5.2 and get no 
errors and I get the expected behavior.

For more details about the exact process I went through and everything I tried, 
see the StackOverflow post I made about it here: 
https://stackoverflow.com/questions/45336678/python-3-import-module-not-working-according-to-docs?noredirect=1#comment77637921_45336678

--
components: Windows
messages: 299316
nosy: MrJman006, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Import Module Not Working According To Documentation Python 3.6.2
type: crash
versions: Python 3.6

___
Python tracker 
<http://bugs.python.org/issue31056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com