Closed stub68 closed 9 years ago
Are you trying to pip install or clone from github? I just cloned from github into a new directory and version.py was included and I was able to run setup.py install without trouble.
On Sun, Feb 22, 2015 at 5:05 PM, stub68 notifications@github.com wrote:
I get this error then I try to import the flopy utils in the ipython environment. I had a similar error message when trying to install flopy using the pip install command. I have tried modifying the init.py script to just bypass the version script (by assigning the version and build directly), but then I get an error that says "no module named 'modflow'", which is the next import item in the init.py script. What am I doing wrong?
— Reply to this email directly or view it on GitHub https://github.com/modflowpy/flopy/issues/16.
I can install using the windows installer, but cant now run the utils in ipython. When I import the module I get the error.
I have re-installed but get the same error as follows. Is this because I'm using python 3.4 in Anaconda?
ImportError Traceback (most recent call last)
That is the problem. FloPy works with Python 2.7. We have not upgraded to version 3.x yet. Sorry.
Christian LangevinResearch HydrologistOffice of GroundwaterU.S. Geological Survey411 National CenterReston, VA 20192Office: 703-648-4169Fax: 703-648-6693Email: langevin@usgs.gov langevin@usgs.govhttps://profile.usgs.gov/langevin https://profile.usgs.gov/langevin
On Mon, Feb 23, 2015 at 6:44 AM, stub68 notifications@github.com wrote:
I have re-installed but get the same error as follows. Is this because I'm using python 3.4 in Anaconda?
ImportError Traceback (most recent call last) in () 1 import numpy as np ----> 2 import flopy.modflow as mf
C:\Program Files\Anaconda3\lib\site-packages\flopyinit.py in () 23 name = 'flopy' 24 author = 'Mark Bakker, Vincent Post, Chris Langevin, Joe Hughes, Jeremy White, Jeff Starn, Mike Fienen, and Alain Frances' ---> 25 from version import version, build 26 27 #imports
ImportError: No module named 'version'
— Reply to this email directly or view it on GitHub https://github.com/modflowpy/flopy/issues/16#issuecomment-75528261.
I get this error then I try to import the flopy utils in the ipython environment. I had a similar error message when trying to install flopy using the pip install command. I have tried modifying the init.py script to just bypass the version script (by assigning the version and build directly), but then I get an error that says "no module named 'modflow'", which is the next import item in the init.py script. What am I doing wrong?