harrison-caudill / pylink

Python Link Budget Tools
BSD 3-Clause "New" or "Revised" License
41 stars 10 forks source link

cProfile doesn't seem to work in Anaconda + Python3 #31

Closed harrison-caudill closed 5 years ago

harrison-caudill commented 5 years ago
(dev) kungfoo@tatyana ~/dev/pylink/examples $ python profile.py 

Traceback (most recent call last):
  File "profile.py", line 3, in <module>
    import cProfile
  File "/Users/kungfoo/.conda/anaconda2/envs/dev/lib/python3.7/cProfile.py", line 22, in <module>
    run.__doc__ = _pyprofile.run.__doc__
AttributeError: module 'profile' has no attribute 'run'
(dev) kungfoo@tatyana ~/dev/pylink/examples $ 
harrison-caudill commented 5 years ago

fixed in v0.4