-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python complaining __init__.py file, Pls help #8
Comments
are you able to share how you install pyfos and details of your env? |
Hi,
I use pip to install pyfos:
pip3 install --user pyfos
My python is 3.6.6 is the version supported ?
What other information you need ?
Cindy Hu
Senior SAN Storage Admin
Office: 416-496-7215, 3337215 | Cell: 647-385-6793 | [email protected] | 2255 Sheppard Ave East , Willowdale , Ontario, M2J 4Y1
From: daniel-chung-broadcom <[email protected]>
Sent: November-20-19 10:26 AM
To: brocade/pyfos <[email protected]>
Cc: Cindy Hu <[email protected]>; Author <[email protected]>
Subject: Re: [brocade/pyfos] Python complaining __init__.py file, Pls help (#8)
CAUTION
This email originated from outside the organization. Please proceed only if you trust the sender.
…________________________________
are you able to share how you install pyfos and details of your env?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#8?email_source=notifications&email_token=ANYOC62BQH66LSOK4B43UPLQUVJJPA5CNFSM4JOZYLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESLIYQ#issuecomment-556053602>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANYOC64DVMFMQOWH6UKPBJTQUVJJPANCNFSM4JOZYLFA>.
___________________________________________________________________________
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. Si ce message vous a été transmis par erreur, veuillez en informer l'expéditeur et le supprimer immédiatement.
|
Can you please also share when you executed pip3? Also, what pyfos version do you see on your installed README? We did make some changes between 1.2.0 and 1.2.1. So, we want to clarify which version is being used. Pyfos is tested with 3.5.2. I suspect that 3.6.6 should be ok. But it is difficult confirm one way or another without proper testing. |
Pyfos 1.2.1
And I installed on Windows 2012 server. It should be ok, right?
The __init__.py file under the main directory .\pyfos is ok. It complains the syntax of __init__.py file under subdirectory. Can I just empty __init__.py file under subdirectory ? it looks like all it does is point to the __init__.py file under the main directory.
Cindy Hu
Senior SAN Storage Admin
Office: 416-496-7215, 3337215 | Cell: 647-385-6793 | [email protected] | 2255 Sheppard Ave East , Willowdale , Ontario, M2J 4Y1
From: daniel-chung-broadcom <[email protected]>
Sent: November-22-19 12:50 PM
To: brocade/pyfos <[email protected]>
Cc: Cindy Hu <[email protected]>; Author <[email protected]>
Subject: Re: [brocade/pyfos] Python complaining __init__.py file, Pls help (#8)
CAUTION
This email originated from outside the organization. Please proceed only if you trust the sender.
…________________________________
Can you please also share when you executed pip3? Also, what pyfos version do you see on your installed README? We did make some changes between 1.2.0 and 1.2.1. So, we want to clarify which version is being used.
Pyfos is tested with 3.5.2. I suspect that 3.6.6 should be ok. But it is difficult confirm one way or another without proper testing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#8?email_source=notifications&email_token=ANYOC62QFJBSKKEND57OJ7TQVALVDA5CNFSM4JOZYLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6LYMY#issuecomment-557628467>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANYOC6YKNLV4DD6QNJ36P5LQVALVDANCNFSM4JOZYLFA>.
___________________________________________________________________________
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately.
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. Si ce message vous a été transmis par erreur, veuillez en informer l'expéditeur et le supprimer immédiatement.
|
I don't personally use window env for python dev. So, I really cannot say. I followed up with some folks who does and they are not having issues with init.py when executing them. In my linux env, I don't have any issues with init.py. I guess you can try emptying out the file since the content is mostly related to version stamp. Let me know if that works ok. I'll keep you posted on what I find out here as well. |
I just installed python 3.8.0 on windows 10. I did "pip install --user pyfos". Then I python and "import pyfos.utils" and I just get a next prompt back. Is this along the line of what you are doing? |
I installed pyfos on my windows machine. whenever I try to use the modules (either run as script or import as module), Python alway complain about the init.py file.
The text was updated successfully, but these errors were encountered: