Closed Chibuzo75 closed 3 years ago
@Chibuzo75 strange! I would expect this to happen to use as well. Maybe it's a windows problem. Could you please share the Traceback information?
And also maybe print the contents of c:\users\<MyComputerName>\pneumonia-detection\.venv\lib\site-packages\fds\__init__.py
?
I think this error might be resolved if we move __version__
into its own file version.py
.
It's a bit strange to be importing things from fds.__init__
, I don't think that's the intended use case for it.
If we do this change, it will also require changing setup.py
appropriately, since it takes that version number when deploying to PyPI.
Hi Guy, Thank you for reaching out to me. Here are the trace back calls from usin both fds init and fds add.d: they gave the same output On Wednesday, 15 September 2021, 03:13:48 GMT-4, Guy Smoilovsky @.***> wrote:
@Chibuzo75 strange! I would expect this to happen to use as well. Maybe it's a windows problem. Could you please share the Traceback information?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
@Chibuzo75 I hope this will be fixed in the next deployed version, I'll update here when it's deployed and you can test again
@Chibuzo75 Hey, it would be great if you could test it with the newly deployed 0.5.0 version or newer, I'm interested to learn whether it fixed things.
I have to say I'm also not familiar with how conda runs things on windows (or in general) with runpy.py
and how it affects things. Maybe a normal python installation would work? Can you ensure that the version of python you're getting is python 3?
@guysmoilov Yes I do have python 3.8.2. The initial error is not displaying again. Now, it's most likely my local computer issue since it shows this when I type the fds init,
FYI: Dean Pleban has assisted me in completing the Pneumonia-Detection project but without the fds init.
Thanks @deanp70 ! @Chibuzo75 well I would be happy to hear updates here if there are any, thanks!
I successfully pip installed fastds, but anytime I did fds init, it always gives this import output after displaying some Traceback information:
ImportError: cannot import name '__version__' from 'fds.__init__' < c:\users\<MyComputerName>\pneumonia-detection\.venv\lib\site-packages\fds\__init__.py>