panteo92 / ultra-finance

Automatically exported from code.google.com/p/ultra-finance
0 stars 0 forks source link

import errors on windows 7 #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Installed on a windows 7 machine.
2. then import ultrafinance

What is the expected output? What do you see instead?
I'm getting import errors 

What version of the product are you using? On what operating system?
1.0.1 on Windows 7 Home Premium

Please provide any additional information below.

Here is the ipython output (with the callstack)
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
Type "copyright", "credits" or "license" for more information.

IPython 0.13.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

Welcome to pylab, a matplotlib-based Python environment [backend: TkAgg].
For more information, type 'help(pylab)'.

In [1]: import ultrafinance
---------------------------------------------------------------------------
WindowsError                              Traceback (most recent call last)
<ipython-input-1-2480d69baa72> in <module>()
----> 1 import ultrafinance

C:\Python27\lib\site-packages\ultrafinance-1.0.1-py2.7.egg\ultrafinance\__init__
.py in <module>()
      7 # library paths
      8 LIB = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__fil
e__))), 'lib')
----> 9 for entry in os.listdir(LIB):
     10     filePath = os.path.join(LIB, entry)
     11     if os.path.isfile(filePath) and re.search(r".*\.(zip|egg|tar\.gz|tgz
)$", filePath):

WindowsError: [Error 3] The system cannot find the path specified: 'C:\\Python27
\\lib\\site-packages\\ultrafinance-1.0.1-py2.7.egg\\lib/*.*'

Original issue reported on code.google.com by schwar...@gmail.com on 27 Jan 2013 at 8:55

GoogleCodeExporter commented 8 years ago
Exact same issue, let me know if you find a solution

Original comment by jjtgr...@gmail.com on 3 Feb 2014 at 8:48