abbi031892 / periscope

Automatically exported from code.google.com/p/periscope
0 stars 0 forks source link

Building from source : ImportError: No module named version #86

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm building from source using latest tarball : 0.1.14 : 
http://code.google.com/p/periscope/downloads/detail?name=periscope-0.1.14.tar.gz
&can=2&q=

I have the following error :
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    import version
ImportError: No module named version

I looked into the code and there is no version.py in the tarball. Which is why 
the import fail.
Could you release another tarball with this bug fixed so we can at least have a 
working tarball ?

Thanks !

Original issue reported on code.google.com by DiaoulAel on 15 Apr 2011 at 8:13

GoogleCodeExporter commented 8 years ago
I had the same error. If you open setup.py and remove the 2nd line 'import 
version' and then edit line 4 (5 of the original file) from:

VERSION = version.VERSION

to

VERSION="0.1.14"

It works for me. The script is supposed to import periscope/version.py but 
somehow fails to do so.

Original comment by kay.lu...@gmail.com on 15 May 2011 at 7:36